我正試圖在我的iPhone應用程序中使用libWeChatSDK.a
庫,並且它在iPhone 5上的工作方式應該如此。但是我遇到了最新的iPhone問題,看來這個庫不支持arm64
architecture
。arm64上的WeChat SDK
我得到的錯誤是:
ld: warning: ignoring file .../libWeChatSDK.a, missing required architecture arm64 in file .../libWeChatSDK.a (3 slices)
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_SendMessageToWXReq", referenced from:
objc-class-ref in WeChatCustomActivity.o
"_OBJC_CLASS_$_WXApi", referenced from:
objc-class-ref in WeChatCustomActivity.o
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
你知道,如果有某種變通辦法針對此問題?
讓WeChat SDK在Swift項目中工作:http://stackoverflow.com/a/35862318/ – Suragch