开发者

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:

  1. installing the Xcode command line tools (Xcode Preferences -> Downloads -> Components -> Command Line Tools -> Install)
  2. Recreating the Phonegap project
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜