I have an iPhone app I have developed that I want to have some Ad Hoc testers use. I have a file "xx.ipa" and a "xx.mobileprovision" in a directory on my iMac, which has been uploaded to a private website.
It was built with Xcode, I have all of the provisioning profiles downloaded (Dev, Dist and Ad Hoc).
My tester tells me that it won't load, so I want to load it on my iPhone (it is one of the "devices", his iPhone is the other), so I can see what is wrong and fix it.
How do I do this?
Drop both of those files onto iTunes and sync. As long as the device syncing is listed in the provisioning profile, there should be no issues.
If you are trying to test the Ad Hoc installation, just do the same. I would remove any build installed by Xcode during development though.
Related
I followed a set of instructions from multiple sources about how to deploy apps ad hoc without the need for itunes; however, I ran into a discrepancy. I got the necessary distribution certificate, made an ad hoc provisioning profile, used the profile to build and archive, shared the app, filled out the necessary fields, uploaded the .ipa and .plist files to my server, and tested. I couldn't install the app because there was no provisioning profile on the device. I uploaded the provisioning profile, tried downloading it from the device, and it worked. Now I can download and install the apps without connecting to my computer.
However, when testing on a different device, the app refused to run. I found out that it was because the mobile provisioning file was refusing to install, and that was because developer mode was not turned on on the device. I then found out that in order to turn on developer mode I have to connect to a computer.
Is there a way around this issue, to either turn on developer mode without connecting to a computer, or to not need the provisioning profile installation installed, or to somehow install the provisioning profile on the device without developer mode on?
I don't see a mention of developer mode or the provisioning profile on this page: http://developer.apple.com/library/ios/#featuredarticles/FA_Wireless_Enterprise_App_Distribution/Introduction/Introduction.html
What am I missing here? Thanks.
Archive your app with the profile having all the device UDID's that you want to support. This should solve your problem.
TestFlightApp.com
You can distribute ad hoc (limited to 100 devices) or enterprise (deploying custom apps company-wide > 100 devices). Plus, Apple just acquired them so either their service will get even better or they'll integrate it with Xcode 6.
Using TestFlight at work and it's amazing! Track who downloads you builds, gather feedback, import the TestFlight SDK and it will even report crashes.
I developed some 3 apps for my organization and we want to distribute it to some 30 iPads in the office. I am tying to find a step by step process to do it. But didn't find any so far. The methods I tried and failed are the following,
I took the app (with .app extension which can be found in ~/Library/Developer/../IOs_Release) and provisional certificate and dropped them in iTunes library. After that I connected a new iPad (not a registered as development device) to my mac book. Through itunes, I tried to sync the app. But an alert appeared on the ipad showing "xyz app is failed to install"
I tried the ad hoc distribution. First I archived app in the xcode archive and clicked distribute button. A wizard appeared asking for what kind of distribution do I want. I selected ad-hoc distribution and it automatically selected my iPhone distribution certificate and processed and gave me .ipa file. I tried installing it in the iPad by itunes sync and it gave me same error.
It would be great to get steps for in-house app distribution since they are nowhere to be found.
Check out my answer to another person's SO question HERE
This assumes that your organization is setup with an Enterprise developer account.
There is a project called iOS Beta Builder, check the below links:
Introducing iOS Beta Builder
iOS Beta Builder GitHub page
iOS Beta Builder Mac AppStore
The provisioning profile used for the adhoc build must have a reference to the 30 devices.
Go to the Provisioning Portal and add all 30 devices under the Devices section.
Then add those devices to the adhoc provisioning profile (Provisioning, Distribution).
Once added, download the updated provisioning profile and install it in Xcode. Delete any previous profile.
Build and Archive the app. Make sure the archive build is properly setup to use your adhoc provisioning profile.
Use the Organizer to save the ipa file from the archive build.
Drop the ipa file into iTunes. Now sync each of the 30 devices to include the app.
Xcode - Product -> Archive
Distribute -> (Select) Save for enterprise or Ad-Hoc Development (Next)-> Code sign identity (select your profile)-> save File on disk -> distribute project.ipa file.
I am working on an iPhone application for a customer. After the development will be finished the application will be on the Apple Store, but meanwhile during its development, on a regular basis the customer wants to see and install the application on his own phone to check the current status of the development.
-I went to the provisioning portal registered my customer's device udid and added to my application's provisioning profile.
-I downloaded the provisioning profile and installed it.
-I then built the ipa and sent it to my customer.
SHouldn't this be enough?
The customer is experimenting a sync error. He can import the ipa inside itunes but at the end of the sync he receive this error alert on his iphone.I tested this ipa file on two other iphones and is working (both registered and one is ios 5.1 and the other 5.0.1)..Where should I check for misconfigurations?
I'm running the latest xcode version 4.3.1
Make sure you build with the distribution provision. I use a new Xcode build configuration for this (called Ad Hoc) and I make sure my archive build uses this new build configuration. The customer will need a copy of this distribution provision (which he double clicks), and you send him the ipa file. He drags this into his iTunes library and he is then able to install the app to his device.
Sometimes the provisioning profile needs to be installed on the device separately. I encountered this problem once with my team member who had Windows.
Just send your customer the profile and ask to install it on the device.
You may need iPhone Configuration Utility to install the profile on the device.
I am using an enterprise account for deploying an internal iPad app. The app is signed with an adhoc provisioning profile, so far I never used the entitlements file. The app is deployed in a web server and installed via OTA.
The customer has some 80 devices added in the provisioning portal. The app is installing fine in every device except for one recently added and the only difference I can see is that all the devices have iOS Team Provisioning Profile installed (not sure why because AFAIK they are not development devices).
When the customer tried to install the app in the latest added device (which was included in the adhoc profile and the app built again), it downloads but fails to install. However, he downloaded the ipa file and could install it using the cable.
I also tried with one of my development iPads which is also present on the customer's adhoc profile. I deleted all the profiles, then install the app via OTA. The app installs and runs fine, however when I go to check the installed profiles on the devices (under settings/general) there is not a single profile installed.
My questions are as follows:
Is the entitlements file a requirement?
If it's required, why the app is working fine with the rest of devices (could be due to the team
profile?)?
Why isn't the profile installed when I install the app on my development device? The profile was installed on the rest of devices when installing the app.
I just cannot understand why this is workig with with the other devices but failing with this one.
It turned out to be a stupid problem.
After adding the new device to the profile, downloading, importing it to xCode and rebuilding the app, the profile embeded inside the ipa file still was the old one. I just cleaned the project and everything was fine (probably xCode didn't update because it was the same edited profile)
I'm using Ad Hoc distribution to send preview/beta version of my iPhone apps to customers for approval. I'm always sending a zipped application and mobileprovision files.
Sometimes however I encountered situation when nothing in the application changed but we needed to add a new device for testing.
I've added a device in Provisioning portal and assigned it to a provisioning profile my application uses for ad hoc distribution. I've downloaded new mobileprovision file and imported it to xcode now the question is do I need to rebuild the application to enable the app on a new device or would it be enough to just send old build with updated mobileprovision file?
No, simply installing the new provisioning profile on the target device will do