Ipa file only installs on some iOS devices - ios

I'm facing this issue where my .ipa file installs and runs perfectly on some physical iOS devices. It however, just remains darkened (the logo) after installing on some iOS devices. Now, I've checked the architecture and the build covers all the necessary architectures. I've checked the min sdk too and it more than covers what I need. So I for one am baffled as to why my flutter application only runs on certain iPhones (physical). It runs on all simulators tho.
Photo of darkened logo:
What happened was it became dark and started installing like any iOS app would but after installing, it just remained darkened and was not-clickable. I'm using diawi to generate the link to help the iPhones to download the ipa.
Does anyone know what might be a potential cause for this ?

You must add Device UDID in provisioning profile to get installed on it. If you are making build link via Diawi. You can see all added UDID there.

There should be few reasons where ipa file should not work on few devices where it works on other ones. Here is the listed below :
Device in which you are trying to install, UDID is not added to the provisioning profile
Link you created for ipa file installation gets corrupted
Site which are using for creating iPa installation link contains installation limits
Installation link gets expired after few days due to free version you are using
Suggestions :
If you are using http://diawi.com try it with Login. So it will give you more time before expiration of the link
Try https://www.installonair.com for making links for installation. Its damn easy to use & works well.
Hope this helps everyone.

Related

Problem uploading an app to iTunes Connect

After experimenting a bit with SwiftUI making a new iOS app; I just got to the point where I want to put it on TestFlight to start testing with more people.
But this is where I am hitting a new problem.
After archiving, here is what I get when trying to upload the archive to iTunes Connect:
Provisioning profile failed qualification
Profile doesn't match the entitlements file's values for the application-identifier and keychain-access-groups entitlements.
As far as I can tell, I am not doing anything more or less than I always did in the past, when uploading a new app.
Here is what I can say about the app:
It is using SwiftUI. (This is the first time I upload a SwiftUI app, if that ever matters here)
It is using Core Data.
It is using MapKit.
It is using location triggered notifications.
For the environment:
I just upgraded Xcode to version 11.6 (11E708)
I am using Mac OS Catalina version 10.15.6.
Is there anyone who has faced the same situation before?
Or is there something to check knowing the information above?
I'm having the same problem since around July.
Here is what worked for me.
Archive the project on Xcode11,
Open the Organizer window on Xcode12 Beta
And as usual, you can try uploading from there,
BUT in my case, Here, I faced another issue saying failed to 'APP STORE connect operation error'.
If you face this same error like this, then here are other steps you should take.
Download 'transporter' from the Mac app store.
on the Xcode 12 Beta organizer window, instead of uploading the app, click export the app.
Then open the transporter, and add the file you just exported, then you will see 'Deliver' button. After clicking it , in my case, the app was uploaded in a couple of minutes.
Hope it works for you too.
Xcode11: Version 11.5 (for archive)
Xcode12: Version 12.0 beta (for exporting a project on organizer)
My Mac: macOS Big Sur Version 11.0 Beta
The problem is because you need to check the capabilities. The capabilities in the project needs to be equal to which you configurated in the section of "Certificates, Identifiers & Profiles" in the app. In this question you can find more info

Cannot install Apple Enterprise application

I have an Enterprise app that until recently has been installing and working fine. Recently, I've been trying to install it but I am unable to do so. At first I thought it was the new rule that you needed to have two-factor authentication in the developer account. But I added the authentication and I still can't install.
What happens when installing is, it shows a progress bar that says "Loading". Then at some point it says "Installing", but almost immediately after it says "Installing" the progress bar disappears and the icon goes dark. Sometimes it shows a message saying that the app couldn't be installed and gives the option of retrying or done.
Furthermore, the app DOES install in some devices. I have confirmed that it installs on three devices, which is weird enough. I have no idea what could be causing this. If anyone can shed some light on this I will be forever grateful as I am losing my mind over this. I should add that the app was made in Ionic Framework and, like I said at the beginning, everything has been working perfectly until now.
EDIT: Another interesting point is that I tried running the app from XCode directly to my iPad and it is installing perfectly. It is only when I download it from my Enterprise link that it fails, and only on certain devices so far.
As per your question What I understand that you are running app from xcode and it runs on certain devices, but if you prepare a build it won't install in iOS devices right?
If it is right then follow these steps, may be this will sort issue for you.
If you run the app directly from xcode use development profile in code signing.
If you prepare build for enterprise edition use distribution profile and prepare the build. When you preparing build via archive then using option distribution, select the enterprise mode for preparing the build. may be this will sort your issue.
Before doing this, clean the project.
** I am considering that you have all the updated certificates, profiles and account.

"Unable to Download App", but can install through Xcode

I have a Xamarin.iOS app which is available to download from our company enterprise store. Upon trying to download and install this app on iOS versions 8.2 and 9.3, it gets about 2/3 of the way complete then gives the error message, "Unable to Download App, AppName could not be downloaded at this time.".
The app downloads and installs fine on iOS 11.4 fine. (These are the only devices I have available to test).
I'm able to download other apps which are hosted on this store, so it's not a connectivity or firewall issue.
Since it installs fine on 11.4, it doesn't seem like an issue with the provisioning profile.
I can download on Mac the IPA file which is hosted, and can install this on all the devices through Xcode and it works fine.
Rebooting devices, cleaning the solutions and re-publishing have not worked, and despite connecting devices to the Console there doesn't seem to be any error message thrown.
Any help would be very much appreciated!
I finally found the issue. Clicking on the link in the enterprise store would point to a plist file which would then point to the download package. In the plist file, there was also a reference to the app icon which had a different file name. This meant that on lower versions of iOS it would look for that icon but would not find it. But when directly installing the IPA through Xcode, it didn't use that plist file so would download and install fine.
I don't know why this only affected lower versions of iOS, but in searching for a solution I must have filtered some relevent results out by using those search terms. Thankfully, a whole 3 weeks later and it's finally sorted!

Enterprise Wireless Distribution doesn't work iOS 5.1.1

I've been searching all over and cannot seem to find an answer to this. I'm hoping someone here can help. I'm somewhat new to iOS app development so please bear with me if my terminology is off.
I'm working on an in-house Enterprise iPad app for the company I work for. We have an Enterprise Developer account and we've created all the necessary Certificates and Provisioning Profiles for Distribution (Distribution Certificate, Distribution Provisioning Profile). We are aiming to use the Wireless Distribution Method on one of our websites. I've created the necessary files (.ipa & manifest .plist) and uploaded and linked to the manifest file according to Apple's instructions.
When I test the wireless distribution method using iPads running iOS 6 it works flawlessly. When I try testing on an iPad running iOS 5.1.1 I get "Unable to Download Application" with options "Done" or "Retry". Clicking "Retry" doesn't seem to help.
The app's build settings in xCode are set to
Base SDK: Latest iOS (iOS 6.0)
iOS Deployment Target: 4.3
I've tried Apple's troubleshooting suggestions for Wireless Distribution. I am able to successfully install the app on the 5.1.1 device using Apple Configurator so I know the app actually works on the device.
From what I've seen, many other people have had issues with iOS 5.1.1 but I couldn't locate a clear answer on how to fix this wireless distribution issue. We still have some of the original iPads being used in our company that are unable to upgrade to 6.0 and we want to be able to support them if possible.
Is this just an issue with iOS 5.1.1 that was never resolved?
Is there another setting in xCode that I might be missing?
Do I need to change something else on our server (we've already added the appropriate MIME types as per Apple instructions)?
Any help/suggestions are greatly appreciated!
I had a rather obvious issue - I had named my icon file Icon.png but had listed it in the manifest as icon.png. This worked fine in iOS 6, but not in 5.1.1. Sometimes it's the easiest solutions.
The documentation requests an icon that is 57x57, but I upped it to 72x72, since it is an iPad only app. That may help as well.
I encounter the same problem for distribute InHouse app to iPhone iOS 5.1.
It is solved after adding Large Image Url to the .plist.
I had this issue as well. If you shut down the iOS device and restart it, the app will be there ... just a workaround that helped us here. But I´ll try to fix it withe the icon issues in the other posts

Resource for steps to put app onto physical iOS device

I have a PhoneGap application which works in the Xcode simulator. I also am in the Apple Developer Program so I can do code signing to run apps on actual devices.
However, I am having a hard time finding a good resource to walk me through the exact steps to get the app on my physical iPhone/iPad. I have found other guides which are either for Xcode 3, or they show how to get PhoneGap working in the emulator but not how to get on an actual device, or they are presumably using a different version of Xcode 4 because they reference different commands than I have.
If you have successfully deployed an application from Xcode 4 onto an iOS device, could you please post a link to steps that you used or refer a book that has that information? I appreciate any help that anyone can give on the subject. Thanks!
[Edit: Though I am using PhoneGap, the steps to deploy from Xcode to iOS device are AFAIK the same.]
[Edit to add more detail:
I have my project made and it runs on iPhone 4 simulator and iPad 4 simulator.
I also can plug in my iPad (already went through the assistant to get it provisioned), select it in the scheme list box, click the Run button and it will launch as expected on the iPad. Does this mean that I have the code signing part working at least?
So far so good. Now I want to make a build so that I can distribute to people to test the app on their devices (I have their UDIDs already). When I get to the "Publishing Your Application for Distribution" section of the iOS Development Guide in the iOS Developer Library, I get stuck in the Archiving Your Application for Testing section. I am having trouble finding the Code Signing Identity build setting. It also looks like they have changed the menus around because they refer to a Build > Build and Archive menu item that doesn't exist anymore. I tried Product > Build for > Build For Archiving which seems like the closest option and the build actually succeeds but in the Organizer > Archives tab there are no archives.
Sorry that I do not have more specific information about where the process is breaking down for me but I'm new to the Xcode environment. I can typically figure these things out on my own as long as there is documentation somewhere but I have not been able to find any that match my build of Xcode. Thanks!]
[Edit again: After doing more research I ended up following the suggestion of others and did a complete uninstall/reinstall of Xcode which ended up resolving the issue albeit in a rather heavy handed way.]
You'll want to check out Apple's Documentation, for sure:
iOS Development Guide: Managing Devices and Digital Identities
iOS Development Guide: Building and Running Applications
They have a complete walkthrough of provisioning, building, and deploying your application to a device.
The Xcode Organizer makes it fairly straight forward and painless now... but there are still some sticking points, and reading the documentation will give you a full overview of exactly what's going on in the process.
Contrary to apple advise, setting Skip Install (Build Setting) to NO fixed this. Using phone gap here.
Archives not showing up in Organizer for XCode 4
Once you have your Apple Developer Account Credentials, You can follow gist I have created:
Apple's Code Signing Process

Resources