iOS 8.1.3 - Enterprise distribution not working - ios

we have a few apps that we install on our devices using an Enterprise distribution profile. To install an app, we use the usual itms-services link:
itms-services://?action=download-manifest&url=...
We use the same link to install updates to the apps.
Ever since this latest iOS update (8.1.3) something strange is happening with the link. On some devices, and only for one or two of the apps, the link does absolutely nothing. It pops up the dialog with Install or Cancel, but when the user presses Install nothing happens. The app's icon doesn't get the loading overlay, nothing. To make matters worse, all the apps on all the devices have been installed the exact same way, yet it only happens to some apps on some devices. An app that installs fine on one device will have this problem on another.
On one of the devices that are having this problem, I even tried uninstalling the app, and then running the link again, but still nothing happens. In fact, now I can't install the app at all on that device, since nothing happens when the link is clicked!
Things I've tried:
Restarting the device
Removing all profiles from the device
Does anyone know what's going on, and how to fix it?

Ok, so I found a hacky way around this bug. If I change the bundle ID in the manifest file to something different, such as adding "-ios8fix" or something to the end, then it'll install. It doesn't look as nice, since during the installation there's a second app icon on the screen. But once the installation is finished, the second icon disappears.
One benefit of doing it this way though, is that if the installation fails the user can still use the old version of the app, since there'll temporarily be 2 icons, one for the old version, and one for the update...

Related

iOS universal link does not work on one device (although works on other iOS devices)

I'm facing a strange issue with universal links on iPhone - iOS 12.2.
I'm trying to open the APP using a registered universal link (the same link works on other devices using both - the same and different version of iOS), using identical application (the same version).
What's strange is that I can't even find the option to open the link in a native app when holding the link for a while on this device, although I found it in other devices.
It used to work, but then suddenly stopped to open the APP. I tried rebooting and reinstalling the app.
Did anyone face similar issue? Any suggestion in debugging? I'd really like to avoid factory reset of the phone.
You might be running into either of these two bugs:
https://openradar.appspot.com/45201697
https://openradar.appspot.com/33893852
I just ran into this. Deleting the app, reboot the device, wait an hour or so (unsure of time needed to wait) then reinstall the app. That seems to force it to re-check the AASA.
Seems like there could be a process running after reboot blocking swcd from running.
Have you tried to delete the app and restart the phone to check if this is not a apple-app-site-association problem?
So after upgrading to the newest iOS the problem still remained in Chrome.
I was able to open the contextual menu and open the app through the Open in... item from Safari, and since then it works as expected across all the browsers. This doesn't explain the origin of this issue, but I hope this will help you as well.

App stuck on loading screen - no crash

I'm here because I'm totally jammed on a problem, and I need some suggestions of where to look for an issue. I submitted an update to my iOS app, and when users try to update the app, the app no longer goes any further than the splash screen. They have to uninstall and reinstall the app for it to work properly.
I've testing the upgrade locally through xcode, and I tested it using TestFlight, and can't reproduce the behavior in either case. Does anyone have an idea what this could be?
Edit
I should also add, there is no crash. It just hangs there.
Did you use Local database in app, previously?
if yes then migration is required, if you make changes in Database.
i think it maybe issue.

TestFlight gives users null app after uninstalling

Some of our users are running into an issue in a beta app of ours. They're attempting to unisntall an app (iOS 9.1, iPad Air) and finding a null app left over after uninstall. From one of the reports:
I then tried deleting the app through GameCenter. The GameCenter app
asked me if I wanted to uninstall the app as well, and I said yes.
However, I noticed that the app was still present on the home screen,
so I deleted it there as well.
Now, TestFlight says “Open”, not “Install”, even though the game is
not present on the home screen.
It appears that the deleted app is now a null package on the phone, which doesn't show up on the home screen. They can't install the app again in TestFlight because TestFlight believes it's already installed.
From their more detailed report:
In Settings->General->Storage->Manage Storage, I found a 67.5 MB
“null” app. I deleted it, and it goes away - but if I go back into
the Manage Storage page, it reappears. I tried hard-resetting, but no
difference.
In iExplore, I can see that com.XXXXXXXX.XXXXXXX is present, but I
can’t interact with it.
In XCode, I see it on the list of installed apps (under
Window->Devices, with latest OSX and XCode). When I delete it, it
goes away and immediately returns. In the log, I see that the
uninstall is requested, and then this error: [MIContainer
allContainersForIdentifier:options:error:]: 348: No bundle container
found for identifier com.XXXXXXXX.XXXXXXX (this was the app ID) and
then a warning that no uninstall occurred.
I'm looking for feedback from other app developers who have run into this issue. How can users remove the app from device, and re-install from TestFlight?

TestFlight App installs but does not show installed in TestFlight App Display (TestFlight shows it at 90% installed)

So I have two apps successfully submitted for TestFlight Beta Testing (See image below).
For the first one, installation works as expected. For the second one, the app appears "stalled" at around 90%. Never gets passed what's shown in the image. However, if I return to the home screen the app has installed (no install progress indicators on app icon) and appears to be functioning normally.
I receive no errors within TestFlight and no error logs are produced. TestFlight just never shows the "OPEN" icon for this particular app.
Some other External Testers are also seeing this so it leads me to believe it has something to do with my build and it could be something I can fix. (I do not know if all external users are seeing this issue). Biggest concern is this will happen to some users when the app is released in the App Store and they will end up losing their data.
I have tried deleting and re-installing the app with no success. I have also tried killing the TestFlight app process. "Stopping" the install simply shows "INSTALL" and reselecting gets to what's shown below. Version updates also display the same issue.
Anyone have any ideas on what may be wrong with this particular app?
#kanso already posted the solution. So be aware of using bad app version numbers ;-)
The issue was resolved using a build number that does not contain a '0' following a '.'
for example,
Build Version: 1.1.002 # no good
Build Version: 1.1.2 # WORKS
Ive seen this, and it seems a bug in the test flight app, since the applications seem to install properly as you mention.
You don't need to worry, it is a bug by Test Flight. People have registered their complaints. Hopefully, they will fix it soon.

iOS 8 enterprise apps are stuck in limbo inside the device

In trying to release a new update to one of my enterprise iOS apps, I'm finding that the OTA download is failing. It will give me the "Would you like to install 'xxx'" alert, and tapping 'Install' is about as far as it will go. There's no indication that anything is happening. This occurs on my iPhone 6 and iPad both running the most recent release of iOS 8.
Running the devices on the iPhone Configuration Utility, it shows the list of installed apps, and the one app that is refusing to install has an "Install" button where all the others have "Uninstall." In the screen cap below you'll see the renamed bundle and the original bundle.
When I click the "Install" button, the iPhone Configuration Utility crashes.
I managed to get it to work using a workaround that I found elsewhere on StackOverflow, which requires renaming the app's Bundle Identifier, but it still seems like a pi$$-poor way to do it.
It seems clear that the app is somehow stuck in limbo, showing up on the app list but not showing up on the iPhone screen, and also is refusing to be overwritten. My question is, is there a way to purge the old app from the iPhone's memory, and possibly reload it using the original Bundle Identifier?
Apple still hasn't fixed this correctly in even the latest versions. There are several manifestations: the app does download, but the device doesn't quit the calling app, so you don't know if the app downloads or not. If the app was never on your device before, it usually downloads. If it was there before, and was deleted, it doesn't download. If the downloaded app is already running in the background, or you're doing in-app downloading, it often doesn't download because it doesn't want to replace a running app. I usually start the download, then switch immediately to the springboard to watch it download. If I see the clock dial on the app icon, then I know it's downloading. Changing the bundle is not a good thing, not to mention not giving any user feedback when you tap "Install."
As far as updating the app from the in app prompt.
It's a problem with apple/ios8. They aren't exiting the app after the install. If you quickly tap the home button after you hit install. Occasionally you will get a successful download.
For future use you could find out a way to use exit which will kill the app but apple warns against using exit due to poor user experience. But if apple isn't providing a good user experience in the first place for this process I think this warrants the use imho.

Resources