如何归档使用 Flutter 创建的 Runner.app?
How do you archive Runner.app created with Flutter?
我创建了我的第一个 Flutter 应用程序,我正尝试在 official steps described here 之后将其部署到 App Store。
我成功添加团队:
screenshot of my apple developer team
我在使用命令 Product => Archive:
创建存档时出错
签约“Runner”需要一个开发团队。 Select 签名和功能编辑器中的开发团队。
我尝试使用其他应用程序存档,但没有用。
flutter doctor -v
[✓] Flutter (Channel stable, 1.22.5, on Mac OS X 10.15.7 19H2 darwin-x64, locale en-TM)
• Flutter version 1.22.5 at /Users/amanokerim/Dev/flutter
• Framework revision 7891006299 (8 days ago), 2020-12-10 11:54:40 -0800
• Engine revision ae90085a84
• Dart version 2.10.4
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/amanokerim/Library/Android/sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.1, Build version 12A7403
• CocoaPods version 1.10.0
[!] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] VS Code (version 1.52.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.17.0
[!] Connected device
! No devices available
您需要在 Release
配置中设置团队设置。
我创建了我的第一个 Flutter 应用程序,我正尝试在 official steps described here 之后将其部署到 App Store。
我成功添加团队:
screenshot of my apple developer team
我在使用命令 Product => Archive:
签约“Runner”需要一个开发团队。 Select 签名和功能编辑器中的开发团队。
我尝试使用其他应用程序存档,但没有用。
flutter doctor -v
[✓] Flutter (Channel stable, 1.22.5, on Mac OS X 10.15.7 19H2 darwin-x64, locale en-TM)
• Flutter version 1.22.5 at /Users/amanokerim/Dev/flutter
• Framework revision 7891006299 (8 days ago), 2020-12-10 11:54:40 -0800
• Engine revision ae90085a84
• Dart version 2.10.4
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/amanokerim/Library/Android/sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.1, Build version 12A7403
• CocoaPods version 1.10.0
[!] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] VS Code (version 1.52.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.17.0
[!] Connected device
! No devices available
您需要在 Release
配置中设置团队设置。