ios - How to avoid old xib cache on released iphone apps? -


i'm developing first iphone app.

1 day, renamed files including xib file , view controller.
after that, app began use old xib file.

deleted xib file, old xib still used.
code init view controller was:

myviewcontroller *vc = [[myviewcontroller alloc] init]; 

i modified code to:

myviewcontroller *vc = [[myviewcontroller alloc] initwithnibname:@"myviewcontroller" bundle:nil]; 

then app used new xib instead of old xib.

the question is, possible old xib files displayed not on developing apps on released apps reasons?

can avoid old nix caching on released apps if use initwithnibname: instead of init?

i think need remove files in deriveddata. i've been through sort of thing. if you're using simulator, i'd reset simulator or delete files.

paths:

/users/yourname/library/developer/xcode/deriveddata

/users/yourname/library/application support/iphone simulator

you fussy, delete deriveddata directory when having trouble. xcode rebuild them in less time takes worry problem. in iphonesimulator, can find app , delete directory if choose.


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -