I am trying to archive an iOS app but it keeps on giving me errors. The app runs smoothly when played in an iOS device. My Xcode project is generated from Unity 4.6.7, and I'm trying to build it on Xcode 6.0. The iOS deployment target is 8.0.
Here are the errors I encountered:
Undefined symbols for architecture arm64: "__storeKitDisplayStoreWithProductId", referenced from: _StoreKitBinding__storeKitDisplayStoreWithProductId_m1449 in Bulk_Assembly-CSharp-firstpass_1.o (maybe you meant: _StoreKitBinding__storeKitDisplayStoreWithProductId_m1449_MethodInfo, _StoreKitBinding__storeKitDisplayStoreWithProductId_m1449 ) "__storeKitRestoreCompletedTransactions", referenced from: _StoreKitBinding__storeKitRestoreCompletedTransactions_m1445 in Bulk_Assembly-CSharp-firstpass_1.o _StoreKitBinding_restoreCompletedTransactions_m1446 in Bulk_Assembly-CSharp-firstpass_1.o (maybe you meant: _StoreKitBinding__storeKitRestoreCompletedTransactions_m1445,
Fix I made so far:
I removed StoreKit.framework and manually readded it to Frameworks by dragging and dropping. Also, I set the architecture to this:
Standard architectures(armv7, arm64) - $(ARCHS_STANDARD)
What else am i possibly missing?
Your response will be appreciated. Thank you!
Scripting Backendoption? File -> Build Settings -> Player Settings -> Other Settings (in IOS) -> Configuration (in Unity) - Hamza Hasan