代码之家  ›  专栏  ›  技术社区  ›  kosiara - Bartosz Kosarzycki

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

  •  0
  • kosiara - Bartosz Kosarzycki  · 技术社区  · 6 年前

    在intellij-ce版本升级之后,我开始在flutr项目编译期间出错。

    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
    

    我能做什么来修理它?

    1 回复  |  直到 6 年前
        1
  •  2
  •   kosiara - Bartosz Kosarzycki    6 年前

    记住,在intellij flutr项目中有一个到xcode ios项目的链接。

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

    yourApp/iOS

    尝试 编译并运行 xcode中的projec 然后返回inttelij再次运行它。

    签名设置位于“常规”->“签名”下

    有关更多信息,请参阅本期 info