Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

After IntelliJ CE version upgrade I started getting errors during Flutter projects compilation.

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

Full error stack:

  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

What can I do to fix it?

like image 742
kosiara - Bartosz Kosarzycki Avatar asked Sep 02 '18 10:09

kosiara - Bartosz Kosarzycki


1 Answers

Remember that there is link to an XCode iOS project inside of your IntelliJ Flutter project.

To Resolve the issue open the inner iOS project in XCode:

yourApp/iOS

try to compile and run the projec in XCode and then return to IntteliJ to run it again.

Signing settings are under General -> Signing

Refer to this issue for more info

like image 100
kosiara - Bartosz Kosarzycki Avatar answered Nov 02 '22 11:11

kosiara - Bartosz Kosarzycki



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!