Getting Apple Mach-O Linker Error trying when trying to build archive
I got this error when trying to Archive for distribution.
My app builds fine when running on my phone or the simulator.
I've narrowed it down to the Build Locations under my Kal libraries Build Settings. The pre-configuration Build Product Paths only has my two o开发者_运维百科riginal configurations: Debug and Release. However, my RestKit library automatically added my Distribution configuration.
Could that be why it is not archiving? It does not have my configuration? How do I add my configuration to the library?
Thanks!
Create a configuration with the same name in the library (duplicate from Release).
For me the issue was solved by:
- installing the Xcode command line tools (Xcode Preferences -> Downloads -> Components -> Command Line Tools -> Install)
- Recreating the Phonegap project
精彩评论