projectGeneratorSimple
projectGeneratorSimple copied to clipboard
Xcode: Frameworks not added to "link binary with libraries"
I'm seeing an issue where frameworks I've specified via ADDON_FRAMEWORKS in addon_config.mk are added to the project but not to the "Link binary with libraries" build phase.
Replicate:
- clone ofxCoreLocation into addons
- create project with the PG using this addon
- open project: frameworks are in the sidebar, but not in the "Link binary..." build phase (and thus won't compile)
Wish this came with a PR, but couldn't find my way through Xcode XML craziness... And apologies in advance if I'm just missing something in addon_config!
thanks for the detailed bug report, I've fixed this now (it was missing the build phases, as you pointed out). It's not 100% clean to put any old framework in "system" frameworks folder so it might be good to make an addons frameworks folder down the line.
Awesome! Yes makes sense. The one I'm using is just an OS X framework; I think I'm linking it the same way OF does but I may be wrong. Would be good to test with ofxSyphon or something else that includes its own framework.
Thanks for the fix, super useful.