Ios 使用Xcode 6.1和unity 4.6的Apple Mach-O链接器错误
正在尝试在Ios 使用Xcode 6.1和unity 4.6的Apple Mach-O链接器错误,ios,unity3d,xcode6.1,Ios,Unity3d,Xcode6.1,正在尝试在Xcode中构建unity项目。它给了我这个错误。我想不出来。我使用的是unity 4.6和Xcode 6.1 Undefined symbols for architecture armv7: "UnityGetGLViewController()", referenced from: +[GameCenterManager showViewControllerModallyInWrapper:] in libGameCenterPlugin.a(GameCenter
Xcode
中构建unity项目。它给了我这个错误。我想不出来。我使用的是unity 4.6和Xcode 6.1
Undefined symbols for architecture armv7:
"UnityGetGLViewController()", referenced from:
+[GameCenterManager showViewControllerModallyInWrapper:] in libGameCenterPlugin.a(GameCenterManager.o)
+[GameCenterManager dismissWrappedController:] in libGameCenterPlugin.a(GameCenterManager.o)
+[GameCenterManager unityViewController] in libGameCenterPlugin.a(GameCenterManager.o)
-[StoreKitManager displayStoreWithProductId:] in libStoreKit.a(StoreKitManager.o)
___45-[StoreKitManager displayStoreWithProductId:]_block_invoke in libStoreKit.a(StoreKitManager.o)
-[StoreKitManager productViewControllerDidFinish:] in libStoreKit.a(StoreKitManager.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
打开正确目标的生成阶段,展开编译源并添加
UnityGetGLViewController.m
文件。转到“生成阶段”选项卡,然后转到编译源,确保将类拖动到列表中尝试清理项目并运行。首先删除派生数据并清理项目,然后运行该操作。生成失败,因此没有派生数据。我在项目中缺少该文件。插件可能有问题吗?