簡體   English   中英

升級到XCode 8后,Appcelerator IOS App將不會鏈接

[英]Appcelerator IOS App will not link after upgrade to XCode 8

我已經將Appcelerator Studio升級到Appcelerator Studio,版本:4.8.1.201612050850,並將Xcode升級到8.2.1,並有一個針對SDK 6.0.1的應用程序。 升級之前,我的項目運行良好,但現在無法在連接的IOS設備上運行。 當我運行設備時,在Appcelerator控制台中收到以下錯誤

[INFO] :   Invoking xcodebuild
[ERROR] :  ** BUILD FAILED **
[ERROR] :  The following build commands failed:
[ERROR] :   Ld build/Intermediates/Stackfish.build/Debug-iphoneos/Stackfish.build/Objects-normal/arm64/Stackfish normal arm64
[ERROR] :  (1 failure)

當我在Xcode中打開項目時,可以看到鏈接存在問題。 這是Xcode錯誤:

Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_TiMediaItem", referenced from:
  objc-class-ref in    libcom.furthergone.mediapicker.a(ComFurtherGoneMediaPickerModule.o)
  ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

這是我模塊的Titan.xconfig

 TITANIUM_SDK_VERSION = 6.0.1.GA
 TITANIUM_SDK = /Users/jimbrazil/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA
 TITANIUM_BASE_SDK = "$(TITANIUM_SDK)/iphone/include"
 TITANIUM_BASE_SDK2 = "$(TITANIUM_SDK)/iphone/include/TiCore"
 TITANIUM_BASE_SDK3 = "$(TITANIUM_SDK)/iphone/include/JavaScriptCore"
 HEADER_SEARCH_PATHS= $(TITANIUM_BASE_SDK) $(TITANIUM_BASE_SDK2)    $(TITANIUM_BASE_SDK3)

我不是Xcode開發人員,也無法弄清楚為什么我的應用程序不再鏈接。 有誰知道這里的問題是什么?

謝謝

好的,看來appcelerator更改了一些規則。 我需要添加

 #ifndef USE_TI_MEDIAQUERYMUSICLIBRARY
 #define USE_TI_MEDIAQUERYMUSICLIBRARY
 #endif

在我的module.xconfig中以在Media類中進行編譯

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM