Closed y2kbug closed 3 years ago
工程中引入了Bugly、JPush、UMCommon等一些第三方库的时候编译二进制的时候发生了一些相同的错误
[!] Bugly.podspec 带有 vendored_frameworks 字段,请检查是否有效!!! [!] JVerification.podspec 带有 vendored_frameworks 字段,请检查是否有效!!! [!] QuCore-ThirdParty.podspec 带有 vendored_frameworks 字段,请检查是否有效!!! [!] VODUpload.podspec 带有 vendored_frameworks 字段,请检查是否有效!!! [!] 【JPush | 3.2.1】组件二进制版本编译失败 . [!] 【third_binary | 1.0.0】组件spec push失败 . [!] 【AlivcConan | 1.0.4】组件spec push失败 . [!] 【JCore | 2.4.0】组件spec push失败 . [!] 【UMCCommon | 7.1.3】组件spec push失败 .
其中以Bugly为例对应的podSpec如下
{ "name": "Bugly", "authors": { "Tencent": "bugly@tencent.com" }, "version": "2.5.71", "summary": "Bugly iOS SDK", "description": "iOS library for Bugly Crash Report Service. Sign up for a service at https://bugly.qq.com.", "homepage": "http://bugly.qq.com/", "license": { "type": "Copyright", "text": " Copyright (C) 2017 Tencent Bugly, Inc. All rights reserved.\n" }, "source": { "http": "https://buglycocoapodscrashsdk-75649.gzc.vod.tencent-cloud.com/Bugly-2.5.71.zip" }, "requires_arc": true, "platforms": { "ios": "7.0" }, "vendored_frameworks": "Bugly.framework", "frameworks": [ "SystemConfiguration", "Security" ], "libraries": [ "z", "c++" ] }
这些库本身就是二进制库了,需要在BinArchive.json中,加入到白名单
工程中引入了Bugly、JPush、UMCommon等一些第三方库的时候编译二进制的时候发生了一些相同的错误
其中以Bugly为例对应的podSpec如下