ios - Flutter - 代码签名错误 : No profiles for 'com.xxx.yourApp' were found

标签 ios iphone compiler-errors flutter

IntelliJ CE 版本升级后,我开始在 Flutter 项目编译期间出错。

代码签名错误:找不到“com.xxx.yourApp”的配置文件

完整的错误堆栈:

  Flutter
  Code Signing Error: No profiles for 'com.xxx.yourApp' were found


  === BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
  Code Signing Error: No profiles for 'com.xxx.yourApp' were found:  Xcode couldn't find any iOS App Development provisioning profiles matching 'com.xxx.yourApp'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.
  The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with “Use of deprecated Swift 3 @objc inference” logging enabled, and then disable inference by changing the "Swift 3 @objc Inference" build setting to "Default" for the "Runner" target.
  The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with “Use of deprecated Swift 3 @objc inference” logging enabled, and then disable inference by changing the "Swift 3 @objc Inference" build setting to "Default" for the "Runner" target.
  Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.4'
  Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.4'
  Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.4'
  Could not build the precompiled application for the device.

  Error launching application on iPhone

我能做些什么来修复它?

最佳答案

请记住,在您的 IntelliJ Flutter 项目中有指向 XCode iOS 项目的链接。

要解决此问题,请在 XCode 中打开内部 iOS 项目:

你的App/iOS

尝试在 XCode 中编译并运行项目 然后返回 IntteliJ 再次运行。

签名设置在常规 -> 签名下

更多内容引用本期info

关于ios - Flutter - 代码签名错误 : No profiles for 'com.xxx.yourApp' were found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52136016/

相关文章:

java - Java 中的错误消息帮助

ios - UICollectionView 单元格绘图问题 swift

ios - 应用程序卡住直到将数据保存到核心数据中

iphone - 显示搜索时,UITableView 被新的 UITableView 隐藏

iphone - NSURLConnection 下载大文件(>40MB)

C++创建线程报错?

编译器不会提示错误的语法

ios 应用商店拒绝 - 您的应用使用 "prefs:root="非公开 URL 方案

ios - 数组 objectAtIndex <huge number> 上的 RangeException #Core Data

iphone - 如何快速从 CoreData 中删除?