Can I test my Flutter application in a real apple device without apple developer account, and if so how do I do it?

huangapple go评论86阅读模式
英文:

Can I test my Flutter application in a real apple device without apple developer account, and if so how do I do it?

问题

我已阅读以下SO问题文章。第一个SO问题说我需要拥有一个苹果开发者账号才能在真实的iOS设备上测试我的应用程序,但我不认为花100美元来获取苹果开发者账号是值得的。所以这篇文章提到我可以使用Xcode来部署,但这篇文章是针对Ionic用户的。然而,我不是Ionic开发者,而是Flutter开发者。

我想知道的是这篇文章是否适用于Flutter,以及最低的iOS版本是否是9.0。任何帮助将不胜感激,谢谢!

英文:

I've read the following SO Question and Article. The first SO Question says I need to have an apple developer account to test my application on a real IOS device, however I do not think the 100$ investment to get an apple developer account is worth it. So the Article states that I can deploy it using xcode but the article is targetted for Ionic users. I however, am not an Ionic developer but I am a Flutter developer.

What I want to know is if the Article is feasible for Flutter, and is the minimum iOS version 9.0. Any help would be appreciated thank you!

答案1

得分: 6

你也可以在没有苹果付费开发者计划的情况下在真实设备上进行测试(需要在Xcode中添加免费的iclocud ID)。
在连接iPhone的Mac上运行'flutter run',应用程序将在真实设备上运行(如果无法运行,请运行'flutter doctor'并查看您的iPhone是否显示在连接的设备中)。
通常,我首先在模拟器上运行'flutter run'来构建iOS文件,然后我进入flutter项目目录/ios/,打开任何文件,双击它会显示在Xcode中打开iOS模块,然后您可以运行或上传应用程序进行测试或发布到TestFlight/App Store,就像我们使用原生iOS应用程序一样。

英文:

You can also test on real device without apple paid developer program(you need to add free iclocud id in xcode).
do 'flutter run' on your mac with iphone connected and app will work on real device (if not working run'flutter doctor' and see is your iphone showing i connected devices)
usually what i do is first run on simulator with flutter run which builds ios files then i goto flutter-project-directory/ios/ open any file by double click it will show open ios module in xcode click it. now you can run or upload app to testflight/appstore like we do with native IOS app.

答案2

得分: 0

Flutter支持iOS 8.0及更低版本。我认为您可以在模拟器上进行测试,无需任何帐户,只需一个苹果帐户和iOS设备来在真实设备上测试和构建应用程序。您需要支付每年100美元才能在App Store上上传应用程序。

英文:

Flutter is supported down to iOS 8.0. I think you can test on a Simulator without an account at all, and you just need an Apple account and an iOS device to test on a real device and build the app. You pay the 100$/year to upload on the App Store.

huangapple
  • 本文由 发表于 2020年1月4日 12:42:47
  • 转载请务必保留本文链接:https://go.coder-hub.com/59587950.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定