android - 可以共享 ipa 文件以在 iPhone 上本地安装

标签 android ios flutter

我在 AndroidIOS 上都使用了 flutter。我想将这两个应用程序共享给客户以进行测试。我可以通过以下 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)有什么想法吗?客户需要哪些软件?

最佳答案

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

您可以使用 Crashlytics Beta http://try.crashlytics.com/beta/ 等服务或苹果的 TestFlight。 IMO 中的第一个更简单,不需要 Apple 审核团队审核构建。

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

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

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

关于android - 可以共享 ipa 文件以在 iPhone 上本地安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55203866/

相关文章:

android - 如何在 Android Shell 中获取以毫秒为单位的时间?

ios - 苹果拒绝越狱检测的应用程序

iphone - 如果父级处于纵向模式,如何在横向模式下加载 UIViewController?

Flutter - 如何为 BottomNavigationBar 添加分隔符?

android - 获取触摸事件相对于可滚动 map 的坐标

android - 通过单击项目 View 并在 Android 应用程序中停止正在运行的文件来播放 MP3 音频文件

Android应用程序如何作为系统应用程序运行?

ios - UIDynamicAnimator 停止对重力变化使用react

unit-testing - 测试框架意外退出 - Mac 上的 Dart 项目

flutter - Flutter-如何将图表另存为设备中的图像或发送至服务器?