可以共享ipa文件以在iphone上本地安装

时间:2019-03-17 04:32:48

标签: android ios flutter

我对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的情况下将ipa文件安装到他的iphone上。

在ios开发中导出客户评论应用程序(ipa,apk)的任何想法吗?以及客户需要哪些软件?

1 个答案:

答案 0 :(得分:0)

可以在不连接Xcode的情况下通过无线方式将ipa安装在设备上。

您可以使用Crashlytics Beta http://try.crashlytics.com/beta/或Apple的TestFlight之类的服务。 IMO更容易实现的第一个工具,不需要由Apple审核小组进行审核的版本。

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

此答案可能对您有帮助https://stackoverflow.com/a/47053605/979822

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

相关问题