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/