简体   繁体   English

为内置于 flutter 的苹果创建配置文件

[英]Create provisioning profile for apple built in flutter

Im trying to deploy an IOS app developed on flutter but im with this error and I can't find any solution that solve this problem.我正在尝试部署在 flutter 上开发的 IOS 应用程序,但我遇到了这个错误,我找不到任何解决这个问题的解决方案。 Can someone help me?有人能帮我吗?

The error that appears on flutter is this, when I try to build: flutter 上出现的错误是这样的,当我尝试构建时:

"Error (Xcode): No profiles for 'com.example.cfca' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.example.cfca'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. “错误(Xcode):找不到‘com.example.cfca’的配置文件:Xcode 找不到任何 iOS 应用程序开发配置配置文件匹配‘com.example.cfca’。自动签名已禁用,无法生成配置文件。要启用自动签名,请将 -allowProvisioningUpdates 传递给 xcodebuild。

It appears that there was a problem signing your application prior to installation on the device.似乎在设备上安装之前对您的应用程序进行签名时出现问题。

Verify that the Bundle Identifier in your project is your signing id in Xcode open ios/Runner.xcworkspace验证项目中的 Bundle Identifier 是您在 Xcode 打开 ios/Runner.xcworkspace 中的签名 id

Also try selecting 'Product > Build' to fix the problem.还可以尝试选择“产品 > 构建”来解决问题。 Encountered error while building for device."为设备构建时遇到错误。”

enter image description here在此处输入图像描述

The solution is adding a device on "Certificates, Identifiers & Profiles".解决方案是在“证书、标识符和配置文件”上添加一个设备。 This is only for those that didn't test the app on real device, throw XCode.这仅适用于那些没有在真实设备上测试应用程序的人,抛出 XCode。 In my case, since I don't have an IPhone, I asked someone with IPhone to send me the Device ID (UDID) from that phone and added on Apple Development portal.就我而言,由于我没有 iPhone,所以我请使用 iPhone 的人从该手机向我发送设备 ID (UDID) 并添加到 Apple Development 门户中。 This is the solution that I recommend for those that don't want to by an IPhone.这是我向那些不想使用 iPhone 的人推荐的解决方案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM