Flutter - Ошибка подписи кода: не найдено профилей для com.xxx.yourApp - PullRequest
0 голосов
/ 02 сентября 2018

После обновления версии 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

Что я могу сделать, чтобы это исправить?

1 Ответ

0 голосов
/ 02 сентября 2018

Помните, что внутри вашего проекта IntelliJ Flutter есть ссылка на проект XCode iOS.

Чтобы решить проблему, откройте внутренний проект iOS в XCode:

yourApp/iOS

попробуйте скомпилировать и запустить проект в XCode и затем вернитесь в IntteliJ, чтобы запустить его снова.

Настройки подписи находятся в разделе Общие -> Подписывание

См. Эту проблему для получения дополнительной информации info

...