首页 > 解决方案 > 无法在我的手机上尝试应用程序的 vs 代码上构建 iOS 应用程序

问题描述

我有这样的错误 https://share.getcloudapp.com/yAurZ0gl (错误:注意:使用新的构建系统注意:并行构建目标注意:规划构建注意:分析工作区注意:构建构建描述说明:构建准备完成错误:“Runner”需要一个配置文件。在签名和功能编辑器中选择一个配置文件。(在项目“Runner”的目标“Runner”中))我想在我的手机上尝试代码。当我在 Visual Studio 代码上尝试它时,它给了我一个错误。

我看这个(Flutter build iOS FAILED)但我无法解决这个问题。

谢谢

标签: xcodefluttervisual-studio-code

解决方案


我在https://share.getcloudapp.com/yAurZ0gl上阅读了错误消息,它说

error: Failed to register bundle identifier, The app identifier "com.example.chatapp" cannot be registered because it is not available.

您能否将捆绑标识符更改为唯一字符串并重试。尝试使用“com.example.chatapp1”“com.example.chatapp2”或任何其他。并确保您已Provisioning Profile在 Xcode 中进行设置(图片仅供参考)。

在此处输入图像描述


推荐阅读