weex打包ios的時(shí)候報(bào)錯(cuò)weex build ios報(bào)錯(cuò)如下:15:22:35 : Command failed: pod update15:22:35 : You should config `CodeSign` and `Profile` in the `ios.config.json`
We suggest that you open the `platform/ios` directory. Package your project as a normal ios project!百度了一下,說需要在ios.config.json文件中配置CodeSign和Profile,可怎么配置?另外,其中‘We suggest that you open the platform/ios directory.’這是怎么個(gè)意思,啥操作?各位大佬有曉得的不,在線等!
2 回答

慕斯王
TA貢獻(xiàn)1864條經(jīng)驗(yàn) 獲得超2個(gè)贊
這其實(shí)就是weex的坑,前端同學(xué)只知道weex build ios
。 然而 ios打包的前提需要配置pod庫的第三方依賴,還有蘋果開發(fā)者賬號(hào)的證書簽名。你想解決這個(gè)問題,只有下載xcode

ibeautiful
TA貢獻(xiàn)1993條經(jīng)驗(yàn) 獲得超6個(gè)贊
.xcode選中這個(gè)選項(xiàng)
檢查是否安裝cocoapods
。沒有安裝自行百度
.終端cd到ios項(xiàng)目,確保項(xiàng)目目錄里podfile
文件存在,然后運(yùn)行pod install
或者pod update
再次執(zhí)行weex build ios
添加回答
舉報(bào)
0/150
提交
取消