iPhone App Store. Client submitting question - iphone

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.

Related

Distribution Certificate in xCode Organizer

Can I have more than one Distribution Certificate? I am developing an app but the current certificate was not created by me and is for another app. That app and cert was done by someone else who is no longer here.
I downloaded the vert, but in the organizer it tells me, Valid signing identity not found.
What am I to do?
Thanks for the help.
The error is shown, because a valid Signing Identity is not found. The Apple Documentation clearly describes how to export/import it. You should ask the certificate's creator to export his own copy of the certificate (because it can't be re-downloaded from the iOS Dev Center), then you can import and use it.
There's a difference between certificates and provisioning profiles.
Certificates are associated per account while provisioning profiles are for individual apps under each account.
If you are working with multiple iTunes / Apple Developer accounts, then yes you should have a certificate for each of those accounts installed in your keychain.
And assuming your app has it's own application (bundle) ID, you need to have a provisioning profile for each of the apps you're developing under that account. There are different provisioning profiles for distributing ADHOC builds and the Store build that gets uploaded for review by Apple.
It sounds like you need to start with just getting the certificate for the account you want to work with, then the provisioning profile.

Ad-hoc distribution in XCode 4

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?

Resubmit binary from other system

I developed a iphone application and submitted on iTunes. but after this i lost the system so now i want to submit updated version of this application on itunes from other system. so plz suggest me how i install the old provisioning profile certificate on other system. or revoke the previous provisioning profile.
If i revoke the old provisioning profile then application that are already installed on other devices that will work or not work? please suggest how i upload new binary.
Thanks
to submit a binary from ANY system you need:
the distribution certificate from the keychain WITH private key
the app store provisioning profile for this app
then you can build&archive the app
you have to create a new version on ITC
then in Xcode organizer you first validate then submit the app, chosing the correct provisioning profile
In case you don't have item 1 then you have to create a new certificate via the keychain utility and website.
In this case, as Cocoanetics says, you’ll need to create a new developer certificate through the iOS Provisioning Portal, following the same procedure—using Keychain Access’s “request a certificate from a certificate authority” malarkey—that you used to create it originally. You’ll then have to recreate your development and distribution provisioning profiles using that new certificate.
To avoid this kind of problem in future, it’s a good idea to use Xcode’s “Export Developer Profile” feature: it creates a single encrypted package for you that contains the private key, certificates, and provisioning profiles that you have on your system. You can then easily back up that single file to a flash drive or online storage service or whatever, and re-import it later if you somehow lose your data again. To export the profile, go to the Organizer (Cmd-Ctrl-O in Xcode 3.x, Cmd-Shift-2 and then click on the “Devices” tab in Xcode 4) and select “Developer Profile” from the left-hand sidebar.

Lost Private Key For iPhone Distribution Certificate. What could be solutions?

I have lost my private key for iPhone Distribution Certificate during an OS upgrade.
Now I want to upload a new iPhone App to the App Store and that requires me to sign the App with an iPhone Distribution Profile/Certificate. Is there any way to create a new iPhone Distribution Certificate. I did not find any "New.." option there on the developer portal.
One more question: must I have to sign the code with an iPhone Distribution Certificate to submit on the App Store? Or can I sign and upload it on the App Store with an iPhone Development certificate?
Thanks In Advance...
Revoke your current certificate, wait a few seconds and refresh the page and you should see a button "Request Certificate". You'll have to follow the Certificate Signing Request instructions again, and upload the .csr file. You'll then have to wait for your Team Administrator (could well be you) to Accept the new certificate before downloading it and installing in your KeyChain.
You'll have to create a new provisioning profile for the App, using the new certificate.
Hope this helps :)
Yes you can have a solution for this
Revoke certificate you have in distribution and get CSR again (it should be from Mac where you need key) and creat new certificate. Once you do this you will have certificate, now go to profile, you will find profile invalid, edit it and take new certificate you created and regenerate again. Download certificate and profile and use in code and you are good to go

iPhone: Error-'this provisioning profile does not have a valid signature'?

In Developer program portal,
I created a developer certificate. I registered for my iPhone deice. And registered an App ID (In App Purchase enabled). I created a provisioning profile using the created certificate and app id details.
I followed the procedure that Apple said and created it.
I downloaded the provisioning profile and installed on Xcode and on the device.
I tried to install my application on my jailbroken iPhone device( i did jailbroken already) using the provisioning profile which i downloaded, but it throws an error as 'this provisioning profile does not have a valid signature or it has a valid but untrusted signature(or it has a valid but untrusted signature)'.
Can some one advise me what is wrong here and how to resolve it?
NOT YET RESOLVED WITH THE SUGGESTIONS PROVIDED UPTO NOW. ANY HELP PLEASE?
Martin/
I had the very same issue although I set up provisioning, entitlements etc. correctly.
One cause of the error is described in http://www.onidev.com/2010/01/12/the-application-does-not-have-a-valid-signature/
Certain folder names may not be used in your app bundle. Check especially your "Copy files" build phases.
It seems this correlates with typical Apple app bundle names.
Unallowed folder names include (but are probably not limited to):
resources
contents
Renaming my folder from contents to myContents solved the problem for me.
Did you add the developer certificate and the corresponding private key to your keychain?
Not only do you have to add your own certificate (iPhone Developer: Johny Appleseed) you must also add Apple's Certificate Assigning Authority to your local keychain as well.
EDIT:
The certificate section in the program portal has the following info:
Downloading and Installing Development
Certificates In the ‘Certificates’ >
’Distribution’ section of the Portal,
control-click the WWDR Intermediate
Certificate link and select “Saved
Linked File to Downloads” to initiate
download of the certificate. On your
local machine, double-click the WWDR
Intermediate certificate to launch
Keychain Access and install. Upon CSR
approval, Team Members and Team Admins
can download their certificates via
the ‘Certificates’ section of the
Program Portal. Click ‘Download’ next
to the certificate name to download
your iPhone Development Certificate to
your local machine. On your local
machine, double-click the downloaded
.cer file to launch Keychain Access
and install your certificate. Team
Members can only download their own
iPhone Development Certificates. Team
Admins have the authority to download
the public certificates of all of
their Team Members. Apple never
receives the private key for a CSR.
The private keys are not available to
anyone except the original key pair
creator and are stored in the system
keychain of that Team Member.
The certificate assigning authority should be something like applewwdrca.cer, there are screen shots and more info in the "How To" section.
EDIT 2:
Read through this Provisioning HowTo carefully (as well as the other HowTo tabs in the program portal), provisioning is a pain in the ass tedious process, if this documentation does not fix your problem then you need to burn one of your free support cards and call Apple because there is a problem with your particular machine. You should have gotten 2 of those support requests when you entered the program, if you used them all you can buy more.