简体   繁体   English

我可以免费在iOS设备上测试我的Codename One应用吗?

[英]Can I test my Codename One app on my iOS device for free?

I have written a simple to-do list app in Codename One, and so far I have used the simulator to test it. 我在Codename One中编写了一个简单的待办事项列表应用程序,到目前为止我已经使用模拟器来测试它。 I want to see how it looks on a real device (iPhone 5s or 8 Plus), but I don't want to purchase the Apple Developer membership. 我想看看它在真实设备(iPhone 5s或8 Plus)上的外观,但我不想购买Apple Developer会员资格。 I really don't want to pay $99/year (I'm a beginner). 我真的不想每年支付99美元(我是初学者)。

I know I can get the app on my device by jailbreaking it, but is that the only way? 我知道我可以通过越狱来获取我的设备上的应用程序,但这是唯一的方法吗?

So basically my question is, is there any method of installing my Codename One app on my iOS device (without paying for the membership or jailbreaking it)? 所以基本上我的问题是,是否有任何方法在我的iOS设备上安装我的Codename One应用程序 (无需支付会员资格或越狱)?

Clarification: I need to know how to test Codename One apps on my device. 澄清:我需要知道如何在我的设备上测试Codename One应用程序。 This is not the usual concern about how to test iOS apps on a device without membership or jailbreaking. 对于如何在没有成员资格或越狱的情况下在设备上测试iOS应用程序,这不是常见问题。 I understand how to do this if I am coding in Swift. 如果我在Swift中编码,我理解如何做到这一点。

This video from Codename One shows how I can generate native projects. 来自Codename One的视频展示了我如何生成本机项目。 This alone would be sufficient, but building the iOS app requires a certificate, which requires an Apple Developer membership. 仅此一项就足够了,但构建iOS应用程序需要一个证书,这需要Apple Developer会员资格。

You need a certificate from Apple to test on a device without using xcode and we can't realistically provide a way around it. 您需要Apple提供的证书才能在不使用xcode的情况下在设备上进行测试,我们无法真实地提供解决方案。

Getting a certificate for free from Apple is a different thing. 从Apple获得免费证书是另一回事。 Educational institutes usually have access to an educational apple developer account that allows you to do just that for free so if you are a student or know a student you can get access to one of those and use it to test your app on your device for free. 教育机构通常可以访问一个教育性的Apple开发者帐户,允许您免费使用该帐户,因此如果您是学生或了解学生,您可以访问其中一个并使用它在您的设备上免费测试您的应用程序。

Since Xcode7 you can simply build on your device with Xcode, if you don't use any restricted capabilities. 从Xcode7开始,如果您不使用任何受限制的功能,您可以使用Xcode在您的设备上构建。 That said you would need to run your cross compiled code from Codename One in Xcode, to be able to run it on a device without a membership. 这就是说你需要在Xcode中运行来自Codename One交叉编译代码,以便能够在没有成员资格的设备上运行它。 (Not sure if it is possible to retrieve the cross compiled code.) (不确定是否可以检索交叉编译的代码。)

More context on building on device using Xcode: 有关使用Xcode在设备上构建的更多上下文:
Test iOS app on device without apple developer program or jailbreak 在没有Apple开发者计划或越狱的设备上测试iOS应用程序

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

相关问题 如何在未越狱的iOS设备上测试已签名的应用程序 - How can I test my signed app on an unjailbroken iOS device 没有Apple Developer Program,我可以在iOS设备上测试我的Ionic App - Can I test my Ionic App on my iOS device without Apple Developer Program 我无法再在设备上测试我的应用程序 - I can not test my App on my device anymore 如何在Xcode 9的iOS设备上运行我的App? - How I can run my App on my iOS device in Xcode 9 ? 如何在 IOS 设备上的裸工作流中测试我的博览会应用程序? - How can i test my expo app in bare workflow on IOS device? 在我的ios设备上安装测试应用程序的困难 - Difficulties with installing test app on my ios device 我无法使用提示应用程序连接ios设备 - I can't use the prompt app to connect my ios device 我无法通过Expo在iOS中测试我的应用 - I can't test my app in iOS with Expo 如何从 Flutter 生成 iOS 版本,以便我的客户可以在他们的 iPhone 设备上测试应用程序? - How to generate iOS build from Flutter so my client can test the app in their iPhone device? 我可以在我的物理 iPhone 设备上通过 VSCode (Windows) 测试我的 Flutter 应用程序吗? - Can I test my Flutter App from VSCode (Windows) on my physical iPhone device?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM