【发布时间】:2016-02-04 09:04:05
【问题描述】:
我正在尝试归档 iOS 应用程序,但它不断给我错误。该应用程序在 iOS 设备上运行时运行流畅。我的 Xcode 项目是从 Unity 4.6.7 生成的,我正在尝试在 Xcode 6.0 上构建它。 iOS 部署目标是 8.0。
以下是我遇到的错误:
架构 arm64 的未定义符号: “__storeKitDisplayStoreWithProductId”,引用自: Bulk_Assembly-CSharp-firstpass_1.o 中的 _StoreKitBinding__storeKitDisplayStoreWithProductId_m1449 (也许您的意思是: _StoreKitBinding__storeKitDisplayStoreWithProductId_m1449_MethodInfo, _StoreKitBinding__storeKitDisplayStoreWithProductId_m1449 ) “__storeKitRestoreCompletedTransactions”,引用自: Bulk_Assembly-CSharp-firstpass_1.o 中的 _StoreKitBinding__storeKitRestoreCompletedTransactions_m1445 Bulk_Assembly-CSharp-firstpass_1.o 中的 _StoreKitBinding_restoreCompletedTransactions_m1446 (也许你的意思是:_StoreKitBinding__storeKitRestoreCompletedTransactions_m1445,
到目前为止我所做的修复:
我删除了 StoreKit.framework 并通过拖放手动将其读取到 Frameworks 中。另外,我将架构设置为:
标准架构(armv7、arm64) - $(ARCHS_STANDARD)
我可能还缺少什么?
您的回复将不胜感激。谢谢!
【问题讨论】:
-
您是否在
Scripting Backend选项中选择了IL2CPP?文件 -> 构建设置 -> 播放器设置 -> 其他设置(在 IOS 中)-> 配置(在 Unity 中) -
是的。这是脚本后端的当前设置。
-
您找到解决方案了吗?怎么固定?