TencentCloud/TIMSDK

iOS最新版demo编译报错

wv-y opened this issue · 1 comments

wv-y commented

下载最新版demo,pod install 时提示:
[!] CocoaPods could not find compatible versions for pod "TXIMSDK_Plus_iOS": In snapshot (Podfile.lock): TXIMSDK_Plus_iOS (= 6.5.2816) In Podfile: TUIOfflinePush (= 7.1.3925) was resolved to 7.1.3925, which depends on TUIOfflinePush/APNS (= 7.1.3925) was resolved to 7.1.3925, which depends on TUIOfflinePush/Base (= 7.1.3925) was resolved to 7.1.3925, which depends on TXIMSDK_Plus_iOS (= 7.1.3925) Specs satisfying the TXIMSDK_Plus_iOS (= 6.5.2816), TXIMSDK_Plus_iOS (= 7.1.3925) dependency were found, but they required a higher minimum deployment target

然后将Podfile.lock 文件删除,再执行pod install,此时没有报错了

接着运行项目报错:
/Users/user/Downloads/TIMSDK/iOS/Demo/Pods/TXIMSDK_Plus_iOS/ImSDK_Plus.framework/ImSDK_Plus' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. file '/Users/user/Downloads/TIMSDK/iOS/Demo/Pods/TXIMSDK_Plus_iOS/ImSDK_Plus.framework/ImSDK_Plus' for architecture arm64

但是bitcode 设置为NO了
image

wv-y commented

将pod里的TUI开头 的bidtcode都关闭就没问题了;