projectGenerator icon indicating copy to clipboard operation
projectGenerator copied to clipboard

iosStoryboardExample "Could not find a storyboard"

Open ofZach opened this issue 9 years ago • 3 comments

via @kylemcdonald

The iosStoryboardExample fails to run. This is an old bug mentioned by @NickHardeman in this comment #1829 (comment) which @julapy says had "something to do with the way PG adds storyboards and xibs to xcode projects". I couldn't find an issue tracking this problem so I thought I'd contribute one.

https://github.com/openframeworks/openFrameworks/issues/5379

ofZach avatar Dec 03 '16 10:12 ofZach

it would be helpful to know what the difference between a non working and working project is which can take some detective work, sometimes it can be as simple as opening up the right sidebar and seeing if the target is wrong or something else more complicated. I'll try to take a look.

ofZach avatar Dec 03 '16 10:12 ofZach

some points of interest to check out:

https://github.com/openframeworks/projectGenerator/blob/master/ofxProjectGenerator/src/projects/xcodeProject.cpp#L737-L741

https://github.com/openframeworks/projectGenerator/blob/master/ofxProjectGenerator/src/projects/xcodeProject.cpp#L780-L783

https://github.com/openframeworks/projectGenerator/blob/master/ofxProjectGenerator/src/projects/xcodeProject.cpp#L91-L111

ofZach avatar Dec 03 '16 10:12 ofZach

missing target membership is the one thing.

in the same panel: the file type is set to "data" for some reason, it should be just "default". (i noticed because the storyboard file doesn't open, it shows just the icon as long as the file type is set wrong)

kritzikratzi avatar Dec 03 '16 10:12 kritzikratzi