TencentCloud / TIMSDK

Tencent Cloud Chat features a comprehensive suite of solutions including global access, one-to-one chat, group chat, message push, profile and relationship chain hosting, and account authentication.
https://trtc.io/products/chat
2.57k stars 2.76k forks source link

iOS最新版demo编译报错 #1330

Closed wv-y closed 1 year ago

wv-y commented 1 year ago

下载最新版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 theTXIMSDK_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 1 year ago

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