Free ios deployment

So I’ve coded and run my ios app on the simulator and now want to get it to my phone and I’m at a loss. I have purchased the IOS Xojo license and clicked build. I can’t seem to figure out how to get it to my phone through Xcode. It can see my phone and I supposedly created a certificate. Does anyone have recent instructions on how to do this as all the ones I’ve found don’t match what I see on my screen. I don’t want it on the app store so would rather not pay extra for app developer license.

Thanks
Sharon

I’ve not tried this myself, and the article in the docs is three years old so your mileage may vary, but it’s probably worth a shot.

Deploy to device with free xcode provisioning profile

If that doesn’t work, I think you’d need to pay the $99/yr and use Ad-Hoc Distribution or TestFlight.

yeah I tried that but didn’t get very far…

Unfortunately, it’s Apple’s playground and we just get to play in it when and how they let us. I have my own horror stories about the Apple’s policies, but you’re not here for that.

I’m afraid your best bet is to toss that $99 at them and use one of the alternative methods I mentioned.

They say it is unnecessary for personal use, but you need some personal tuning…

Isn’t that link for Mac apps and the OP is asking about iOS?

1 Like

You are correct. I didn’t think the process and the account abilities would care about the final device, so I didn’t observe that.

Distribution of iOS apps is very different from macOS apps.

While I’ve not tried those instructions, they were written before you needed to put your device into Developer Mode for any of that to work.

@Sharon_Dankwardt - it’s important to note that Developer Mode turns off some of the security protocols that are present on a normal users device. Usually developers have dedicated devices just for testing purposes and then later use TestFlight for installing on non-developer devices later, as Anthony suggested above.

I think you’re going to find that for iOS development, there’s just no way to get away from having Xcode on your machine and having an Apple Developer Account so you can access all of the tools, certificates and profiles you need to be successful.

1 Like

and if I remember correctlyn once you have the app on your ios device, it’s here max for a week !

I’m in Developer mode. Is there a way to test it on the actual dev ice without pay the developer fee. I’d like to make sure it works before I put more money into app just for me :slight_smile: I’ve seen some links that indicate this but haven’t been able to get it to actually run on my phone

I’ve saw a guy doing it, needed to create a “Solo Team” and Apple sets the expiration to 6 days.

So, to test yes, to use no. Differently of Android, in iOS you can’t build free apps for yourself, you really must to pay as any Pro does.

It looks like you can but it’s going to involve using Xcode, as it sounds like you need Xcode to create some of the necessary pieces for you.

Normally, you would use an apple developer account to create the dev and release certificates and the dev and release provisioning profiles, but without a paid account, I don’t think those things are available to you through a free account, at least without going through Xcode.

In case anyone has some ideas, I think that you’re going to need three things:

  1. A way to provision the application identifier
  2. A way to provision the development certificate
  3. A way to provision the development profile, with a reference to your device ID, app id and dev certificate.

To be fair, I don’t think we (when I was at Xojo) ever thought about a user that had a free apple developer account when all of this was set up. I don’t remember, but it’s very possible that the free apple dev account wasn’t even a thing yet.

1 Like

Yeah, I’ve followed instructions on creating these and can get an app on my phone but it does nothing even when testing. The simulator works fine. I think there is a gap in getting the real Xojo app talking to the XCode one. I guess I’m going to have to break down an pay an additional $99 on top of the $399 for the XOJo license. I understand That everyone needs to get paid but it seems a bit excessive for someone who has no intention of selling the end product :frowning:

so I should be able to get it on my phone to test but can not yet. I’m beginning to think there is a build issue going on. EIther that or I haven’t got something right with the team which is current just set to myself, so that sounds right. When I build however I get a file in the IOS build folder but a get a message when building “An Apple development profile is required when building an iOS application.” Do I need to put in apple credentials in my xojo app somewhere?

Have you followed these instructions?

And after

If yu have a MAC (OSX)
Download and install Xcode (it is free).
Run it
Top menu - ‘Window’ (click on it)
OPen devices and simulators
Connect your phone to your Mac computer
You need to register it with serial number of identifier (I forget which) by clicking on the + at bottom left.
Then you can copy the app to your phone by clicking another + in the right hand side of the screen.
Hope that helps

did all that, no luck

yes to both. I get a generic icon for my app on my phone but when it starts I just get a blank white screen. I tried doing a sample one this morning but ran out of apps I could install on the free license. I didn’t know it counted ones you add an remove to try again, but I guess so