Showing posts with label ios; iphone; submit; approval. Show all posts
Showing posts with label ios; iphone; submit; approval. Show all posts

Saturday, June 25, 2011

App submission - submission hold!


Ok. We're officially into day 3 of submitting this app. It's really incredible.

But - we've successfully created the binary - and verified it. That can only be a good thing. But there was this whole 'nother section where I uploaded a bunch of artifacts, and went to upload the binary, only to find that I had to endure the digital equivalent of a Bataan death march to submit the app.

So, now I've decided to circle back and go through that loop again. First, I'll review my blog entries on that area to refamiliarize myself with that process.

I'm not sure this is going to work, mostly because of the wildcard issue. Actually, the bundle id is there; the app id I'm sure I originally put as Mye Quiz App. So it should match whatever it's supposed to matching; I hope.

Ok. My next error. When I try to upload, it says:

"The bundle is invalid. Valid values for the Key UIBackgroundModes in info.plist are audio, location or voip"


Ok. Well, let's recreate the binary. I clicked "Application does not run in background" on quiz-info.plist.

And deleted required background modes, as well as "0 entry".

Build succeeded. Then, I compressed it.


M. Highlight the app located within the "Products" sub-folder and
select 'Reveal in Finder' from the Action popup.
N. Reveal in Finder Use the compress option in Finder to create a
.zip file containing your application. Be sure to compress only the
.app file only and not the entire build folder.


And done. Using the load application utility, the submission was successful. I have survived the Bataan death march.

Now, all that remains is to pray for acceptance from the Almighty Apple.

Friday, June 24, 2011

App submission - try, try again

Ok. We are back into our continuing saga of submitting the app for a client to the app store. When we called it quits last night, we were in the middle of a Bataan death march to a bewildering and expanding series of steps which would lead to the pot of gold of just getting the app submitted.


Ok, let's venture over to that url in Safari and see where we're at as far as that goes.

Ok, that's the IOS Provisioning Portal. It has tabs for Development, Distribution, History and HowTo.

Ok, but where's the list of instructions I was following?

It was somewhere like this:

http://developer.apple.com/ios/manage/distribution/index.action





Ok, so that's the one with this Bataan death march sequence:

Obtaining your iOS Distribution Certificate
Create and download your iOS Distribution Provisioning Profile for App Store Distribution
Creating and Downloading a Distribution Provisioning Profile for Ad Hoc Distribution
Building your Application with Xcode for Distribution
Verifying a Successful Distribution Build
Updating your Application


Ok, So, I was hopefully getting near the end of 1. I had just saved a p12 private key.


Create and download your iOS Distribution Provisioning Profile for App Store Distribution

To successfully build your application with Xcode for distribution via the App Store, you first need to create and download an App Store Distribution Provisioning Profile.

What could this entity possible be?


These are different than the Development Provisioning Profiles that were used earlier in that Apple will only accept applications if they are built with an App Store Distribution Provisioning Profile.

Ok. So, it's something I need to do. I think the development provisioning profile was for a device? I forget.

Note: App Store provisioning profiles do not allow for a distribution built application to be installed on an Apple device. To install your distribution ready application on a device, you must create an Ad Hoc provisioning profile.

Ok, I'm not worrying about ad-hoc right now.


Team Agents should navigate to the Provisioning section of the Provisioning Portal and select the Distribution tab.

Done.

Select the App Store radio button.

Ok. where is that? I don't see it.

Let's go to "howTo"


:A Provisioning Profile is a collection of digital entities that uniquely ties developers and devices to an authorized iOS Development Team and enables a device to be used for testing. A Development Provisioning Profile must be installed on each device on which you wish to run your application code. Each Development Provisioning Profile will contain a set of iOS Development Certificates, Unique Device Identifiers and an App ID.

Devices specified within the provisioning profile can be used for testing only by those individuals whose iOS Development Certificates are included in the profile. A single device can contain multiple provisioning profiles.

Creating a Development Provisioning Profile
Installing a Development Provisioning Profile
Building and Installing your Development Application"

No - the above is Development provisioning profile.

// note - this processs is endlessly confusing. You can see plainly how it said
"Create and download your iOS Distribution Provisioning Profile for App Store Distribution

To successfully build your application with Xcode for distribution via the App Store, you first need to create and download an App Store Distribution Provisioning Profile. "

// and then said:

Team Agents should navigate to the Provisioning section of the Provisioning Portal and select the Distribution tab.

Select the App Store radio button.


// Yet there is no app store radio button. Plah.


Let's google this:

"App Store Distribution Provisioning Profile:"

Here something at:

http://developer.apple.com/library/ios/#documentation/Xcode/Conceptual/iphone_development/145-Distributing_Applications/distributing_applications.html

Distributing Applications

When you’re ready to distribute your application for testing or for general distribution through the App Store, you need to create an archive of the application using a distribution provisioning profile, and send it to application testers or submit it to iTunes Connect. This chapter shows how to perform these tasks.



Publishing Your Application for Distribution

When you’re ready to publish your application for general distribution through the App Store, you submit it to iTunes Connect.

This section describes how to prepare your application for submission and how to submit it to iTunes Connect.
========================================================

Creating a Distribution Profile for Your Application

To create a distribution profile for your application:

Create a distribution provisioning profile in the Portal with these characteristics:

Distribution method


App Store

Profile name


Distribution Profile

App ID


The appropriate application ID for your application.



Download the distribution profile and install it in the Xcode Organizer.

Drag the .mobileprovision file to the Provisioning Profiles list under DEVELOPMENT in the Organizer.


What? That's it? No go there, do this, do that?

Ok, let's go back here:

https://developer.apple.com/ios/manage/provisioningprofiles/viewDistributionProfiles.action


Team Agents should navigate to the Provisioning section of the Provisioning Portal and select the Distribution tab.

// Done

Select the App Store radio button.

// Let's try the "New Profile" button. That's the only possibility.

Enter the name for your Distribution Provisioning Profile.

Distribution Profile


// also selecting "App Store" instead of "Ad Hoc"

Confirm your iOS Distribution Certificate has been created and is displayed.

// There's nothing there. But, I've created it before.

Select your wild-card App ID to build all of your applications with your single Distribution Provisioning Profile.

// I didn't select a wild card. I'll just go with the app I uploaded. It's available on a drop-down box.

Click ‘Submit’.

// Ok. We now have:

// Provisioning profile app id Status
// My Quiz App Distribution Profile SN6LAS6AYP.com.factorenterpris... Active

Click on the name of the Distribution Provisioning Profile to download the .mobileprovision file.

// downloaded..

Drag the .mobileprovision onto the Xcode or iTunes icon in the dock to install.


// done - and the inevitable problem:

"A valid signing identity matching this profile could not be found on your keychain".

// Quel surprise. Well I put three identities into the keychain.


Let's check goole for that error.

Here's a good possible link:

http://stackoverflow.com/questions/999313/iphone-app-signing-a-valid-signing-identity-matching-this-profile-could-not-be-f

I'm trying this, but it might only work for developer...

After carefully going through the thread here and checking all the solutions proposed by people, I can confidently claim this, after following the steps mentioned at the Apple developer account for creating CSR and mobile provision file, just do this!,

Launch Xcode.
Select window->Oragnizer
Click this refresh button and that filthy yellow bar will remove instantly.

// Well, maybe I didn't install the .p12. But when I double click on it, I get a couple of passwords. But, when I try my own,
// maybe I entered the wrong one, I get this:

// MAC verification failed during PKCS12 Import.

This one got a lot of votes.

I had the same problem: I first downloaded my certificates to my small MacBook while on the run. When trying to install the certificates on my iMac... then I ran into the problems described on this page.

After spending hours pulling my hair out like many of you, I performed the following steps to fix it:

Close all your stuff except your webpage that should be logged into App Dev center.

Open Xcode. Click WINDOW > ORGANIZER > select "Provisioning Profiles" on the left. That should bring up your provisioning profiles. Highlight one by one (if more than 1), right click and delete profile. Yes, just do it! Delete them all! (I kept making a new one after a new one trying to make the thing work.)

From the first page you see after logging into the App Dev Center on the right side click "iOS PROVISIONING PORTAL" > (do not "launch assistant"). Instead click on the left side. Select CERTIFICATES. You will probably have just one line listed with your name/company - from there click on the right side REVOKE. Click OK to verify that's what you want to do.

On the same page click DEVICES. Click the box next to your device you are trying to provision and click REMOVE SELECTED. Again click OK to verify.

Wait about 2 minutes to let Apple do their thing.

Now click on "HOME" that is on the left side navigation.

Click "Launch Assistant"

create a new app ID - call it whatever you want. Just make sure it's unique enough to know that's the one you just created because the others you've been messing with all day will not be deleted from Apples Dev Center.

You should be able to follow the rest of the Assistant without troubles -- the main thing is you just had to delete your old provision profiles and start over.

Good Luck!

Sheesh. I'm walking through the whole damn thing again. Creating a new App Id and everything. Maybe it's for the best.

Ok; after creating the new app, I'm back to keychains again:

aunch Keychain Access

In the Applications folder on your Mac, open the Utilities folder and launch Keychain Access.

Within the Keychain Access drop down menu, select Keychain Access > Certificate Assistant > Request a Certificate from a Certificate Authority

Ok, this time give it a specal name cccert4...basically it has cert 4 in it. It's an cly's upload folder.

In the Certificate Information window, enter the following information:
In the User Email Address field, enter your email address
In the Common Name field, create a name for your private key
(eg. John Doe Dev Key)
In the Request is group, select the "Saved to disk" option
Click Continue within Keychain Access to complete the CSR generating process

// Damn. The cert name is still showiny up as cly carson. How did that happen. Damn.

// Well, here's my description: Cly Carson Cert4

// It has my ipod touch id.

// Ok, it's generated.

// Profile is Cly Carson Cert 4
// Cert name is Cly Carson


// Ok, I deleted the old provisioning profile (under my name) and put it under his name.

Step 3: Verify Provisioning Profile Installation

Your Provisioning Profile file should appear in the "Provisioning" section within the Summary tab of Xcode's Organizer window.

// Ok, it's there.

// Next

Step 1: Download

Download & Install Your Development Certificate

Ok, this is called:

developer_identity-1.cer

Step 2: Install

On your Mac, double-click the downloaded .cer file to launch Keychain Access and install your certificate.

// now this is going to put it into the keychain

// ah, there it is. His private key is under cly carson cert 4. Now I have it identified.

Step 3: Verify your private and public keys in Keychain Access

Verify the iOS Developer private and public keys are paired together in the Keychain Access application to ensure your Certificate is properly configured on your Mac.

// Yes, under Keys. Perfect.

Ok, try to run it. Error - he appears more than once on the keychain. Delete all but the most recent.

Now, it just crashes; clicking on error only says gc exited. A green check next to the the file with the app id.

But now, if I start the simulator, it works. Then, start it on device in debug, and it works. But, I don't like the "your company your domain" in that file. It's going screw me up for sure.

How can I fix that?

Ok, that problem is solved. It turns out you need to edit the /project.pbxproj to fix it.

Ok. Let's post this for now, and take a break. My eyes are getting bleary. This is a monster.

Thursday, June 23, 2011

Submitting the app - part duex - or trois

Ok, now that we've got our materials gathered, I just want to get rid of a problem I thought I had gotten rid of, which is apostrophe's in the text data showing up as garbage. Let's find one in the XML file:

Well, I got one, but it wasn't the same one. I just added a space between it and the question mark, and the problem disappeared. Scary that the other one didn't show up.

Ok. I have to hang in there. Let's get some music going on.

Ok. How do I submit this thing now? Well, let's just log in under the client's name again.

Ok, you have to go to iTunesConnect, and select manage accounts, then add app.

After entering the language and the company name, we get this:

You have no eligible Bundle IDs for iOS apps. Register one here.

The problem is the app ID is under my developer account. I think I just should create a new one for this.

Here's what App id means:

App IDs are an integral part of the iOS Development and Provisioning Process that allows an application to communicate with the

Apple Push Notification service and/or

an external hardware accessory.

In addition, an App ID can also be used to share keychain data (such as passwords) between a suite of applications

and share document and configuration data between your applications using iCloud.


Ok, we won't be doing any of that with this.


An App ID is the combination of a

unique ten character string called the "Bundle Seed ID"

and a traditional CF Bundle ID (or Bundle Identifier).

// A traditional CF bundle id? Traditional as in, like, Christmas traditions?
// What's a CF? What's a Bundle? Name Value pair, probably, like a plist.


The Bundle Seed ID portion of your App ID can be utilized to share keychain access between multiple applications you build with a single App ID.

// That's just swell.

In addition, it can be incorporated into any external hardware accessories you wish to pair your iOS application with.

// Fabulo. Can I just submit my app?

Registration of your App ID is required to utilize the Apple Push Notification service (APNs)

// Tops on my list.

and to register an application to incorporate In App Purchases.

// Yeah, well that could be useful down the line.


The Bundle Identifier portion of an App ID can be substituted with a wild-card character (asterisk '*') so that a single App ID may be used to build and install multiple applications.

// Might go with this.


If the wild-card character is not used, the Bundle Identifier portion of your App ID must be input as your CF Bundle ID in Xcode to allow the application to install on your device.


// Ok, so I will need to do this when I'm starting my next app.


The Bundle Seed ID portion of your App ID does not need to be input into Xcode.


Wild-card App IDs cannot be used with the Apple Push Notification service or for In App Purchase.

// Ok; I will need to use thes "traditional" CF Bundle, just to not eliminate those
// options.

// One problem is going to be namespace - I already have it registered under the name.
// I'll just jigger it.

here's the app name:

My Quiz App

Here's the bundle identifier:

com.mydomain.myquizapp


Ok, here's what we have:

ALPHANUMERIC.com.mydomain...
My Quiz App Configurable for Development
Configurable for Production
Enabled Enabled Configurable Configure

Well, so I've done that. How to submit it? Let's try distribution.

http://developer.apple.com/ios/manage/distribution/index.action

OMG.


Distribution


The distribution area of the iOS Provisioning Portal is where you will prepare and learn how to submit your iPhone and/or iPod touch application for delivery via in-house or Ad Hoc distribution.

// Holy mother of God. This is like freedom through work.


For information about distributing your application on the App Store, please see the App Store tab.

Obtaining your iOS Distribution Certificate
Create and download your iOS Distribution Provisioning Profile for App Store Distribution
Creating and Downloading a Distribution Provisioning Profile for Ad Hoc Distribution
Building your Application with Xcode for Distribution
Verifying a Successful Distribution Build
Updating your Application

Doh...

Ok. I go here:

http://developer.apple.com/appstore/

Prepare for App Submission

Ok, I actually went through most of that in the previous step.

I just noticed I need a 50 x 50 icon as well.


Ok. Where was I? I just had to pick up my wife at the station.


Ok, well, I was able to upload the icons and give the application description and all, but now I'm stuck - I'm trying to upload the binary, and for some reason I can't get the uploading application to see it. I think maybe I need a distribution certificate? I dunno...maybe a mismatch on the name...



Submitting a Certificate Signing Request for Approval
After creating a CSR, log in to the iOS Provisioning Portal and navigate to ‘Certificates’ -> ‘Distribution’ and click the ‘Add Certificate’ button.
Click the Upload file button, select your CSR and click ‘Submit’. If the Key Size was not set to 2048 bits during the CSR creation process, the Portal will reject the CSR.
Approve your iOS Distribution Certificate.


Only Team Agents are authorized to prepare and submit applications for distribution.



http://developer.apple.com/ios/manage/distribution/index.action

Ok, I completely was unable to get back to this from the menu, but it looks this this whole sh*t need to be done:

Obtaining your iOS Distribution Certificate
Create and download your iOS Distribution Provisioning Profile for App Store Distribution
Creating and Downloading a Distribution Provisioning Profile for Ad Hoc Distribution
Building your Application with Xcode for Distribution
Verifying a Successful Distribution Build
Updating your Application


Obtaining your iOS Distribution Certificate


Ok, here we go:


To request an iOS Distribution Certificate, you first need to generate a Certificate Signing Request (CSR) utilizing the Keychain Access application in Mac OS X Leopard. The creation of a CSR will prompt Keychain Access to simultaneously generate your public and private key pair establishing your iOS Distribution identity. Your private key is stored in the login Keychain by default and can be viewed in the Keychain Access application under the ‘Keys’ category. To generate a CSR:

In your Applications folder, open the Utilities folder and launch Keychain Access.

Done.


In the Preferences menu, set Online Certificate Status Protocol (OSCP) and Certificate Revocation List (CRL) to “Off”.

Done.

Choose Keychain Access -> Certificate Assistant -> Request a Certificate from a Certificate Authority.

Note: If you have a private key highlighted in the Keychain during this process, the resulting Certificate Request will not be accepted by the Provisioning Portal. Confirm that you are selecting “Request a Certificate From a Certificate Authority...” and not selecting “Request a Certificate From a Certificate Authority with …”

Ok. I'm picking my clients key - I have two of them - neither of them are the ones I've used to test the application.

I've created yet another certificate request - this is the third one, for my client. I think they're all the same.


Submitting a Certificate Signing Request for Approval

After creating a CSR, log in to the iOS Provisioning Portal and navigate to ‘Certificates’ -> ‘Distribution’ and click the ‘Add Certificate’ button.

Ok. I think I have to add a developer profile for the client.

Click the Upload file button, select your CSR and click ‘Submit’. If the Key Size was not set to 2048 bits during the CSR creation process, the Portal will reject the CSR.
Approve your iOS Distribution Certificate.


Well I just used the certificate I created this morning, 100% sure it was under his name/email, and now it says pending issuance. That's not good, I remember mine being immediate.

This in in the provision portal, under the development tab.

http://developer.apple.com/ios/manage/certificates/team/index.action?actionName=index


Name Provisioning Profiles Expiration Date Status Action

John doe Pending Issuance

It also says,

*If you do not have the WWDR intermediate certificate installed, click here to download now.


I don't remember anything like this.

Ah, the development license was issued. Let's check the distribution.

Ah, it was issued to.

Ok, let's go straight to the disbutution.

Download...

Ok, I have both

AppleWWDRCA.cer

and

distribution_identity.cer

In my folder.

Move on.


Submitting a Certificate Signing Request for Approval

After creating a CSR, log in to the iOS Provisioning Portal and navigate to ‘Certificates’ -> ‘Distribution’ and click the ‘Add Certificate’ button.

// There is no add certificate botton


Click the Upload file button, select your CSR and click ‘Submit’. If the Key Size was not set to 2048 bits during the CSR creation process, the Portal will reject the CSR.
Approve your iOS Distribution Certificate.

I'm going to go ahead and say I've been issued the cert.

I requested instead of added, but otherwise it's pretty much the same and there's something listed there. A current distribution certificate is issued.

Ok; what next?

Back to this:
http://developer.apple.com/ios/manage/distribution/index.action

Downloading and Installing iOS Distribution 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.

Ok.

After downloading, double-click the certificate to launch Keychain Access and install.

Ok, I've double clicked and I'm getting the keychain "login" in a dialog that says "Do you want to add the certificate(s) from AppleWWDRCA.cer to a keychain?

Wtf do I know? I guess I have to. I don't even understand the purpose of a keychain.

Why is it "login"? Do they mention that?


Ok. Now what.


Saving your Private Key and Transferring to Other Systems

// ok this was certificate 2 for him.


It is critical that you save your private key somewhere safe in the event that you need to build your application on multiple Macs or decide to reinstall your system OS.

Without your private key, you cannot sign binaries in Xcode and there you will be unable to upload your application to the App Store or install your application on any Apple device.


When a CSR is generated,

// what is a CSR??

the Keychain Access application creates a private key on your login keychain.


// Oh, so that's what the login meant.

This private key is tied to your user account and cannot be reproduced if lost due to an OS reinstall.


If you plan to do development and testing on multiple systems, you will need to import your private key onto all of the systems you’ll be doing work on.


To export your private key and certificate for safe-keeping, open up the Keychain Access Application and select the “Keys” category.


Highlight the private key associated with your iOS Distribution Certificate and select “Export Items” from the ‘File’ menu. Save your key in the Personal Information Exchange (.p12) file format.


Damn - I have 3 public / private key pairs with exactly the same name. I don't know which one was the one generate on may 25, the one this morning, and the one just now.

Actually, I'm not even sure I installed the one just now - ugh. I'm just going to stop


Well, if I order it by date modified, his private key shows up as the last (or first). So, that must be the one.



You will be prompted to create a password which will be used when you attempt to import this key on another computer.
You can now transfer this .p12 file between systems. Double-click on the .p12 to install on a system. You will be prompted for the password you first entered above.

In the same area of the Provisioning Portal, click on the name of the iOS Distribution Certificate to download.
On your local machine, double-click the downloaded .cer file to launch Keychain Access and install your certificate.


Ok, I saved it to the "download certificates folder". That's a wrap for today. I'll pick up up tomorrow.

Submitting an app to the app store - try again

Well, as I discussed in this blog entry:

http://gettingintomobile.blogspot.com/2011/05/submitting-app-to-iphone-app-store.html

I'm trying to get an app submitted to the app store. The problem last time was that the client thought he had signed up for an account, but hadn't. I'm not sure how all that worked, but now he thinks he's all signed up. So - we'll give it another try.

First, I'll review the blog to see what it was all about. But I want to quickly get to checking to make sure he has a valid account.

Ok, I need to log in to the iPhone developer's portal.

Ok, the signin works.

Now, let's plug in my device and start up xcode.

Hmm, the battery must have been totally dead. It's not even starting up - there's just an image of a battery.

Ok, I've just regenerated the certificate signing request in "Request a Certificate From a Certificate Authority" and saved something to a folder cl**yupload, as specified here.


The next step (where I got stuck last time) is:

Logging in to the iPhone Developer Program Portal

Once you have generated the certificate signing request, you need to login to Apple's iPhone Dev Center (see Figure 7). Click on the iPhone Developer Program Portal link on the right of the page. Remember, you need to pay US$99 in order to access this page.

This, I've now done.


Hmm, it says:

In the iPhone Developer Program Portal page, click the Launch Assistant button (see Figure 8) to walk you through the process of provisioning your iPhone and generating the development certificate.


Don't see the launch assistant.

What I do see is something like "prepare for app submission".

Here's what's in there:

In addition to your binary, you will need to submit or assign several attributes for your app, including:

Application Name
Application Description
Primary and Secondary Category
Subcategories
Copyright
App Rating
Keywords
SKU Number
Application URL
Screen shots
Support URL
Support Email Address
End User License Agreement
Pricing, Available Date, Territories
Large App Icon 512 x 512

Well - I'll have to generate the screen shots, and the large app icon. What about SKU number? What is app rating? what will I use for the EULA? What is the application url?

This url gives info on the SKU. Basically it's completely optional.

http://forums.macrumors.com/showthread.php?t=554314

On the rating, this url:

http://appreview.tumblr.com/

Suggests 4+ might be ok. Also has good feedback on rejection reasons.

This url:

http://www.iphonedevsdk.com/forum/iphone-sdk-development/7550-app-store-submission-needs-support-url.html

Suggests he doesn't need a web site or a support url.

But someone put http://www.apple.com/

This url:

http://www.apple.com/

Has a checklist for submitting your app.

What about the EULA?

Ok, it's optional, and Apple will provide one, per this url:

http://www.slideshare.net/appsolutegenius/iphone-app-store-submission-process

Ok. Now we're getting somewhere.

Ok, now for the icons.

The small one, according the the above url:

57 pixel sq
72 pixels per inch
rgb
flattened
no transparenc
24 bit png

Large:
512 pixel sq
72 pixels per inch
rgb
flattened
no transparencw
High quality jpeg or TIFF.

So, how to I check this? Let's bring it up first in Preview.

Ok, that worked out pretty well. You can specify square pixels and pixles per inch.
It was already png, I guess it's flattened because it doesn't look 3d, and there's no way it's transparent. The only thing I don't know if it's RGB and I'm going to wing it.

Ok. What about the larger icon?

Too fuzzy.

I'm going to grab another publicly available eye image. Although it's just black and white, it is better defined and looks more normal as a square. I erased some of the blurrishness with Gimp, which is about all I can do with that thing.

Ok, screen shots. How do I get those? I assume I'm going to have to run my app on my iPod - let's double check it.

Argh. The application "xxx" cannot be run be run because the provisioning profile has expired. Dagblaggit. Now, I'm going to have to figure this one out.

This is my concern:

http://learn-iphone-app-development.com/2011/03/08/expired-provisioning-profiles-why-wont-my-app-rundebug/

The application cannot be opened because the provisioning profile has expired.” Ok, that’s a little more clear, but we’re still in Apple code signing hell, which any iPhone developer knows can eat up hours of time.

There's a screen that shows you your profiles:

This screen can be found by bringing up Organizer while your device is plugged in, and then clicking on your device. What appears to have happened is that even though our new provisioning profile was downloaded by the development machine, and even though that profile was distributed to this iPad, the old profile remained and was being used by default.

Ok, but where is this organizer app? Can't seem to find it. How about "display provisioning profile". Ok, it's in xcode under "windows".

So, my profiles, all 3 of them, have red marks next to them. I think I need to get a good provisioning profile. Uhp - since I signed on as his, I don't know what my signon is anymore. Annoying!


Back to this:

http://mobiforge.com/developing/story/deploying-iphone-apps-real-devices

First, obtain the 40-character identifier that uniquely identitfies your iPhone/iPod Touch. To do so, connect your device to your Mac and start Xcode. Select the Window > Organizer menu item to launch the Organizer application. Figure 1 shows the Organizer application showing the identifier of my iPhone. Copy this identifier and save it somewhere. You will need it later on.


Ok, well I just created a new CertificateSigningRequest, just in case. Then, I logged on and chose something like launch provisioning assistant (?). My device and my existing developer certificate are already there, so I just select those.

I'm keeping my device and AppId info under C's upload folder

Ok, it says installed. I delete the other guys. Let's try it.

Awesome. Thanks http://mobiforge.com/developing/story/deploying-iphone-apps-real-devices - you saved me some sweat there. Nice job, self, not letting that turn into a rathole. I don't know which developer certificate it's using - I have two under my name and one under my company name and one under my client's name. But, it's working.

Ok, back in business. How to get screen shots?

http://gigaom.com/apple/take-screenshots-from-your-iphone/

"Open Xcode and open the Organizer window (from the Window menu). Plug in your iPhone or iPod Touch and in a few seconds, it should appear in the list of devices on the left. The first time you plug in your iPhone or iPod Touch you will be asked if you want to use that device for development."

Can do that.

Oops - I spoke to soon. I'm getting the invalid provisioning message again. How do I delete the old ones? I deleted them, by right click and delete - but the showed up once I finished the wizard.

Dagbaggit. Ah, ok, keep following the http://mobiforge.com/developing/story/deploying-iphone-apps-real-devices suggestions, uninstall the app, clean all targets, and my own addition, restart xCode - and it's working again. Phew. Nice job not panicking there.

Ok. Can we do some screen shots? Seriously.


Well, for the screenshot, nothing appears in organizer. Let's google it. Ok, I guess I have to click on the device first or something. Anyway, I got it. Unfortunately, I noticed an apostrophe not coming up right. The question is, the only option it's giving me is to save it as the default image for the app, whatever that means. I'm not interested in that.

http://iphonedevelopertips.com/camera/capture-a-screenshot-on-iphone.html

Just open Xcode with your device connected, Window->Organizer, click on your device, and then you’ll see the screenshot tab. Get the device to the point that you need a screenshot and click the capture button in Organizer. Then, just drag the screenshot from organizer onto your desktop (or where ever) and you’re good to go. Same result as your process, but you can skip the whole e-mail step.

Thanks Adam Byram, wherever you are.

Ok, whew. Good job, me. I've gotten all the prep-work done. That deserves a nice cup of tea, and a little bit of a browse of the internet. Say, 10 minutes. Set the timer.

Done; let's post this - it's pretty long, and hopefully finish up on the next one.