Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 09-04-2010, 05:41 PM   #1 (permalink)
Registered Member
 
Join Date: May 2010
Location: London
Posts: 33
david77 is on a distinguished road
Default Weird XIB \ Provisioning issue

Hi,

Experiencing a very weird issue here and I cant for the life of me work it out.

All was going well, I had finished my application, tested thoroughly in the Simulator, and then provisioned my device with a developer certificate to allow me to test the app on the device. All was fine up till I did this -

I created a new Distribution profile. I also created a NEW app id, which i assigned to the new Distribution profile. I downloaded this profile, added it to xCode. Then, I duplicated a Release build and called it Distribution. I then build my app under the Distribution config and all built ok. I couldnt run the distribution version on the device, but I believe this is correct behaviour?

So, I proceeded to add my new app... it informs me the name is already taken... so, I update the main XIB of my app, and change the title on the main screen navigation bar to be my new app name... so it went from.. 'My App' to 'My X App'

I thought i should test this on the device and simulator, so I switch the config build back to Debug, and change the provisioning profile back to the developer one in the Project settings..

Now, when I run the app, it picks up the old name in the nav bar (just for a second), then it switches to the new app name?????

Have tried 'Clean all targets', deleting application, configuring Developer and Distribution profiles to use same app id etc.. but, it still wants to pick up the OLD XIB nav bar title.. even tho the current XIB nav bar has clearly changed??

Its almost like its caching the old XIB design somewhere? Or perhaps, running two instances in some weird way , like running the old version of my app and the new version??

Really weird.. anyone else experienced this? Any ideas on how I might remedy it?

Hope that makes some sense...

David
david77 is offline   Reply With Quote
Old 09-04-2010, 07:24 PM   #2 (permalink)
Use [code] tags please
 
Join Date: Jun 2009
Location: Jacksonville, FL
Posts: 410
timle8n1 is on a distinguished road
Default

Did you update Default.png?
timle8n1 is offline   Reply With Quote
Old 09-05-2010, 03:28 AM   #3 (permalink)
Registered Member
 
Join Date: May 2010
Location: London
Posts: 33
david77 is on a distinguished road
Default

you, mr timle8n1, are a genius!

That was it! Would you believe I was tearing my hair out over that for 4 hours last night, I went to bed feeling sorry for myself.. but, today I awake and the answer is there!

I think, when I was creating screenshots for my app, it saved the first one as the Default.png, and it was since then using it when it initially loaded the app. I noticed that before, when running on the device, the screen was just black for a few seconds, before showing my apps initial view. So I gather the Default.png is used like a splash screen when initially loading?

As you can see I am still learning as I go..

I wonder, is it wise to always include a Default.png? And can this essentially be any png image? (obviously of the correct size). Or is it wise just to use the initial app view as Default.png?

Thanks again,
Much happier now :]
david77 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 344
11 members and 333 guests
bignoggins, carlandrews, flamingliquid, hzwegjxg, ilmman, iram91419, linkmx, nadav@webtview.com, Objective Zero, stanny, v1n2e7t
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,656
Threads: 94,116
Posts: 402,889
Top Poster: BrianSlick (7,990)
Welcome to our newest member, iram91419
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 11:47 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0