简体   繁体   English

Flutter IOS 构建应用程序以在特定设备上进行测试 XCode 9.2

[英]Flutter IOS build app for testing on a certain device XCode 9.2

I am trying to test my app on an IOS device, but I am facing some problems.I do not have an apple developer accout.我正在尝试在 IOS 设备上测试我的应用程序,但我遇到了一些问题。我没有苹果开发人员帐户。 I have tried these:我试过这些:

  1. Using Codemagic to get adhoc file.使用 Codemagic 获取临时文件。 But the problem is that I need a certification, which I don't have.但问题是我需要一个我没有的认证。 I want to try the app before buying a developer account.我想在购买开发者帐户之前试用该应用程序。
  2. I was able to find a mac with OS version 10:13.我能够找到操作系统版本为 10:13 的 mac。 The XCode version is 9.2 which the Flutter does NOT support. XCode 版本是 9.2,Flutter 不支持。 So I can't even build directly to my device.所以我什至不能直接构建到我的设备上。
  3. The cydia impactor: Looke like this is not working anymore. cydia Impactor:看起来这不再起作用了。

Please help me run my app on IOS device.请帮我在 IOS 设备上运行我的应用程序。 My app works fine on multiple Android devices.我的应用程序在多个 Android 设备上运行良好。

UPDATE更新

The Codemagic has latest XCode for building IOS. Codemagic 有最新的 XCode 用于构建 IOS。 But I can not find any way to get an app file for IOS (like apk for android).但我找不到任何方法来获取 IOS 的应用程序文件(如 android 的 apk)。

You do not need an Apple Developer Account to test on a Device.您不需要 Apple 开发者帐户即可在设备上进行测试。 A normal AppleID will be enough.一个普通的 AppleID 就足够了。 Publishing to the Apple Appstore will required one though.不过,发布到 Apple Appstore 需要一个。

All you need is XCode at the required version for your Flutter version.您只需要 Flutter 版本所需的 XCode。 The only way you could test on XCode 9.2 is to downgrade Flutter to an earlier version that supports a lower XCode version (I have not tried this).您可以在 XCode 9.2 上进行测试的唯一方法是将 Flutter 降级到支持较低 XCode 版本的早期版本(我没有尝试过)。

Sadly I don't think there are any other ways around these restrictions.遗憾的是,我认为没有其他方法可以绕过这些限制。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM