【问题标题】:Run program on iPhone with flutter用颤振在 iPhone 上运行程序
【发布时间】:2020-03-30 19:01:52
【问题描述】:

您好,我在 iphone 上运行程序时遇到问题,当我输入“运行”时,它给了我这个错误。 谁能帮我?谢谢!

错误:

You can connect to your Apple Developer account by signing in with your Apple ID
in Xcode and create an iOS Development Certificate as well as a Provisioning 
Profile for your project by:
  1- Open the Flutter project's Xcode target with
       open ios/Runner.xcworkspace
  2- Select the 'Runner' project in the navigator then the 'Runner' target
     in the project settings
  3- In the 'General' tab, make sure a 'Development Team' is selected. 
     You may need to:
         - Log in with your Apple ID in Xcode first
         - Ensure you have a valid unique Bundle ID
         - Register your device with your Apple Developer Account
         - Let Xcode automatically provision a profile for your app
  4- Build or run your project again
  5- Trust your newly created Development Certificate on your iOS device
     via Settings > General > Device Management > [your new certificate] > Trust

For more information, please visit:
  https://developer.apple.com/library/content/documentation/IDEs/Conceptual/
  AppDistributionGuide/MaintainingCertificates/MaintainingCertificates.html

Or run on an iOS simulator without code signing
════════════════════════════════════════════════════════════════════════════════
Finished with error: No development certificates available to code sign app for device deployment

当我尝试输入此链接时,它说它不可用:在此处输入图片描述“https://developer.apple.com/library/content/documentation/IDEs/Conceptual/”

扑扑医生:

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Mac OS X 10.15.3 19D76,
    locale pt-PT)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
[✓] Android Studio (version 3.6)
[✓] Connected device (1 available)

• No issues found!

【问题讨论】:

    标签: ios xcode flutter


    【解决方案1】:
    猜你喜欢
    • 2020-08-02
    • 2021-02-23
    • 2021-01-05
    • 1970-01-01
    • 2019-06-03
    • 2021-10-19
    • 2019-05-31
    • 2020-07-29
    • 2021-04-19
    相关资源
    最近更新 更多