gpt4 book ai didi

android - Flutter 应用程序 - 无法在真实设备上进行测试! X-Code 版本有问题

转载 作者:行者123 更新时间:2023-12-05 00:01:49 25 4
gpt4 key购买 nike

当我尝试从 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 工作区,并检查我的“签名和功能”。我在那里设置了以下所有内容:
enter image description here
然后我尝试通过工作区本身在手机上运行该应用程序,方法是按下左上角的播放按钮。我收到以下错误:
enter image description here
然后我按照建议重新启动了计算机,但问题仍然存在。
我在用:
Android Studio:Chipmunk 2021.2.1 补丁 1
X 代码:13.2.1
iOS版本:15.5

最佳答案

Xcode 13.2.1 将不支持高于 15.2 的 iOS 版本这是此问题的原因更新 Xcode 到最新版本以使用 iOS 15.5

关于android - Flutter 应用程序 - 无法在真实设备上进行测试! X-Code 版本有问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/72517183/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com