tencentyun / qcloud-sdk-ios

腾讯云服务iOS终端SDK
http://qcloud.com
38 stars 26 forks source link

腾讯云和腾讯地图sdk引用相同文件冲突 #50

Closed bingolib closed 9 months ago

bingolib commented 2 years ago

为了帮助我们更好的解决您的问题,请您先回答下面的几个问题。

duplicate symbol '_qimeiClassMethodRecord' in: /Users/ll/Desktop/llr-ios/Pods/Tencent-MapSDK/sdk/QMapFoundationKit.framework/QMapFoundationKit(QimeiUtil.o) /Users/ll/Desktop/llr-ios/Pods/QCloudCore/QCloudCore/Classes/BeaconFramework/QimeiSDK.framework/QimeiSDK(QimeiUtil.o) duplicate symbol '_qimeiAddClassOriginMethod' in: /Users/ll/Desktop/llr-ios/Pods/Tencent-MapSDK/sdk/QMapFoundationKit.framework/QMapFoundationKit(QimeiUtil.o) /Users/ll/Desktop/llr-ios/Pods/QCloudCore/QCloudCore/Classes/BeaconFramework/QimeiSDK.framework/QimeiSDK(QimeiUtil.o) duplicate symbol '_qimeiCheckClassMethodHasReplaced' in: /Users/ll/Desktop/llr-ios/Pods/Tencent-MapSDK/sdk/QMapFoundationKit.framework/QMapFoundationKit(QimeiUtil.o) /Users/ll/Desktop/llr-ios/Pods/QCloudCore/QCloudCore/Classes/BeaconFramework/QimeiSDK.framework/QimeiSDK(QimeiUtil.o) duplicate symbol '_QimeiCloudSettingKeyConifgVersion' in: /Users/ll/Desktop/llr-ios/Pods/Tencent-MapSDK/sdk/QMapFoundationKit.framework/QMapFoundationKit(QimeiCloudSetting.o) /Users/ll/Desktop/llr-ios/Pods/QCloudCore/QCloudCore/Classes/BeaconFramework/QimeiSDK.framework/QimeiSDK(QimeiCloudSetting.o) duplicate symbol '_QimeiStorageKeyIdfv' in: /Users/ll/Desktop/llr-ios/Pods/Tencent-MapSDK/sdk/QMapFoundationKit.framework/QMapFoundationKit(QimeiStorage.o) /Users/ll/Desktop/llr-ios/Pods/QCloudCore/QCloudCore/Classes/BeaconFramework/QimeiSDK.framework/QimeiSDK(QimeiStorage.o) duplicate symbol '_QimeiStorageKeyQimeiJson' in: /Users/ll/Desktop/llr-ios/Pods/Tencent-MapSDK/sdk/QMapFoundationKit.framework/QMapFoundationKit(QimeiStorage.o) /Users/ll/Desktop/llr-ios/Pods/QCloudCore/QCloudCore/Classes/BeaconFramework/QimeiSDK.framework/QimeiSDK(QimeiStorage.o) ld: 6 duplicate symbols for architecture arm64

wangbo1185742894 commented 2 years ago

可以使用精简版sdk,来剔除qimei。具体方式:若是pod方式集成sdk,可以使用 pod 'QCloudCOSXML/Slim' 。若是直接依赖的framework,可以吧qimei、beacon 两个sdk删除。

bingolib commented 2 years ago

可以使用专业版dk,来剔除qimei。具体方式:除pod方式集成sdk,可以使用pod 'QCloudCOSXML/Slim'。如果直接依赖的框架,可以去除qimei、beacon两个sdk。

感谢。替换为精简版已解决此问题。