Vous êtes sur la page 1sur 10

How to export and Import keys & install certificate

on a different machine?
1. Export private key from key chain access -->login on
comp 1.
2. Import and install it to comp 2.
3. Download and install Certificate from apple portal
-->certificates.
4. Download and install WWDRCA.cer (which was the step I
stumbled on) from apple portal -->certificates.
5. Download and install developers/distr. provisioning profiles
to Xcode.

How to prepare your app to be uploaded to


AppStore?
Follow Apple Distribution user guide besides the following steps for
verification

====== Step 1 ======


Certificate is an essential element to submit or test an application on iphone.
It comes with code sign(Signatures) which would verified when an
application is submitted on apple store or when tested on iphone.
One can bypass these if an application is installed on jail-break iphone or
when submitted on Cydia but this is not possible when one wants submit it to
Appstore.
One has to through 2 step procedure to create a certificate from developer
portal. I simply copied those two from “iphone developer portal”
[1] Generating Certificate Signing Request
[2] Submitting a Certificate Signing Request for Approval
Generating a Certificate Signing Request:
[3] Open the Utilities folder and launch Keychain Access from the
Applications folder.
[4] Set the value of Online Certificate Status Protocol (OCSP) and Certificate
Revocation List (CRL) to “off” in the Preferences Menu.
[5] Select Keychain Access -> Certificate Assistant -> Request a Certificate
from a Certificate Authority.
[6] Fill in your email address in User Email Address Field. Confirm that this
email address is same as provided at the time of registering as iPhone
developer.
[7] Fill in your name in the Common Name field. Confirm that this name is
same as provided at the time of registering as iPhone developer.
[8] It is not necessary to have an Certificate Authority (CA). The ‘Required’
message would be eliminated after finishing the following step.
[9] Click the ‘save to disk’ radio button if prompted, choose ‘Let me specify
key pair information’ and proceed.
[10] If you choose ‘Let me specify key pair’ option then one has provide a
file name and click ‘Save’. Select ‘2048 bits’ for Key Size and ‘RSA’ for the
algorithm in next screen and proceed.
[11] CSR file would created on the desktop by Certificate Authority.
Submitting a Certificate Signing Request for Approval:
[1] Once CSR file is created log in to the iPhone developer program portal
and go to ‘Certificates’> ‘Development’ and select ‘Add Certificate’.
[2] Click the ‘Choose file’ button, select your CSR and click ‘Submit’. The
portal will reject the CSR if Key Size is not set to 2048 bit at the time of CSR
creation.
[3] This will followed by notification to Team Admins by email of the
certificate request.
[4] The change in the certificate status would informed by email on approval
or rejection of the CSR by Team Admin.
Download/Installing Certificate on your machine
[5] Once the CSR is approved the Team Members and Team Admins can
download their certificates via the ‘Certification’ section of the Program
Portal. Choose ‘Download’ next to the certificate name to download your
iPhone development certificate to your local machine.
[6] Once this is done double-click the .cer file to launch Keychain Access and
install your certificate.
On installation of certificate on your MAC the next step is to create an App
ID.
Note: You have to follow this step only once and late you don’t have to make
certificates for your other applications.
====== Step 2 ======
Follow the following steps to create an App ID:
[1] Go to ‘App IDs’ and click ‘App ID’ after logging in to iPhone developer
program portal.
[2] Populate the ‘App Id Name’ field with your application name (that is –
iPhone app) and in ‘App Id’ enter something like
com.yourdomain.applicationname (i.e com.edumobile.iphoneapp) and click
submit.
[3] Please do note down the “App Id” as this would be utilized in Info.plist,
bundle identifier tag.

====== Step 3 ======


Next step would be to create a Provisioning file for our Xcode and is
the last step for creating binary which would submit it to Appstore.
[1] After you navigate to ‘Provisioning’> ‘Distribution’ click ‘Add Profile’ in
iphone developer program portal.
[2] Choose “App Store” in “Distribution Method”.
[3] In “Profile Name” enter your application name (i.e iphoneapp) which will
be your provisioning profile name as well.
[4] In “App ID” select the app name(i.e. iphoneapp) which you created in
Step 2.
[5] After downloading the Provisioning profile copy it to
your/YourUserName/Library/MobileDevice/Provisioning Profile.
====== Step 4 ======
Now everything is step up, open your project in Xcode
[1] Click “i” Info button after selecting your project from “Group & File” in
left side bar.
[2] Navigate to “Configuration” tab and select “Release”. Click the
“Duplicate” button from bottom, name is “iphoneDistribution”.
[3] Click on “Build” tab and choose “iphoneDistribution” and enter in
“Search in Build Settings” filed ‘Base SDK’ and select the current selected
Device and change to what gadget your application is targeting (I prefer
“Device-iPhone OS 2.0)
[4] Now in “Search in build setting” field enter “code signing identity” and
choose the provisioning profile created earlier in Step 3. Apply the same to
the child property “Any iPhone OS Device”.
[5] Once this done close the Info screen and select the “Target”> “Your
App” from “Group & File” in left side bar and click on “Info” button again
from Xcode.
[6] To be on the safer side repeat step 3 and 4.
[7] With the Info screen still open click on “Properties” tab and enter “App
Id”(i.e. com.edumobile.iphoneapp) in Identifier field.
[8] Now that all is done, click on “Build” (cmd+B) from Xcode>Build.
[9] You will find your binary file created on right clicking on “Product”>
“YourApp” and selecting “Reveal in Finder”. Zip this file.
====== Step 5 ======
The next step is to submit the binary file created to itunesconnect.
[1] In your browser type https://itunesconnect.apple.com/ (this website is
very slow over https) and login using your iPhone developer account.
[2] Click on “Manage Your Account” > “Add Application”
[3] On replying to a simple question from apple you can sumbit your
application to app store. You also need few things in your system before you
submit your application.
a) Application Name (must be unique)
b) Application description
c) Application Category
d) URL for your application feedback.
e) Icon of your application in 512 x 512 size.
f) Main picture of your application in 320 x 480 or 320 x 460 size. (You have
option to submit up to 4 more pictures of your application).

How To Submit Apps to the iTunes


App Store?
Step 1 – Login to iTunes Connect and Click on “Manage Your Applications”

Screen-shot-2010-01-04-at-12.26.26-PM-300x72.png ¬

Step 2 – Add New Application

Screen-shot-2010-01-04-at-12.26.47-PM.png ¬

Step 3 – Encryption selection

Select “Does your product contain encryption?” Most of us will click “no” but if you’re not
sure click here for more info on export compliance.

Screen-shot-2010-01-04-at-12.41.34-PM-300x126.png ¬

Step 4 – Enter New Application data.

Application Name – This is where you enter the name that will appear in iTunes, next to
the icon. When you’re naming your app, be sure to think about your most important
keywords and embed them within the title. The example below was a test where I tried
putting “coffee finder” “starbucks” and a variation of “find coffee”. Sales lifted significantly.
However, Apple has been cracking down on using brand names in titles and keywords, so
I’m not sure if I could get away with Starbucks in the title today the way I did before
Starbucks had an app.Screen-shot-2010-01-04-at-12.47.41-PM-300x70.png ¬

Application Description – This is area where you describe to consumers what your app is
all about. It is recommended to write a on sentence summary of the app, then outline
additional features and functionality in a easy to skim, bulleted format. Also recommended
to place in this text field are any reviews and a personal message about submitting
complaints, bug fixes etc to the support email address rather than posting a negative review.

Device Requirements – There are three selections:

• iPhone Only – select this if your application does not work on iPod Touch. For example
an app which hinges on the use of the camera or video
• iPhone/iPod Touch (2nd Generation) – select this if your app only works on 2nd Gen
phones or higher
• iPhone/iPod Touch – select this if your app will work on any iPhone/iPod Touch
Primary Category – Selecting a category can be a science unto itself, but for the purposes
of this article, choose for the primary category the group that best describes where your app
should live. For example if you have a coffee finder app, it could live in lifestyle or
navigation. Do a little research to see what your competition is doing (or not doing) in each
category and make a strategic decision based on that data.

Secondary Category – To be frank, I have not found research around how secondary
categories play into find-ability in the App Store. My best advice is to use this selection as a
fallback for your second best category fit.

Copyright – Typically in this area you will put the year and your name/company name. Ex:
2010 Clever Twist, Inc.

Version Number – This becomes important when you begin uploading revisions or new
versions of your app. You can version in whatever format is comfortable for you. I’m sure
there’s some versioning expert out there gagging that I’d say “call it what you want” so
versioning expert please enlighten me :) Ex: 1.0

SKU Number – This is another identifier for your app and needs to be a “unique numerical
identifier” for your app. Usually I abbreviate the name of the app and then put the year. Ex:
RYF2009

Keywords – Oye. Don’t screw this up, whatever you do. They keyword gobbler will take your
keywords and you won’t be able to change them again until the Apple wizards sprinkle fairy
dust on your developer account. Ok rant over. So you have exactly 100 characters to get
your app found. Do your homework. There’s an entire post waiting to be written about this
one topic. Whatever you do, do not submit your app unless you’re certain your keywords are
correct. Once you submit your app, you CANNOT change the keywords until you
upload new binary.

Application URL - Exactly what it says. If you do not have a specific website set up for your
app, point them to your regular website. Point them somewhere that feels like there’s a
human present.
Support URL – Here’s where you send them for lots of back scratches and TLC.
Unfortunately I’ve only had TWO people actually submit a support request via my Get
Satisfaction link I provide for all of my apps. People usually send me an email via the app
itself or bitch and complain on the review posts. :) Seriously they don’t just bitch, they bitch
AND complain – over 99¢.

Support Email Address – Make sure this is right. This is the email address where Apple will
contact you if there are any issues with your app.

Demo Account – Full Access – You know what, I have no idea what this is for. I always leave
it blank. Anyone got some add’l info on this field? tks!

Step 5 – Ratings

Screen-shot-2010-01-04-at-9.10.28-PM-300x45.png ¬

This is where you tell people what a bad or good influence you will be on their children.

Step 6 – Upload

• Application – this is where you upload the zipped binary for the app
• Large 512 x 512 Icon – this is the large, hi-res icon that will be displayed in the
iTunes Store
• Primary Screenshot – At a minimum you have to have one screenshot, this is
where you upload it. These must be a .jpg or .tif file that is 320×480, 480×320,
320×460, or 480×300 pixels and at least 72 DPI
• Additional Screenshots – Same as above, notice how it says “Choose all
Screenshot files before clicking Upload File” – actually do that or your files won’t
upload properly.
A note on screenshots – be sure to NOT MENTION THE PRICE OF YOUR APP in the
screenshots. It will get rejected.

Step 7 – Availability Date and Pricing

Availability Date – Ok here’s another point that could be expounded upon at length, but in
short be careful when selecting your availability date. Push it out to some date in the future
that you think is beyond the date when Apple approves your app. For example if you set
your avail date to Feb 1st and Apple approves it on March 1st, the app immediately pushes
out to the App Store. Apple don’t hold NOBODY’s hand and there ain’t no crying in baseball
either.

Pricing – Do your research when pricing your app based on the type of app your selling,
your target market, your marketing strategy etc.

App Store Selection – If you have an app that should not be available worldwide, click on
this link and choose the stores where you would like for your app to appear.

Screen-shot-2010-01-04-at-9.21.58-PM.png ¬

Step 8 – Localization

This is the area where you can customize the description of your app for each country’s App
Store. In my limited experience in going multi-lingual I’ve seen is does produce a bump in
worldwide sales.

Step 9 - Review

This is where you make sure you didn’t’ goof the whole thing up. If you’re like me you
probably did so even though you’re probably exhausted by the whole submission process,
take a minute to do a once -over.

How to upload your application using Application loader?

How to download Application Loader:


1) Sign into iTunes Connect and click on "Manage Your
Applications". Make sure it says "Ready To Upload".
2) Scroll down and select Download Application Loader
3tdobk9glu7efwc.png ¬
3) Click "OK" to Save File
qjzz8kgjyjfktu2.png ¬

4) Once saved, open the file and follow the instructions to install
the Application Loader
ngpy3v4w92moztj.png ¬

5) Once installed, open the Application Loader application and


select "Next"
bogsbs1qjea9gx0.png ¬

6) Enter your iTunes Connect Apple ID and Password. Select


"Next"
3wxb68ijb9ck2xz.png ¬
7) After the application is done loading, Select "Next" to continue
0zvdtrrci2sbeq7.png ¬

8) Once your applications have been reviewed, select the


application you want to add to the iTunes Store and click "Next"
o57jzhv30zdc8fp.png ¬

9) All AppMakr apps have been tested on iOS4, so on the next


screen click "Yes" to continue
pbhalpb5b6632z2.png ¬

10) Click "Choose" to select your binary file to upload


ckfalu2jlrui427.png ¬

11) Select the binary (AppStore .zip file you downloaded from
your AppMakr account) and click "Send"
****Please note that Safari automatically unzips the binary file, so
you should download the App Store App from your AppMakr account
using another browser, ie. Firefox
em0omfeooek00iy.png ¬

12) Your application will take a few moments to authenticate with


the iTunes Store
tgkndtxg8vt5jts.png ¬

13) Once complete, and your app package has been uploaded to
the iTunes Store, click "Next" to continue
6jf8zsz2b9e1p9f.png ¬

14) Congratulations, you uploaded your binary and completed


submission of your app to iTunes Connect. Click "Done"
niaurssh71hy2iy.png ¬
15) Now your app will have a Status of "Upload Received"
wi4p84asue27hg4.png ¬

Vous aimerez peut-être aussi