xcode - 无法在我的手机上尝试应用程序的 vs 代码上构建 iOS 应用程序
问题描述
我有这样的错误 https://share.getcloudapp.com/yAurZ0gl (错误:注意:使用新的构建系统注意:并行构建目标注意:规划构建注意:分析工作区注意:构建构建描述说明:构建准备完成错误:“Runner”需要一个配置文件。在签名和功能编辑器中选择一个配置文件。(在项目“Runner”的目标“Runner”中))我想在我的手机上尝试代码。当我在 Visual Studio 代码上尝试它时,它给了我一个错误。
我看这个(Flutter build iOS FAILED)但我无法解决这个问题。
谢谢
解决方案
我在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 中进行设置(图片仅供参考)。
推荐阅读
- c# - 将 JSON 数组条目转换为 XML
- react-native - How To Make react-native-banner-carousel Horizontal Scroll Disable?
- android - 无法检索共享首选项数据
- java - 如何在 vlcj 中使用“MediaPlayer”准备播放列表?
- google-bigquery - BigQuery 预览:来自服务器的未知错误响应
- amazon-web-services - Cognito 身份池 - 将 Apple 提供商与 App 和 Web 集成
- java - 观察到动态 JSON 的 JSON 解析器异常
- javascript - 如何在 JavaScript 中使用 Python 字符串索引?
- shell - 如何选择垂直列到水平列?
- ruby-on-rails - 将 twitter bootstrap gem 从 2.x 升级到 3.x 或 4.x 会破坏 UI 样式