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.54k stars 2.77k forks source link

【iOS】-【7.9.5666】- 【pod install 后输出 Can't merge user_target_xcconfig】 #1398

Open srv7 opened 1 month ago

srv7 commented 1 month ago
image image

移除 xcconfig 配置

Tencent-Alice commented 1 month ago

嗨,你参考的文档可以发下看下哈,技术问题 欢迎交流 Q2562367495 注明来意

srv7 commented 1 month ago

https://github.com/TencentCloud/TIMSDK/blob/0777b02773c1bb4e6ace028b51df7f3ef739f05b/iOS/Podspec/TUIChat.podspec#L15

在 iOS/Podspec/TUIChat.podspec 中,在 xcconfig 中设置了 VALID_ARCHS 字段。在 WechatOpenSDK-XCFramework 的 podspec 中也设置了 xcconfig.VALID_ARCHS. https://github.com/CocoaPods/Specs/blob/d13381c3da8438e7fb663637f7712a91c91a261a/Specs/9/7/f/WechatOpenSDK-XCFramework/2.0.4/WechatOpenSDK-XCFramework.podspec.json#L38

在 pod install 之后造成 cocoapods 无法 merge user_target_xcconfig。

image
srv7 commented 1 month ago

希望能修改下设置,移除 VALID_ARCHS, 避免 pod install 后的警告