iOS: Cannot install app as IPA - ios

I followed the steps to create an IPA of my app and would like to install via iTunes. After importing to library, I can see my app listed in the Apps section and a button says "Will Install" is on the right side of the list item. Also the app's icon appears in the iOS desktop view.
However, after clicking sync, which gave no errors, the app does not show itself on the desktop of the device.
I tried to deploy directly using Xcode's organizer and that worked fine.
I also tried to drag my provisioning profile into iTunes to no avail.
What am I missing here?
I'm using iTunes 11.0.2, Xcode4.6.2.

I've also tried distributing my app through iTunes to beta testers, but I didn't succeed- always had errors and errors.
Use the iPhone Configuration Utility for Mac OS X or for Windows- this works auto-magically, with no errors.
Guaranteed.

Related

Xamarin Deploying iOS App Ad Hoc Failing to Install

I am trying to deploy an iOS app Ad Hoc to an iPhone for beta testing. I've been developing the app on Windows VS, I have a Macbook air with all the necessary software (Xcode, VS, etc), and I have paired to it with VS on my Windows machine. I have also followed the following steps:
Created an Apple Developer account
Created an App ID with the bundle identifier as the same exact one as the one in info.plist
Created a signing certificate using my Macbook Air, downloaded it, and installed it into XCode
Created a provisioning profile with the App ID and the certificate, and made sure to include the device that I want to load the app onto.
Made sure everything above was set to "distribution" and "ad hoc" as needed.
Set Bundle Signing in my iOS project properties to Manual Provisioning, and selected the Signing Identity and Provisioning Profile to the ones that I created for this deployment.
Set the build to Release and the target to Remote Device
Ensured that the deployment target in info.plist was set to the highest available, which is 15.4, though my iPhone is at 15.6 (could this be the problem?)
Set the IPA Packaging Options to "Build iTunes Package Archive (IPA)"
Set "Include iTunesArtwork images and the iTunesMetadata.plist" to true in the same area
Successfully built the iOS project and produced a .ipa file
After all that, I've been trying to get the .ipa onto my phone, which is definitely the device I added to the provisioning profile.
I've tried two methods to do this, and both have failed:
Connecting my phone to my Windows machine and opening iTunes. Dragging the .ipa file onto the device. The app shows up on my phone, but when I try to open it, I get this error:
"This app could not be installed because its integrity could not be verified". Though it should have been.. The device is linked to the provisioning profile that was used to create the darn thing.
Connected my phone to my Macbook Air and accessed the device through XCode > Window > Devices and Simulators. I emailed myself the .ipa file and downloaded it onto the machine (the Microsoft docs explicitly state that emailing the .ipa should work just fine). In the "Intalled apps" section of the device, I clicked the little '+' and then pointed it to the downloaded .ipa. After a few seconds, it pops up an alert window that says "Unable to install *.iOS".
Other things I have tried since this has been a problem:
Recreating the above steps by re-registering my device, creating new certificates, downloading, installing, all that business.
Messing with the deployment target version.
Jumping out from behind the couch and startling it to make it do what it's supposed to.
I swear I'm done with Xamarin forever after this problem is solved, but all the headaches I've experienced have made me think twice about whether to even bother with .NET Maui haha thanks for any help you can provide
Firstly, the error This app could not be installed because its integrity could not be verified" may be caused by the proper certificate or the test devices are not visible in 'Devices' (UDIDs added) in developer.apple.com/account.I found two simialr issues, you can refer to them: link1, link2.
Secondly, have you follow this docs on how to generate the IPA file?

Couldnt download IOS Application From diawi?

I created an app and define UDID on the developer account. Then I created IPA file for distribution on Xcode. I uploaded it to diawi and I can see my UDIDs on diawi. Everything is perfect. But when I click download, an error occurs:
application can not be downloaded, at the moment
How can I solve this? Any suggestions?
You should make your .ipa with adhoc distribution option, if you have make ipa with app store distrubution then it will not work on diawi I think! So, make sure that you are selecting adhoc distribution when creating your ipa!
I had the same issue and I resolved in following way.
Connect the device with MAC.
Open Organizer then chooses devices.
3 Choose your Connected device from the sidebar.
Choose Console inside the chosen device.
Now install the app it will show the exact cause of the problem.
In my case, I was trying to install the app on a lower version of iOS. When you will get the exact cause you can resolve it. It may be different than mine in your case.

Ipa installation loop

I have created a minimal demo app from the default tab template and the generated apk works correctly on my Android.
I can get the generated .ipa to the iPhone 4 IOS 7 via iTune but when I try to run the app it just show a message 'installing' and the app stuck in an infinite “installing” loop.
This generally indicates a problem with the provisioning profile. Make sure that our device is one of the devices registered in the app's provisioning profile. Also, note that you can't install "app store" builds directly on your device. Those are meant for uploading to iTunes. You can only install development builds directly.

Enterprise Deployment w/New Device

Attempting to deploy an Enterprise application wirelessly, with partial success. I do have the Enterprise Developers Kit, I've created the provisioning profile, added the devices ID's, uploaded the mobile provisioning profile, the ipa, and the P-list.
When I install the app through xCode directly onto the iPad, then attempt to download it wirelessly, it works fine. When I attempt to use it on a device that hasn't had that direct install, it downloads about 66%-75% of the way, right when the title shows up on the app, then says "Unable to Download Application".
Any ideas?
So, if you're on here, you should check to see if your iPad or iPhone is up to date with whatever version you archived it with on xCode. I updated the iPad to 5.1.1 and it installed just fine. My bad.

IOS: install .ipa

I created an adhoc version of my app (.ipa) and I sent it to a my friend; now he hasn't his mac, can he install .ipa without macbook (with iTunes) on his iPad? or .ipa is possible to install only through iTunes with a mac?
You can install with the itunes for Windows.
If not use the "over the air" distribution. You'll provide an online link and he will install it directly in his phone. Search the web, there are many tutorials.
If you are interested in OTA installs, I would check out TestFlight, they are free and honestly fantastic.
Your friend can install the app using iTunes on Windows, but you will still need to make sure his UDID is added to the provisioning profile you built the app under. Otherwise it will fail on his end for code signing issues. TestFlight is good for making sure these are resolved before publishing. Otherwise you can put the .ipa file on dropbox for your friend to download.
An Easiest Way to Install .ipa file to iDevice listed below.
Make sure your device UDID is registered in Developer account.
Select Generic Device as Target and go for Archive to Generate .ipa file. (Hope you know the process of generating .ipa file for development)
Once your .ipa file is ready then connect your iPhone or iPad to MacBook and select Device and Simulator in X-Code Window option.
Enable "Connect Via Network" Option in the Popped Up Window.
Click on to the + Symbol button which is located at below Installed Application List Section.
enter image description here
Select .ipa file which was earlier generated and saved at some location of your MacBook.
enter image description here
It will take few seconds to get your application installed on your device and will also appear in "Installed Application List" with build number.
INFO: you can do this with connecting the iDevice to your system or if your iDevice in same Network (only if, you have enabled Connect Via Network to the device).

Resources