Can I test my Codename One app on my iOS device for free? - ios

I have written a simple to-do list app in Codename One, and so far I have used the simulator to test it. 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. I really don't want to pay $99/year (I'm a beginner).
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)?
Clarification: I need to know how to test Codename One apps on my device. This is not the usual concern about how to test iOS apps on a device without membership or jailbreaking. I understand how to do this if I am coding in Swift.
This video from Codename One shows how I can generate native projects. This alone would be sufficient, but building the iOS app requires a certificate, which requires an Apple Developer membership.

You need a certificate from Apple to test on a device without using xcode and we can't realistically provide a way around it.
Getting a certificate for free from Apple is a different thing. 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.

Since Xcode7 you can simply build on your device with Xcode, if you don't use any restricted capabilities. 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. (Not sure if it is possible to retrieve the cross compiled code.)
More context on building on device using Xcode:
Test iOS app on device without apple developer program or jailbreak

Related

Install iOS App onto Multiple Devices with Free Developer Account

Fledgling iOS hobbyist here. I have a demo app I plan on presenting to a group of people in about a month. It is a simple app, and I am still on the free tier of the Apple Developer Program for now. For this presentation, I'm being provided loaner iPhones, iPads, and MacBooks to demo my app and its code on.
I do know that I am able to load my app onto at least two devices, but they are my own personal iPhone and iPad.
My question is this: With a free developer account, will I be able to 1) load my app onto multiple iPhones and iPads (that I do not own) to demo for the duration of this presentation; and 2) load the code into Xcode on multiple Macs (that I do not own) so that I can show the code to those present. Or will I have to take the plunge and purchase the full $99/year developer account.
This isn't a code question, I know - but the Apple Developer forums are not nearly as active, and I would like a clear answer on this.
Connect each iOS device to your dev machine and build your app on it. The device will ask you to trust the developer, which you can do in Settings. It's no different than debugging on your own device.
Are you showing the code or the finished app? If showing the code, make sure the other machine has Xcode, then transfer the code from your dev machine (by USB, network folder, GitHub, etc) and build on the new machine. If you are showing the finished app, make sure Gatekeeper is set to at least "Mac App Store and Identified Developer"
The quick workaround is you change the identifiers and install it on various phones. com.company.app1 and com.componay.app2 and install the same app on different device. Although with this push notifications and all services connected to identifier does not works.

simulate xcode without development account

We have an app in Xcode from our old developers. We are in the registration process for an apple developer account, but on internet I read it can take a couple of weeks before it gets approved.
Is there a way I can simulate the app (like with TestFlight) without sending the actual code to potential new developers?
You can't distribute the app unless you have it signed/provisioned with needed UDIDs (which requires developer program). You can deploy it on your(s) device(s) using XCode though.
You should still be able to run the iOS simulator, which is generally the default behaviour for the build-and-run button - you can download more simulator environments in Xcode -> Preferences -> Components if you're missing one that you need.
Update: If you want third parties to run the app, there's no practical option apart from TestFlight. This is because iOS uses code signing to prevent trojan or pirated apps being installed on their devices. In that case you can consider other options which will achieve whatever your goals are, for example making a video of the app in use or setting up VNC access to a machine with the simulator (and code) on it.

Can I test my app on IPhone without enrolling in developer program?

I'm relatively new to Swift, and I've been using the iOS simulator. It works, but I want to test my program on my iPhone. I've done a lot of searching for a way, and it looks like I'll have to pay $$99 to test an app I created on my iPhone. I don't want to release it on the app store. Did I overlook something, or will I have to pay $99?
EDIT: I may have been unclear about where I'd pay the 99$. It says I have to enroll in a developer program ($99).
Yes, you will have to pay to enroll in the Developer Program. This permits you to test your application on your phone and release it on the App Store. Please take a read through https://developer.apple.com/support/ for more information.
2016 Edit: This is no longer the case. You can test on your device before enrolling in the Developer Program. https://developer.apple.com/library/mac/documentation/IDEs/Conceptual/AppDistributionGuide/LaunchingYourApponDevices/LaunchingYourApponDevices.html
It Seems that starting from Xcode 7 you won't need a paid account to test on your device anymore.
http://gadgets.ndtv.com/mobiles/news/paid-membership-no-longer-required-to-develop-and-test-ios-apps-swift-2-will-be-open-source-701507
To test on real device without paying you have to jailbreak your iPhone. Or you can use the simulator.
see : tutorial to debug on jailbroken iphone
You must enroll in iOS Developer Program if you want to test your code on the iPhone and release on the APP Store. You can use iPhone Simulator otherwise for learning for normal use. Here is the link for developer program and for more details use this https://developer.apple.com/support/

Do I need an iOS device to test PhoneGap Built apps?

I'm a complete noob and figuring out all this as I go along so bear with me.
I've built an app using jQuery Mobile, used PhoneGap Build and it works totally fine on Android and I'll deploy it soon. I'm now trying to figure out the more complex steps towards getting it ready for the iOS market. I've got my developer account set up and have tested my app as built with Xcode 4.2 and Cordova.
What I'm having confusion over (well one of the things) is whether or not I need an actual iOS device in order to get the proper provisioning and certificates. Can I get those, run the package through PG Build and then test it with the Xcode iOS simulator? Must I bother my friends to give me one of their iPhones to test on?
If I'm being vague or asking this the wrong way I apologize.
I'm currently building an app for iOS using Phonegap and even though I have done some testing with a physical device I have seen that the simulator works really well. I mean it would definitely be a good idea to at least run one test of your final version on a physical device before you decide to submit, Apple and pretty much everyone else very strongly suggest that you do, but you aren't required to test on a physical device. All the provisioning and certificate stuff can be done through the Apple Developer site.
The only real reason I could see your app not getting approved relating to this topic is if there is some weird glitch that is only present on a physical device and looks fine on the simulator.
And keep in mind, though it probably won't get you disapproved I've noticed that Phonegap apps that use jQuery Mobile tend to be more glitchy on the transitions compared to when they are run on the simulator.
No you don't need an iOS device to get certificates. You can get them using OpenSSL. I created a GUI to help do just this for Windows users.
However Apple is one of the strictest in approval. It takes 8 days for them to approve an app. And they have been know to not approve apps simply because of there appearance.
Now I myself prefer to have iDevices to test apps.
http://community.phonegap.com/nitobi/topics/detailed_guide_for_setting_up_building_ios_apps_without_a_mac
http://community.phonegap.com/nitobi/topics/ios_app_rejected_advice_on_how_to_fix_it
To help with some App Rejection issues you may get when submitting the app.
https://github.com/AndiDog/phonegap-ios-tabbar-plugin
https://github.com/LinuxPhreak/iOS-Win-Signer
You will need an Apple computer to submit apps to the App Store. Apple no longer has a web based App Submission

How do I test Flex App on iOS device(IPAD) without Registration to Developer Program?

Is there any way I can test my Flex application on Ipad device without registration to developer program?
I have heard that there are some converters, that converts .swf to app for mac. Is there some tools for iOS?
Device is jailbroken.
You can't create IPA without certificate. The only one way - find shared apple certificate (as i did). After that you will be able to convert and test on your device.
But be aware that non-jailbroken devices would not be able to install you application. So, if you rely to sell you product or install on other device the only one way - buy apple cert.
Check here: Adobe Air apps for ios
even if you have an jailbroken iPad, you can`t put your own apps inside. All of the need to be previously signed by a developer. The easiest way is to ask for a friend...
"Is there any way I can test my Flex application on Ipad device without registration to developer program?"
No. iPhone is just like that - thank Steve Jobs.
http://help.adobe.com/en_US/flex/mobileapps/WS064a3073e805330f6c6abf312e7545f65e-8000.html#WSe4e4b720da9dedb5-27e02e9a12ee20e4a60-7fff
If you know an iPhone developer, you'll have to borrow his. Or pay the $100/year.

Resources