iphone - How to run an app after running an xcode clean and clean build folder where the app now crashes -
i'm trying run app after running xcode clean , clean build folder , i'm getting error , crash:
fyi: there file called detailviewcontroller
deleted because didn't need anymore. it's after running clean , clean build folder crash has been occurring.
terminating app due uncaught exception 'nsinternalinconsistencyexception', reason: 'could not load nib in bundle: 'nsbundle </users/username/library/application support/iphone simulator/6.1/applications/4e0db510-4107-4f8d-a08c-ecfddb1db506/1000 appname.app> (loaded)' name 'detailviewcontroller'
i tried deleting contents of /users/username/library/application support/iphone simulator/6.1/applications/ remove apps on simulator.
i reset simulator. closed , re-ran program still getting error.
thanks help
first, files cached 'clean build folder', simulator. files (especially derived nibs , images) can left have been deleted in project.
- command-option-shift-k clean out build folder.
- quit xcode , clean out ~/library/developer/xcode/deriveddata manually.
- in simulator, choose ios simulator > reset content , settings.
now if fails, because code working because of over-cached build files. if case, check rootviewcontroller pointing.
Comments
Post a Comment