I was trying to use libWeChatSDK.a
library in my iPhone application and on iPhone 5 it works as it should. However I encountered problems with the newest iPhone, it seems that this library does not support arm64
architecture
.
The error I've got is the following:
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)
Do you know if there are some kind of workarounds for this problem?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…