【问题标题】:Can share ipa file to install locally on iphone可以分享ipa文件在iphone本地安装
【发布时间】:2019-03-17 16:24:55
【问题描述】:

我对 AndroidIOS 都使用了颤振。我想将这两个应用程序共享给客户以进行测试。我可以通过以下Android命令导出apk文件。我正在使用 Android Studio。

flutter build android --profile

我可以得到apk文件。我只是将这个apk 分享给客户。他可以在没有任何要求的情况下将其安装在手机上。

我在flutter中运行这个命令后

flutter build ios --profile

显示错误信息

No valid code signing certificates were found
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] > Trus

我不知道如何导出以获取ipa 文件。我是ios开发新手。而且我不确定客户是否可以在不使用 xcode 的情况下在他的 iphone 上安装这个 ipa 文件。

在 ios 开发中导出客户评论应用程序(ipa、apk)有什么想法吗?客户需要哪些软件?

【问题讨论】:

    标签: android ios flutter


    【解决方案1】:

    可以通过无线方式在设备上安装 ipa,而无需连接到 Xcode。

    您可以使用 Crashlytics Beta http://try.crashlytics.com/beta/ 或 Apple 的 TestFlight 等服务。第一个更容易 IMO,并且不需要 Apple 审查团队审查构建。

    但是,您的构建必须至少使用 Ad-Hoc 分发配置文件进行签名,并且此配置文件必须包含目标设备的唯一设备标识符 UDID。

    这个答案可能对你有帮助https://*.com/a/47053605/979822

    但在此之前,您应该修复错误消息中写入的所有内容。

    【讨论】: