Flutter-代码签名错误:未找到“ com.xxx.yourApp”的配置文件

时间:2018-09-02 10:17:36

标签: ios iphone compiler-errors flutter

在IntelliJ CE版本升级后,我开始在Flutter项目编译过程中出错。

$airport_id = 1; $data = City::with(["airports" => function ($q) use($airport_id){ //Like this we pass data $q->where("id",airport_id) }])->get();

完整错误堆栈:

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

该如何解决?

1 个答案:

答案 0 :(得分:1)

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

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

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

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

签名设置位于常规->签名

有关更多info,请参见此问题

相关问题