I have an app that is already in store, now I'm busy making some changes and I want to test on device before submitting an update to store.
After the changes I sent a debug build for iOS. When I try to install the app on my device, nothing happened, not even the usual dialog that reads codename-one.appspot.com would like to install "App name" was shown.
I also try installing the app through iTunes on my Mac, but failed to install.
I got an error as well using iFunbox.
What is wrong with my App? I have other apps using the same debug certificate and are being installed successfully without a hassle.
An app that was initially installed through App Store can not be override with a debug app, even if it's of higher version.
To solve this, the store app on the testing device have to be removed first and you will be able to install the debug app.
Related
currently I'm working on a flutter project and I'm new to it. The app is working fine on android device and iOS simulator. But when I try to run the app on iOS real device I'm getting issues. I tried in two ways,
I took a direct run build to a real device, and that time it is working and app is installed on my phone. But when I open the same app after disconnecting the connection between phone and Xcode, or when open after killing the direct run, it is simply opening the app and immediately closing. And showing no errors.
And I took an archive build, using diawi.com I convert .ipa file into a link, and when I try to install the app, after showing the animation of downloading and installing the app turns to a disable look(app icon changed to grey color) and when I open the app it says, cannot install the app.
I don't know why it is happening. I tried through Automatically and manually code signing style. But in both case I'm getting this issue. But when I run a simulator there is no issue. Please help me to fix this.
when I archive my app and send the build to app store for review, the approver said me the app starts with blank screen. I tried to replicate the issue on simulator in different ways without success:
On xcode: product>scheme>Edit Schema I select Build Configuration "Release"
I changed the build settings in Xcode in the Debug configuration and temporarily turn up the optimisation level from (-O0) to (-O3 or -Os)
The app works fine on simulator without error, If I archive the application and I distribute it with ad-hoc option and I install manually on my device the app works fine too.
The only way to reproduce the problem is distribute the buid to app store and install it via test flight but i can't debug it.
Someone does anyone know what may be causing the problem? I think it could be a configuration problem.
A couple things to try:
Delete the app from your device before installing it from the Xcode debugger.
Install the app using USB with the device in Airplane mode and WiFi turned off.
The Apple App Store rejected my app for an error that I'm having trouble reproducing (a button was unresponsive). I'm updating an existing app, and their suggestion to reproduce the issue is "For updates, install the new version as an update to the previous version, then follow the steps to reproduce the issue".
How do you install the app as an update to an existing version from Xcode? Is there a way to do this through ITunes or ITunes Conect?
Delete any version of the app from your device then install the current version from the App Store just like any user would.
Then use Xcode to install your development build of your update. This will overwrite the App Store version in a matter very similar to a user performing a normal update of an app. Then figure out why your updated app isn't working in this situation.
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 :)
When I try to install an app on iOS 9.0 by tapping an itms-services:// URL in Safari, nothing happens. This appears in the iOS device console:
itunesstored[586] <Warning>: ExternalDownloadManifest: Skipping download and install of: XXXXXXX
This also happens if your device has an App Store version of your app installed, and you try to install an in-house version with the same Bundle ID.
When you do this, the device will simply ignore you tapping on your "Install" button to kick off the OTA install, and silently log that annoying message.
ExternalDownloadManifest: Skipping download and install of: XXXXXXX
Nothing gets displayed on the device, you're left to work out what's gone wrong for yourself.
So the obvious solution is to uninstall your App Store version of your app before attempting to install your in-house version.
Seriously, every year, I waste countless hours creating and deploying OTA apps with Xcode, and the Xcode/iOS error-reporting is non-existant.
It's really Apple at it's very worst.
Elaborating on Mike Gledhill's answer:
I had this problem upgrading from a production build to a newer Ad Hoc build from HockeyApp with the same Bundle ID. This was a security change added to iOS 8.4 and above to prevent the "Masque" attack.
Manifest Masque Attack leverages the CVE-2015-3722/3725 vulnerability to demolish an existing app on iOS when a victim installs an in-house iOS app wirelessly using enterprise provisioning from a website. The demolished app (the attack target) can be either a regular app downloaded from official App Store or even an important system app, such as Apple Watch, Apple Pay, App Store, Safari, Settings, etc. This vulnerability affects all iOS 7.x and iOS 8.x versions prior to iOS 8.4. We first notified Apple of this vulnerability in August 2014.
Source
Official solution from Apple:
You should use TestFlight to test upgrades to your App Store app rather than enterprise distribution.
rdar://22088607
This happens when the version you're installing has a different bundle ID than a version already installed on the device.
Seeing this recently with TestFairy builds when trying to install them on top of an already installed build from the App Store (Xcode 7, iOS 9)
TestFlight builds do upgrade properly however (not surprised).
See also Enterprise App Update Distribution on iOS 8