Installing iOS app over old version on iOS 6 - ios

My app has been live in the app store for a while. It saves data locally using NSUserDefaults. Some of the saved data needs to be automatically updated when users install the app update I'm working on.
To test, I install the old app, do a few things to save the data locally, then install the updated app over the old app, and make sure the data updates correctly. This has worked on devices running iOS 7.
I'm having trouble installing the updated app over the old app on a device or simuator running iOS 6. I've received a few different error messages, looked them up, and didn't really find any answers that worked.
Will users running iOS 6 have trouble installing the updated app on their devices?
I'm wondering if the issue has something to do with Xcode 5.1 debug builds. Maybe the issue goes away when users install a release build distributed by Apple.
Edit: I tried the advice in this answer and nothing seemed to work.

Related

React Native iOS app different code on simulator vs ad hoc/App Store

I have been working on a React Native app for several weeks. I recently pushed a version to TestFlight. When I started getting feedback from users I noticed that their screenshots were different than the latest changes I made. They were from older revisions.
I ran the app in the iOS Simulator. I get the correct version of the code.
I ran the app on a device connected to my Mac. I get the correct version of the code.
I ran the app distributed ad hoc and I get an older version of the app.
I haven't seen anything like this before and baffled as to what could cause the problem.
I connected with Brent Vatne on Expo's Slack. I forgot to run expo publish before running the release build.

Inability to develop app because ' application could not be found on device' in iOS 13.0/Xcode 11 beta 5 [duplicate]

This question already has answers here:
Install claimed to have succeeded, but application could not be found on device
(41 answers)
Closed 3 years ago.
I am trying to build a new version of an app I am developing that has a previous version on the App Store. I have installed the iOS 13.0 developer beta and Xcode 11.0 beta 5 (11M382q) today, and suddenly I am having issues building my app on my iPhone.
Attempting to install the new version of an app that I have released onto the App Store did not change the app, it is still the latest official release, even though Xcode made the app open on my phone. If I build the app on a simulator my changes are present. I decided to delete the app off of my phone, now it will not reinstall the app, giving the error message Install claimed to have succeeded, but application could not be found on device. bundleid = (my bundle id). This question seems to have the same problem as me but no answers fix my issue. I thought it may have to do with the iPhone Distribution/Development certificate I hold not being valid, yet building a different Xcode project works exactly as expected, with the app showing new features.
I don't know much about how Apple manages things like their Certificates, so if you need more information to diagnose my problem please do not hesitate to ask.
I had the same issue and the problem was that I had downtime on Screen Time enabled. If you reinstall the app with downtime disabled and then add the app to "allowed apps" then it should work from then on.
This may seem a bit convoluted, but I simply deleted Info.plist file and manually re-added everything necessary into the file. Somehow upgrading from Xcode 10 to Xcode 11 beta 5 meant that the file was no longer 'corrupted'.

Fabric causes errors when testers try download app

My testers have problem with an app I had uploaded to Fabric Beta. During normal testing they uninstall already installed app from their devices and they download new version from Fabric. In that case everything works fine. App will download and launch properly.
Problems begins when they want to test situation when future app's users update my app from AppStore. My testers want to check if updated app will not crash.
Test case is easy:
List item
Download app from AppStore.
Launch it.
Download new version from Fabric (new version should override old)
Launch it.
App should not crash.
Problem appears in (4), Fabric shows error "download problem detected". (Note that everything works if there is no old app on device.).
Fabric has problems with overriding apps?
Fabric (1.7.7)
iOS 11
iPhone 6s Plus
PS. This test is important. Crash will appears when I change database model without migration for example.
Paul from Fabric here. Did you uninstall the App Store version of your app first? Since iOS 9, Apple changed its policy to prevent apps from being installed over the existing App Store version by 3rd parties, so you need to delete the original app before installing the Beta version. For more information, see our docs here: https://docs.fabric.io/apple/beta/tester-experience.html.
And the other reason could be if any other app is installing or updating parallelly, Fabric will not be able to install. Just faced the issue :)

App crashes before opening on iPhone

I have an app which works perfectly on the simulators. This app also worked perfectly on an iPhone* for a couple of months. After a few weeks of this app not being opened, the app crashes when I attempt to open it. It looks like its about to open but it quits.
If I double tap the Home button to display my cached apps I can see it there amongst the other cached apps and it looks fine, displaying on-screen elements and images(which are saved and retrieved from the filesystem) correctly. If I tap it, it again quits before running.
I was hoping to release this app asap as it is finished. I've searched the net for solutions but have not found any. I don't know what particular information may be needed to figure out the problem but please ask and I'll respond with it. I am relatively new to ios development.
*iPhone 5s running latest ios9 update
The latest version of Xcode is 7.3. You need to update your Xcode to the latest version to be able to upload to the latest version of iOS.
EDIT: I forgot to mention this earlier. The latest version of Xcode requires El Capitan (OS X 10.11).
EDIT 2: OP has now revealed that a provisioning profile is being used. These only last about a month. After they expire, the app is no longer trusted and will show the described behavior. This can only be solved by re-signing the code, which requires either a new provisioning profile or a Developer ID. In any case, after the code is re-signed, it has to be reinstalled, and installing onto the latest iOS requires the latest Xcode.
Sources coming soon.
OK, so I seem to be having some trouble finding the site where I found this information in the first place...
However, from the App Store:
Xcode 7.3.1 includes [...] SDKs for iOS 9.3 [...].

Unity Project crashes on start in iOS 9.1

I have a bunch of apps I've made already installed on my iPad Air 1 & 2 and all of them work fine. However, I recently upgraded to iOS 9.1 and now the app crashes when my splash screen appears.
I've tried to reset my device both by doing a factory reset and by trying to reinstall 8.4 by using an ipsw file. However, apple have stopped signing anything for iOS 8 meaning I am unable to reset my version of ios to an earlier version.
In my searches, I've not been able to find any fixes for the apps I already have installed on my ipad. With my experience, when I upgrade my iOS, everything already installed should work just as they did before. However, all of my own applications now crash after being opened for 2 seconds.
Has anyone else experienced this (I've read 9.1 has broken a lot of applications) but more importantly, has anyone found a solution?
The comment below says I've not provided enough information, but I'm unsure how I can add more as my issue is not related to any of my code. I only upgraded a couple of days ago. I was happily using and testing my applications on the device just fine last week. After the upgrade, none of them are working anymore.

Resources