tapouillo / BMGlyphLabel

BMGlyphLabel and BMGlyphFont class for iOS7 Sprite Kit
MIT License
31 stars 8 forks source link

Sample project requires fiddling to run #3

Closed nicholascross closed 10 years ago

nicholascross commented 10 years ago

I had to remove and re-add the storyboards to the project before I could run the sample app.

I didn't check myself but maybe they were added with a system dependant path or not correctly added to Bundle Resources.

xinsight commented 10 years ago

I'm not seeing this problem. (Xcode 5.0)

The Storyboards are just the default ones when you create a new SpriteKit project - so I don't think there's much in there to break. ;)

nicholascross commented 10 years ago

I just downloaded the source on to my work machine and run it with exactly the same error occurring.

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Could not find a storyboard named 'Main_iPhone' in bundle

The same thing happens for the iPad storyboard.

If you go to "Build Phases" > "Copy Bundle Resources" and add the storyboards it will start working.

xinsight commented 10 years ago

Thanks for the additional details. Yes, you're right, the storyboards weren't added to the target.

@tapouillo: It's a simple fix. See: https://github.com/tapouillo/BMGlyphLabel/pull/4

nicholascross commented 10 years ago

Tested - this is all fixed! Everything works for iPad and iPhone without additional changes.