Install .ipa with iTunes 12.3 - ios

I would like to install an application that I exported as .ipa with Xcode. I exported the file with Xcode 7 Beta and without Apple account developper.
I followed several tutorial to install the application on my iPhone (connecting the device - click on intall - sync)
But it does not. I is not an error message, but the application will not install in full. Loading goes well, and at the time of application installation, everything stopped, and the logo is clouded.
iTunes or the iPhone do not say anything to me about an error eventual.
When I click the application (grayed) iPhone triggers an alert "can not open -titleApplication-" with two options: Cancel or repair.

I exported the file with Xcode 7 Beta and without Apple account developper
That's a bug in Xcode, then. I'm surprised it allowed you to do that.
You cannot export without a developer account, because you need a distribution profile. For example, you could export as an Ad Hoc Distribution build linked to your device, and you could then install the .ipa file through iTunes - but to do that, you would need an Ad Hoc Distribution profile, and you can't obtain one without an Ad Hoc certificate and identity, which required a developer membership.
You can, without a membership, hook your device to your computer and run your app on that device - that's a new feature in Xcode 7. But you cannot usefully export anything without a membership.

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?

Do I need an iPhone for TestFlight? [duplicate]

I have enrolled to Apple Developer Program to release my first app. My app's bundle ID is the same at developer.apple.com, at appstoreconnect.apple.com and in my XCode project. However, XCode still gives the error in "Signing & Capabilities" tab:
Failed to create provisioning profile.
There are no devices registered
in your account on the developer website. Plug in and select a device
to have Xcode register it.
And another error:
No profiles for ‘com.xxx.yyy’ were found
Xcode couldn't find any iOS
App Development provisioning profiles matching ‘com.xxx.yyy’.
First error message made me think that a physical connection to an iPhone is required to create a provisioning profile.
I have never connected a physical device to my Mac before. I made my tests by iOS simulator. I was planning to do my physical device testing via Testflight.
Do I have to physically (via a USB cable) connect an iPhone to my Mac in order to create a provisioning profile? If not, what might be wrong?
Is it required to have provisioning profile in XCode to be able to use Testflight or publish an app to App Store?
Do I have to physically (via a USB cable) connect an iPhone to my Mac in order to create a provisioning profile?
Yes, if you want to use automatic signing. An automatic provisioning profile unites a computer and a device and an app; it says that this computer is allowed to build this app onto this device. Until Xcode sees the device, it can’t create the profile.
The alternative is to switch to manual signing. It’s more work but now you can generate the profiles yourself.
You do NOT need a physical iOS device (iPhone or similar) to upload an app to App Store! Whether for real or TestFlight.
I realize this qn is old now, but I'm writing this for people like me, who stumble in here fighting the same problem... 😏
What you need to upload apps on App Store:
A MacOS machine (not too old)
A paid Apple Developer Account
An app signing certificate from the above account
A provisioning profile, with or without a physical device
When trying to create a new provisioning profile in your Apple Developer Account, the first option is:
iOS App Development
Create a provisioning profile to install development apps on test devices.
See:
If you chose this option, you need a physical device! In fact, the way I understand it, you are supposed to register the UDIDs of ALL the phones and tablets that you want to test your app on...
If, like me, you don't have an iOS device, you can instead chose the last option in the list:
Developer ID
Create a Developer ID provisioning profile to use Apple services with your Developer ID signed applications.
See:
This one only requires an Apple Developer ID!
At the end of your create-provisioning-profile process, you have to download your profile and open it in Finder to install it (in XCode or whatever you're using). In your project, you have to switch from "automatic signing" to "manual signing". In XCode, this is done here:
If, like me, you had already downloaded your app signing certificate and installed it in your KeyChain app, you may run into this error when trying to apply your provisioning profile:
"Provisioning profile 'your profile name' doesn't include signing certificate 'your certificate name'".
The way I solved this error was:
In KeyChain:
Exporting my Apple Developer certificate to a .p12 file.
Deleting my Apple Developer certificates.
Re-importing the exported certificate file to keychain.
In XCode:
Close and re-start XCode
In the "Signing & Capabilities" tab in the project, de-select the newly downloaded profile and then select it again.
Now, it works! 🙂 From there, you should be able to follow any tutorial for uploading an app to App Store.

Is it possible to OTA install an iOS App that is signed with FREE Apple Dev Account

Note that I'm aware of these posts:
How to create IOS .IPA file and share it, using FREE Apple ID?
How to create ipa in xcode 6 without Apple Developer account?
I don't want to send the app to anybody for testing (not knowing their UUID).
My situation is this
I have the .ipa file. Can generate it using 'xcodebuild' command or by drag&drop the archive's .app file into iTunes
this .ipa is codesigned with my free AppleID
the provisioning profile, generated by XCode contains 3 device UUID
What I'd like to know: why I can't install this .ipa file to the device which UUID is presented in the provisioning profile.
If I try to install it using iTunes it starts to install, but after the progress bar (progress circle to be exact :P) on my device completes, the app icon just disappears and iTunes is stuck in the syncing process. No error message is shown.
I also tried to install it using diawi and got the error message "Unable to Download App". Although it shows me that my device's UUID is in the app's provisioning profile.
No, I believe the free account only allows you to build and install directly on the device with a development build. Also, those builds' provisioning profile expires after 7 days, so the OTA builds wouldn't last very long anyway.
If you want more details of why the install is failing, you should look at the device console during the installation. It will give you more details on the exact reason for the failure.

.ipa file stuck on installing on iphone

I seen some answers in google but am not getting proper solution.I am trying to install my ipa file in my iphone but it's stuck on INSTALLING.
Am using Xcode 6.1.1 with iOS 8.1
My iphone is 8.1.2 version
My questions are ?
1. Which profile can i use for deploy ipa file into real device Development or distribution.
2. It is necessary to add real device in to member center for installing ipa file.
3. Before click on archive how can i fill my Xcode Code Signing Identity and Provisioning Profile fields.
Which profile can I use for deploy ipa file into real device Development or distribution.
===> both devlopment and distribution could use for deploy ipa file
It is necessary to add real device in to member center for installing ipa file.
===> yes. you must add device udid to profile devices list. follow this link to see how to config provisioning profile
Before click on archive how can i fill my Xcode Code Signing Identity and Provisioning Profile fields.
==> you could follow this link to archive
or you could follow App Distribution Quick Start
Steps to install IPA file on IOS.
Download (https://pangu8.com/sideloadly) Sideloadly.
Now connect your iphone to your PC.
After connecting your iphone to your pc the iDevice should be auto detected.
Now enter your apple account and select IPA by brosing to your pc.
Click on start button.
Enter your apple account password.
You should see the app install in your iphone.
If you see untrusted developer error then go to setting of your phone.
Select device management and click on trust developer.

Unable to install provisioning profile on ad-hoc distribution test devices using iTunes 11 and iOS 7

It seems like that there is a problem installing ad hoc distribution apps using iTunes 11. I found out that the specific problem is that the provisioning profile never gets installed on the devices, which causes the application installation to fail and block (the icon stays black).
Use case:
distribute ad hoc apps to iOS 7 tester devices that do not have XCode and without having to use third party webservices like testflight.
Installation success when:
I install my app on an iPad with iOS 7 with a profile installed using iTunes 10 when it was running iOS 7. This because the profile is still valid.
Installation fail when:
I install the app on a new device running iOS 7 via iTunes 11. Looking at: Settings->General->Profiles I do not find any profiles in this case (despite I copied them on iTunes and sync the device).
Hence what I need to find out is how to install provisioning profiles on a iOS 7 tester device with or without using iTunes 11 and without:
- using third parties software like TestFlight.
- forcing the tester to use XCode
Any help/suggestion?
PS: Good old times when It used to be possible to install the device by just dragging and dropping it on the iTunes 10 icon and then synchronizing it with the device.
The situation is way better than "the good old times". You can install both the ad hoc provisioning profile and app directly on the device by directing the user to a specially constructed web page.
That link is a little old. I've created a rough script that creates an over-the-air install from the ad-hoc IPA file you create in the Xcode Organizer (although enterprise would probably work too).
All you need to do is modify yourhost.com and yourhost_via_ssh in the bin/mk_ota file.
Solved!
The issue was that had sent to my collaborators the UUID finder App which apparently has a bug (at least on iOS 7 devices) because it gets the wrong uuid:
It does substitute in the first part of the UUID a series of letters "F" and change the rest of the uuid:
UUID / UDID / UID:
FFFFFFFFrestofuuid(incorrect)
The safest way to get the correct uuid is to copy it directly using iTunes. One you have the correct ad hoc distribution certificate (with the right uuid) then send it to the tester and ask to reinstall (by dragging and dropping it on iTunes and then Synchronizing or by sending it via email and opening the mail from the device - which will prompt the user to an installation process). To check if it is installed on the testers device in the general settings menu.
Notes: I sent the UUID finder App a couple of weeks ago (as of 23 December 2013), so the current version of UUID finder may be working correctly. Double check in case you are in doubt. EDIT: API deprecated, see Deprecated UIDevice Methods - Apple Developer

Resources