【问题标题】:Flutter - Code Signing Error: No profiles for 'com.xxx.yourApp' were foundFlutter - 代码签名错误:找不到“com.xxx.yourApp”的配置文件
【发布时间】:2019-02-07 16:48:09
【问题描述】:

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

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

完整的错误堆栈:

  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

我能做些什么来解决它?

【问题讨论】:

    标签: ios iphone compiler-errors flutter


    【解决方案1】:

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

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

    yourApp/iOS

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

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

    更多内容请参考本期info

    【讨论】:

    • 为我解决了!谢谢!当我这样做一次。那就不用Xcode了,只有Android Studio可以启动我的flutter项目。
    猜你喜欢
    • 1970-01-01
    • 2016-10-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-04-18
    • 1970-01-01
    相关资源
    最近更新 更多