[MOD-2338] iOS: Ti.StoreKit 4.1.0 cannot compile with Xcode < 8.3
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-05-28T20:32:38.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Ti.StoreKit 4.1.1 |
Components | StoreKit |
Labels | n/a |
Reporter | Ryan Malone |
Assignee | Hans Knöchel |
Created | 2017-05-23T23:38:23.000+0000 |
Updated | 2018-08-06T17:49:38.000+0000 |
Description
Hi guys.
While trying to build this in appcelerator studio... sdk 5.5.1 GA.... ios sdk 10.2
I get the following error:
Undefined symbols for architecture arm64:
[TRACE] : "_OBJC_CLASS_$_SKStoreReviewController", referenced from:
[TRACE] : objc-class-ref in libti.storekit.a(TiStoreKitModule.o)
[TRACE] : "_OBJC_CLASS_$_SKCloudServiceSetupViewController", referenced from:
[TRACE] : objc-class-ref in libti.storekit.a(TiStoreKitModule.o)
[TRACE] : ld: symbol(s) not found for architecture arm64
[TRACE] : clang: error: linker command failed with exit code 1 (use -v to see invocation)
[ERROR] : ** BUILD FAILED **
[ERROR] : The following build commands failed:
[ERROR] : Ld build/Intermediates/iZapp.build/Debug-iphoneos/iZapp.build/Objects-normal/arm64/iZapp normal arm64
[ERROR] : (1 failure)
It was building fine until a month ago and I cant see any changes to configuration so this one has really stumped me
Hey guys Do you know how long it usually takes an issue with to get into the system? Just so I can manage client expectations
[~rmalone] The API is Xcode 8.3 / iOS 10.3+ only. Please try with Xcode 8.3 again.
I still prepared a patch, so you can also use the module with Xcode < 8.3. PR: https://github.com/appcelerator-modules/ti.storekit/pull/31 New Release: https://github.com/appcelerator-modules/ti.storekit/releases/tag/v4.1.1
Hi hans, thanks for that... it still doesnt work unfortunatly... this is the error now Undefined symbols for architecture arm64: [TRACE] : "_OBJC_CLASS_$_SKStoreReviewController", referenced from: [TRACE] : objc-class-ref in libti.storekit.a(TiStoreKitModule.o) [TRACE] : ld: symbol(s) not found for architecture arm64 [TRACE] : clang: error: linker command failed with exit code 1 (use -v to see invocation) [ERROR] : ** BUILD FAILED ** [ERROR] : The following build commands failed: [ERROR] : Ld build/Intermediates/iZapp.build/Debug-iphoneos/iZapp.build/Objects-normal/arm64/iZapp normal arm64 [ERROR] : (1 failure)
Cleaning up older fixed issues. If this issue should not have been closed as fixed, please reopen.