Folks, Sorry to be kind of spammy here, but I compared the build log from my 4.3.3 and 4.4.1 builds. I see that the 4.3.3 has output that talks about compiling the storyboard file, but 4.4.1 has output that talks only about copying the storyboard. I'm looking at the inspector and target membership in both projects for the storyboard file, and I cannot see any differences. I've poked around the Target settings including the Build Rules, and I can find no inconsistencies/differences there either. I'm not finding anything on the web that sheds any light either. If anyone knows how xcode decides to compile a storyboard, maybe I can see if my project is missing a setting somewhere.
Regards, Paul On Aug 13, 2012, at 5:10 PM, Paul Summermatter wrote: Phil,
Thanks very much for your response. I'm not sure if you saw in my original e-mail, but I showed the output from an ls -l that indicates the files are where I believe they should be in the compiled HelloWorld.app directory. I decided to do an ls on my work machine that's running 4.3.3 to see what the output looked like, and I see something different. I'm new to this whole storyboard approach, but what I see is that the name of the file inside of HelloWorld.app/en.lproj is MainStoryboard.storyboardc Note the letter c on the end of that file name. After seeing that, I thought, what the heck, I'll rename the file on my home machine inside HelloWorld.app/en.lproj and see what happens. Lo and behold, the app launches without an error. Since this is just the shell of an app where I've made ZERO changes after using the new project wizard, I have to think there is something flaky going on with Xcode 4.4.1. If anyone knows anything more about this storyboard vs storyboardc extension issue and/or whether there is a workaround that doesn't involve my renaming the storyboard files after every build, please let me know. I'm guessing the c suffix stands for compiled, but I have no idea why, if a compiled story board needs to be in the .app folder, Xcode wouldn't be creating that file.
Regards, Paul On Aug 13, 2012, at 3:58 PM, Phillip Mills wrote: On 2012-08-13, at 2:52 PM, Paul Summermatter < email@hidden> wrote: Could not find a storyboard named 'MainStoryboard' in bundle NSBundle </Users/paulrs/Library/Application Support/iPhone Simulator/5.1/Applications/747BB897-CCB9-4B1B-999E-E6DDB2A67A5F/HelloWorld.app>
Any chance that the storyboard is somehow not being included in the Copy Resources phase of the app's Build Phases for the target?
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
|