This question already has answers here:
How long will an app continue to run on my iOS device if installed via Xcode?
(3 answers)
Closed 1 year ago.
I have created a simple application for my iPhone SE (iOS 15.1). I use it almost everyday, building and running it from Xcode (version 13.2 beta) with my device as the target; the app thus gets installed and I can use it for about a day. After a while, I couldn't say how long exactly, if I try to launch it on my iPhone an error message appears stating that the application is not available. How can I change that behavior and let Xcode know that I want to install it for keeps?
I guess the answer must lie somewhere in the "build settings" page of my applications, but I lose my bearings in this maze of options. I'd be most grateful if someone could help me figure that out.
With thanks,
Julien
You can't. Unless you put it on the AppStore. This is because of the Provisioning of the App.
You have four Options:
Free provisioning (no paid developer account) is good for one week.
TestFlight distribution (via Xcode and a purchased developer account) is good for 90 days.
Local/ad-hoc installs (via Xcode and a purchased developer account), to a device registered in the Member Center, are good for max one year, but not longer than time left on the dev's annual paid account. See https://help.apple.com/xcode/mac/current/#/dev7ccaf4d3c
Apps on the store are re-signed by Apple and never expire.
Related
I am making an ios app using React Native for the first time as a self learning exercise. I don't intend to launch it to the Apple App Store but it'd be nice to be able to use the app myself on my phone.
I've successfully deployed my app to my iPhone with "Release Build" settings, but after 3 days the app stops launching (with message "yourApp is no longer available"). I understand this is something to do with the provisioning profile expiring after x amount of days and a reinstall of the app from xcode is needed (from this thread)
Does anyone know any way to get around this? Or must I purchase a developer licence and go through deployment to the app store just to get my app working on my phone permanently? Thanks in advance!
I'm currently developing an app for iOS using swift and I've noticed recently that after I install the app on my iPhone, it will work for some time but after a bit it just won't launch anymore and the profile under General > Profiles & Device Management > has been deleted and I have to plug my phone to my computer to re-run it.
Is there a particular reason why this would happen or is there a way around this?
Edit: I have not yet bought a developer membership, I simply wanted to know if there is a way without it.
It's because the build that you have on your phone has a limit to the amount of time that the Development profile is available on your device. It's usually up to 5 days or so, (if it's significantly shorter than that, you may have an issue) so that you can take your device home and play with it if need be and return to the office and fix any issues you find.
I'm not actually sure that there is any way to lengthen this development build time but yes that's why it won't reopen and why you'd have to re-install your application to a device to continue to test. I think it has something to do with the Apple Developers Provisioning Profiles.
Could it be because you have not bought a developer program membership? I'm pretty sure that when you install an app to your phone using the free trial membership, you get this time limit on your wildcard profile.
The "way around it" is to attach the phone to the computer and build and run on the device again.
I'm using TestFlight to test an iOS app. For my first testable version I only invited 5 friends, of which only 2 installed the app. I'm not sure if the others got the email but I just assumed they did and ignored it.
Yesterday I submitted a new version and invited another 10 or so people. I noticed today that only the original 2 people installed the new app so I contacted 3 or 4 of the new testers and nobody has seen an email invite yet.
I read that turning off testflight, then turning it back on, would force emails to be sent. I tried that, still no joy.
Am I missing something? I have a hard time believing this is a TestFlight bug or we'd be hearing a lot more about it, right?
I see a similar question was closed as "not about programming". But this is very much about the iOS development process... I can't "program" an iOS app without getting it out for testing.
It depends where you add the users...
If you add them through "Users & Roles>TestFlight Beta Testers>External" then they are invited to test the app but not invited to the pre-release build.
If you add them through "My Apps>Your app name>Prerelease>External Testers" and tap + then you can choose to "Add New Testers" which both invites new testers to your app and adds them to the pre-release.
The only way you can add additional testers (as far as I've seen) is to update your tester list, and then upload a new binary. In other words, I don't believe you can modify the tester list on a build that's already actively being tested.
first of all, I know there are many questions similar to this one, but, they are old and the answers in them unfortunately no longer work, since the game has changed without Hacklo.us to do part of the process.
Basically, I want to develop for iOS and test the apps I make, and later in the future I may want to submit them to the Apple Store, but for now I'm not willing to pay 99$ to join the Apple iOS developer program just to use my apps in my iPhone.
I have a jailbroken iPhone 4S with iOS 6.1.
The only posts I found about how to do this, either use Hackulo.us (that went down about 2 months ago) or something called Jailcoder that is also offline and they also seem to work with only old versions of XCode/iOS (not clear about that point).
Any new progresses on how to to this with the present conditions?
Simple. After building the app, just use some utility (SSH, iExplorer, etc.) to copy the app bundle to the /Applications directory on the device. After that, either run the uicache tool or respring the iPhone to make the application appear on the home screen.
I'm new to iPhone development and was wondering if there is a good/easy guide I could follow to install an iOS app on a jailbroken phone without joining the developer program.
Basically, I don't know if I'm going to have the time to learn everything I need to learn, but would like to make a start and see where it leads. Once I have something decent put together I can make plans to go through official channels.
I followed a guide that I found in SO, but when launching the app it immediately dies/crashes back to the springboard. So I can only assume I did something wrong, or the guide is outdated.
I'm using iOS 4.3.3 and xCode 4.
here is the link to the guide I followed: iPhone App Minus App Store?
Thanks
Just to get the warning away.
I just found a guide that worked for me: How can I deploy an iPhone application from Xcode to a real iPhone device?. all I had to do was change the 4.2 in one of the commands to 4.3
With Xcode 7 it's now free to run your apps on your iPhone, iPad or Apple Watch (beta): https://developer.apple.com/xcode/
Now everyone can get their app on their Apple device. Xcode 7 and
Swift now make it easier for everyone to build apps and run them
directly on their Apple devices. Simply sign in with your Apple ID,
and turn your idea into an app that you can touch on your iPad,
iPhone, or Apple Watch. Download Xcode 7 beta and try it yourself
today. Program membership is not required.
This isn't my own method, but I thought I'd help you out since I've just read this elsewhere:
Answer by WrightsCS
There's a way you can do this.
You will need ROOT access to edit the following file.
Navigation to /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk and open the file SDKSettings.plist.
In that file, expand DefaultProperties and change CODE_SIGNING_REQUIRED to NO, while you are there, you can also change ENTITLEMENTS_REQUIRED to NO also.
You will have to restart Xcode for the changes to take effect. Also, you must do this for every .sdk you want to be able to run on device.
Now, in your project settings, you can change Code Signing Identity to Don't Code Sign.
Your app should now build and install on your device successfully."