flutter build ipa 因配置文件失败

发布于 2025-01-11 11:43:50 字数 1835 浏览 0 评论 0原文

如果我尝试执行 flutter build ipa 我收到错误:

Automatically signing iOS for device deployment using specified development team in Xcode project: 2TPRUM2A9L
Running Xcode build...
Xcode archive done.                                          3,3s
Failed to build iOS app
Error output from Xcode build:
↳
    objc[10019]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libauthinstall.dylib (0x203eb2b90) and
    /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1084e42c8). One of the two
    will be used. Which one is undefined.
    objc[10019]: Class AMSupportURLSession is implemented in both /usr/lib/libauthinstall.dylib (0x203eb2be0) and
    /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1084e4318). One of the two
    will be used. Which one is undefined.
    ** ARCHIVE FAILED **


Xcode's output:
↳
    note: Using new build system
    note: Planning
    note: Build preparation complete
    note: Building targets in dependency order
    error: No profiles for 'com.fahrschuleplaner24' were found: Xcode couldn't find any iOS App Development provisioning
    profiles matching 'com.fahrschuleplaner24'. Automatic signing is disabled and unable to generate a profile. To enable
    automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'Runner' from project 'Runner')

在 xcode 中签名 &功能

enter此处图片描述

未找到“com.fahrschuleplaner24”的配置文件

在此处输入图像描述

我是该帐户的所有者,而且我也有此个人资料,但仍然它不起作用

请帮我解决它

if i try to do flutter build ipa i got the error:

Automatically signing iOS for device deployment using specified development team in Xcode project: 2TPRUM2A9L
Running Xcode build...
Xcode archive done.                                          3,3s
Failed to build iOS app
Error output from Xcode build:
↳
    objc[10019]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libauthinstall.dylib (0x203eb2b90) and
    /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1084e42c8). One of the two
    will be used. Which one is undefined.
    objc[10019]: Class AMSupportURLSession is implemented in both /usr/lib/libauthinstall.dylib (0x203eb2be0) and
    /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1084e4318). One of the two
    will be used. Which one is undefined.
    ** ARCHIVE FAILED **


Xcode's output:
↳
    note: Using new build system
    note: Planning
    note: Build preparation complete
    note: Building targets in dependency order
    error: No profiles for 'com.fahrschuleplaner24' were found: Xcode couldn't find any iOS App Development provisioning
    profiles matching 'com.fahrschuleplaner24'. Automatic signing is disabled and unable to generate a profile. To enable
    automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'Runner' from project 'Runner')

in xcode on signing & capabilities

enter image description here

No profiles for 'com.fahrschuleplaner24' were found

enter image description here

im the owner of the account and also i have this profile there but still it wont work

please help me to solve it

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

左岸枫 2025-01-18 11:43:50

必须在真正的 iPhone 上运行它,之后它就可以工作了

had to run it on a real iphone, after that it worked

喜你已久 2025-01-18 11:43:50

你能尝试一次吗?首先清除 xcode 的 DerivedData,然后尝试以下命令

  1. flutter clean
  2. flutter pub get
  3. cd ios
  4. pod install
  5. pod update

现在用 xcode 打开并检查

Can you try this once. first clear DerivedData for xcode and then try following commands

  1. flutter clean
  2. flutter pub get
  3. cd ios
  4. pod install
  5. pod update

now after this open with xcode and check

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文