當我嘗試從 Android Studio 在我的設備上運行該應用程式時,最終出現以下錯誤:(請注意我的個人資料中已設定開發團隊)
> Could not build the precompiled application for the device.
> ════════════════════════════════════════════════════════════════════════════════
> Building a deployable iOS app requires a selected Development Team
> with a Provisioning Profile. Please ensure that a Development Team is
> selected by: 1- Open the Flutter project's Xcode target with
> open ios/Runner.xcworkspace 2- Select the 'Runner' project in the navigator then the 'Runner' target
> in the project settings 3- Make sure a 'Development Team' is selected under Signing & Capabilities > Team.
> You may need to:
> - Log in with your Apple ID in Xcode first
> - Ensure you have a valid unique Bundle ID
> - Register your device with your Apple Developer Account
> - Let Xcode automatically provision a profile for your app 4- Build or run your project again
>
> For more information, please visit:
> https://flutter.dev/docs/get-started/install/macos#deploy-to-ios-devices
>
> Or run on an iOS simulator without code signing
> ════════════════════════════════════════════════════════════════════════════════
>
> Error launching application on DMan.
然后我打開我的 iOS 作業區,并檢查我的“簽名和功能”。我在那里設定了以下所有內容:

然后我嘗試通過作業區本身在手機上運行該應用程式,方法是按下左上角的播放按鈕。我收到以下錯誤:

然后我按照建議重新啟動了計算機,但問題仍然存在。
我正在使用:Android Studio:Chipmunk 2021.2.1 Patch 1 X-Code:13.2.1 iOS 版本:15.5
uj5u.com熱心網友回復:
Xcode 13.2.1 將不支持高于 15.2 的 iOS 版本這是此問題的原因更新 Xcode 到最新版本以使用 iOS 15.5
uj5u.com熱心網友回復:


轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/488282.html
