Could not build the precompiled application for the device.
Error (Xcode): No profiles for 'com.jiniu.paymentpro' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.jiniu.paymentpro'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.
/Users/alpha/StudioProjects/flutter/payment/ios/Runner.xcodeproj
It appears that there was a problem signing your application prior to installation on the device.
Verify that the Bundle Identifier in your project is your signing id in Xcode
open ios/Runner.xcworkspace
Also try selecting 'Product > Build' to fix the problem.
Error launching application on 甘科濃的iPhone.
解決方案
這個錯誤信息表明 Xcode 無法簽名你的 Flutter 應(yīng)用,因?yàn)檎也坏脚c Bundle Identifier 匹配的 iOS 應(yīng)用開發(fā)提供配置文件。
請檢查以下步驟:
確保 Bundle Identifier 在 Flutter 項(xiàng)目中是你在 Xcode 中的簽名標(biāo)識。
可以在 Xcode 項(xiàng)目中驗(yàn)證 Bundle Identifier 是否與 Xcode 中的簽名標(biāo)識相匹配:
1.在 Xcode 中打開你的項(xiàng)目。
2.選擇項(xiàng)目文件,在左側(cè)面板中單擊 "General" 選項(xiàng)卡。
3.檢查 "Identity" 部分的 "Bundle Identifier" 字段。
4.確保這個字段與在 Flutter 項(xiàng)目中定義的 Bundle Identifier 匹配。
如果 Bundle Identifier 不匹配,請?jiān)?Flutter 項(xiàng)目中更新 Bundle Identifier 與 Xcode 中的簽名標(biāo)識相同。
打開 ios/Runner.xcworkspace,選擇 'Product > Build' 嘗試修復(fù)問題。
如果仍然無法解決,請檢查你的 Xcode 賬戶配置,確保你有一個有效的開發(fā)證書和提供配置文件。文章來源:http://www.zghlxwxcb.cn/news/detail-695911.html
如果仍然有問題,可以嘗試重新生成證書和提供配置文件,并在 Xcode 中重新配置簽名。文章來源地址http://www.zghlxwxcb.cn/news/detail-695911.html
到了這里,關(guān)于開發(fā)Flutter時點(diǎn)擊運(yùn)行時的報(bào)錯的文章就介紹完了。如果您還想了解更多內(nèi)容,請?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!