【问题标题】:Failed to build iOS app on vs code about try app on my phone无法在我的手机上尝试应用程序的 vs 代码上构建 iOS 应用程序
【发布时间】:2021-08-31 18:22:35
【问题描述】:

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

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

谢谢

【问题讨论】:

标签: xcode flutter visual-studio-code


【解决方案1】:

我阅读了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" 或任何其他。还要确保你在 Xcode 中设置了Provisioning Profile(图片是一个指南)。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2018-08-26
    • 1970-01-01
    • 2013-03-19
    • 2021-10-21
    • 2016-05-21
    • 2020-10-18
    • 2018-09-01
    • 1970-01-01
    相关资源
    最近更新 更多