Titanium JIRA Archive
Appcelerator Modules (MOD)

[MOD-2338] iOS: Ti.StoreKit 4.1.0 cannot compile with Xcode < 8.3

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2017-05-28T20:32:38.000+0000
Affected Version/sn/a
Fix Version/sTi.StoreKit 4.1.1
ComponentsStoreKit
Labelsn/a
ReporterRyan Malone
AssigneeHans Knöchel
Created2017-05-23T23:38:23.000+0000
Updated2018-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

Comments

  1. Ryan Malone 2017-05-28

    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
  2. Hans Knöchel 2017-05-28

    [~rmalone] The API is Xcode 8.3 / iOS 10.3+ only. Please try with Xcode 8.3 again.
  3. Hans Knöchel 2017-05-28

    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
  4. Ryan Malone 2017-06-07

    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)
  5. Eric Merriman 2018-08-06

    Cleaning up older fixed issues. If this issue should not have been closed as fixed, please reopen.

JSON Source