xcode,在模拟器上启动是可以的,但无法存档

时间:2013-02-22 21:35:02

标签: ios iphone xcode homebrew .a

我是Xcode的新手。

我在旧的(iOS 3.2)xcode游戏项目中添加了一些功能。在我触及之前,这段代码从未接触过一年多。 它工作正常,直到我尝试制作.iap文件。它运行正常,我的所有更改都没有出错。 所以我从iPhone 6.0模拟器改变了目标设备 - > iOS设备,并尝试过存档。不幸的是,它产生了许多错误:

ld: warning: ignoring file lib/libegn_neutron_http_Release_iphoneos.a, file was built for archive which is not the architecture being linked (armv7): lib/libegn_neutron_http_Release_iphoneos.a
Undefined symbols for architecture armv7:
  "_EGN_setPollingInMenu", referenced from:
      ExitGamesCreateSession(sLibraryData*) in exitgames.o
  "_EGN_Neutron_New", referenced from:
      ExitGamesInit(sLibraryData*) in exitgames.o
  "_EGN_setServerUrl", referenced from:
      ExitGamesCreateSession(sLibraryData*) in exitgames.o

......类似的34个错误仍在继续

  "_EGN_NeutronCls_Release", referenced from:
      ExitGamesShutDown(sLibraryData*) in exitgames.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

该项目使用一些支持社交功能的“exitgames”库。 此项目还有一些“Brew”c ++代码的包装部分。 我不知道哪个部分有问题。试图找出并搜索了一整天,但仍无法得到线索。

有人可以给我一个建议吗? 谢谢。

1 个答案:

答案 0 :(得分:1)

尝试从命令行运行lipo -info exitgames.a,它应该告诉你框架支持哪些架构。