Ad-hoc distribution in XCode 4 - iphone

I have a problem, I've got ad-hoc distribution povisioning profile. I have done all procedure
product/archive and there are only two buttons validate and distribute and NO share button.
What to do? I followed this tutorial http://diaryofacodemonkey.ruprect.com/2011/03/18/ad-hoc-app-distribution-with-xcode-4/ But there no button share.
I tried to click distribute then chose save for enterprise or ad-hoc distribution then saved it but ipa file doesn't work on IPhone(.
Please help me.

I will try to make it simple for you:
Collect UDID for each iPhone/iPad you have then login to the provisioning profile and open the Devices page and add them.
Generate distribution certificate from the provisioning portal
Create new APP ID with bundle ID
Create ad-doc dist. profile
login to iTunes Connect and create the App details
download and install the ad-hoc profile and the certificate you generated.
configure your xcode project to referee to the bundle id and sign the build with the profile you just installed.
archive the project and distribute it through www.testflightapp.com or just send the ipa file to the testers so they can install it through iTunes.
TestFlightApp will make your life easier and save you time telling the testers how to download the ipa through the itunes.

Do you have the UUID of the device you are trying to install to registered to your developer account and added to your ad-hoc provisioning profile?
Is the build configuration used for archiving set to use this provisioning profile?
When you archived to a .ipa, did you try to install it through iTunes?

Related

Failed to install iphone application for ad hoc

I followed the stepped to create a ad hoc carefully:
Added the testers team devices to the devices list in iOs Provisioning profile page
Created a new distribution profile for ad-hoc
In xcode I chose the project and clicked on product->archive.
I sent both the archive (ipa file) and mobile provision to the testers team.
The application failed to install.
I saw an answer of a developer to set in build settings the provisioning file to Code Signing Identities to the distribution profile here
In the list I can see only iOS Team Provisioning Profile that was created by xcode.
This is probably not the distribution profile.
What is missing? How can I set the build settings to the distribution ones?
In the IOS Provisioning Portal, in the Provisioning page, click the 'Download' button by your new distribution profile and it should get added to XCode.
To check you have it, go to XCode Organizer, Devices, then Library / Provisioning Profiles on the left.
You may also use https://testflightapp.com.
This is a free service and works very reliably - you can manage your testers and test ipa's easily.
First I also tried testing my app without such a service - but I ended up using this, since it's also very easy for the testers.
Create Distribution certificate and Provisioning profile.
You should have the Distribution certificate in key-chain.
Download Distribution Provisioning profile and double click on that profile.
Confirm you are having the profile in XCode -> Organizer.
In case the Add-Hoc deployment won't install on a testing device, and you have the device added to the profile, and the app signed correctly ...
Ok, what I did is to add an Entitlements.plist file and set the Can be debugged option to NO and set it on the target as the Code Signing Entitlements, but actually I don't know if this was the fix because I won't try again and again, now that it worked.
Then, actually I didn't archive the app and save the .ipa file from Organizer - Archives, but instead I've sent the .app file from the build/Release-iphoneos as it is, together with the profile downloaded from dev account. It will install in iTunes and it just worked, after couple of hours of frustration.

Install .ipa file on iPhone without a provisioning profile?

I want to generate a .ipa file, so that I can install it with iTunes without a provisioning profile.
You cannot do this on an un-jailbroken device the app will simply not install if it does not contain a registered provisioning profile.
The best way if you don't want to create one provisioning profile for one particular app is to use a Team Provisioning Profile wildcard and build out straight from Xcode your connected device.

how do I give a provisioning app to another person?

I have a developed an iphone application. The web service was developed by someone who is remote and does not have a developer account / xcode etc. He does have iTunes though.
Is there a way for me to allow his iphone to install the application without him having to create a developer account, have xcode etc? A way to make the application available to his iTunes would be ideal.
Is this possible?
Many thanks,
Fidel
Get his iPhone device UDID. Then create a distribution profile for ad-hoc distribution and add his UDID to the profile. Create a distribution build of your app and sign with that distribution profile. Send over the build .app and the .mobileprovision (provisioning profile) to him. He will have to install the profile first via iTunes (drag and drop to Library section and then sync) and then similarly he can install the app once the profile is successfully installed.

How do I test my app on iphone

I am university student, and i received from school an invitation to apple developer which i created an account and joined the group. I downloaded and installed the "WWDR intermediate certificate" and installed it, also noticed that they added my device in the provisioning profile.
From here I am lost, were I am not sure what is the next steps I should do
Login to the Member Center
Go to the provisioning portal
Create a developer certificate (different from a distribution cert, which you'll need for AppStore release)
Create an App ID (and add a device, if you're doing an ad hoc app)
Create, download, and install a provisioning profile
Plug your iPhone into your Mac
Build your Xcode project for the device (instead of for the simulator)
In the developer portal you should:
Enter your app and give it a name.
Add the app to a provisioning file.
Download the provisioning file
Drag that file into Xcode.
In the organizer-window in Xcode - add the provisioning file to your phone. This might not be necessary since Xcode can automatically download a team provisioning file.
That was from the top of my head. Try search for a guide or tutorial for it, there's plenty of them :)

iPhone App Store. Client submitting question

I am writing an application which will be submitted by my client.
I don't want to give them my source code, what must I do?
You just need to provide them the binary output as described in the docs on the iPhone Program Portal. They then upload this binary file along with the meta data on iTunes Connect (also detailed in that doc).
The binaries must be compiled using the app store distribution certificate that was obtained from the program portal. If your client has not provided these then your application will not be accepted.
Goto
build/distribution-iphoneos/ inside that you have .app file compress it and that compressed file is to be sent to the client.
hope it helps u.
These are the following steps needed to build an iPhone app under an Apple Distribution License and upload it to the App Store.
Create A CSR from Keychain Access in a Mac machine.
Access Keychain Access as Finder>>Applications>>Utilities>>Keychain Access.
Upload this CSR while creating a Distribution Certificate.
An Apple License can have only one Apple Distribution Certificate.
Download Distribution Certificate.
Open Keychain Access.
Access Keychain Access as Finder>>Applications>>Utilities>>Keychain Access.
Install the downloaded Distribution Certificate.
Right Click on the Distribution Certificate and select "Export Certificate" and save as Personal Interchange Certificate (.p12) format in destination Library>>Keychains.
For every new application we need to create new Provisioning Profiles under one Apple Distribution Certificate.
For each new Provisioning Profile, we need to create a new App Id.
So we need to create a Adhoc and Appstore Provisioning Profile.
Adhoc Provisioning Profile is for testing the app in apple devices.
*Appstore* Provisioining Profile is for uploading the app to appstore.
Download the respective Provisioning Profile and double click on the profile to install it.
Delete all the previous profiles and just retain the newly installed profile.
Build the application by selecting the Code Signing Entity as the newly installed Provisioning Profile.
6 Upload the ApplicationName.app.zip file as the binary file in Application loader while uploading the application to appstore.
Reference: https://developer.apple.com
I believe this would be of some help to you.