So I have been trying to troubleshoot this issue for about a week. I have tried everything I can think of, but I cant seem to find a way to get the app I made to load onto my iPad. Is there some sort of foolproof procedure I can follow? I have been using this site http://www.lynda.com/Flash-Professional-CS5-5-tutorials/Building-Mobil e-Apps-for-Multiple-Devices-with-Flash-Professional/89049-2.html but I still am not able to get it to install. Any suggestions/help would be greatly appreciated!!
A little more detail about the issue would be apprciated.
But with your Apple developer account did you:
1.) Create the App ID
2.) Added the UDID to your Device List
3.) Linked the iPad to the App ID under Provisioning
4.) Then downloaded the mobile provision file that gets generated and opened that in iTunes?
If that doesn't work then check this:
1.) You have the application configured to load for both iPhone and iPad in your Descriptor file <key>UIDeviceFamily</key>
2.) You iPad is running a version of iOS you're compiling for.
In the long run I would recommend you checkout the awesome tools in Air 3.4 that allow you to add and remove apps using the command line instead of iTunes. In fact using Ant to build and deploy takes only a few seconds for Debug mode where as using Flash Builder and iTunes to constantly upload and test takes minutes each time.
I had taken care of the first 4 step, so I am going to hope that I did them correctly and say that the problem is something else.
The other two points you made are both very possible. I believe I have the app only configured to load for an ipad, but since I am testing it on an iPad that should be okay. Maybe.
I have updated everything to the newest version, but it is possible that the versions are still not what they should be.
Perhaps I should try cutting iTunes out of the picture like you suggested, and using the command line. Would there be a possability that the app can be pushed directly onto the device, even though it wont install properly using itunes? If so, I would be willing to try the steps necessary to test this.
Thank you very much for your help so far Pete!
When you load the app into itunes then click on the iPad then goto the App's Sync screen does the app appear in the list and your able to check it?
If not then the app isn't configured to load on iPad
Are you getting any errors when trying to load it or is it just failing?
If so then the mobileprovision file probably doesn't have the device linked to it and you need to link and redownload the file.
A note about using the command line. Since it's a Air 3.4 feature and you can't deploy production apps yet with it you might run into path issues between Air 3.3 and 3.4 when using the ADT command. Another reason I recommend an Ant task is you can set air 3.4 for adding and removing but air 3.3 for building.
A thing to note about add and removing. It will not work if you have wifi sync on itunes turned on. Also by default your package id when in debug mode has .debug appended to it. So if you've setup your app to be com.company.appname it's actually com.company.appname.debug To avoid this I go into the debug Descriptor file and manually set it without .debug so I don't have to write two ant tasks for debug and release.
Hope this helps.
This is interesting. When I am in my Xcode Organizer, the provisioning profile status is "Valid signing identity not found".
When I look in my App ID's section of the provisioning portal, the App has 2 ID's. One that is [Serial Number].* and the other which is [Serial Number].[com.x.appname]
So when I go to the provisioning section of the provisioning portal, there seems to be more than one profile. I have a "iOS Team Provisioning profile" which is linked to the app ID [Serial Number].*
And also a provisioning profile with the name of the app, which is linked to the App ID [Serial Number].[com.x.appname] and another with the name of the app linked to [Serial Number].*
I dont know if that makes any sense, but thats how it looks on my screen. Which profile should I use? When I make the profile, which app ID should I link it to?
This may be part of the problem as to why my Xcode Organizer says taht the provisioning profile's "Valid signing identity not found"
Hmm I don't use XCode Organizer to do anything so I can't say that. What does it do?
I would recommend not using that and just using the website maybe to see what happens but can you please detail out what you're seeing in iTunes and any error message that might occur when loading the app. A step by step walkthrough of what you're doing and the results you see when you do it would be awesome.
Also if you're having a signing identity issue ( Which usually you wouldn't even be able to build though. ) then you're probably not using the Developer Certificate that Apple gave you. A self signing one probably won't work even though I've never tried. Also when building iOS apps using Flash Builder you need to convert the certificate to p12. There's a lot of blog articles about doing that.
Ah I thought it was an app to deal with submission to the store. If it deals directly with the device and your getting a signing athority error then I'd say you didn't create the key right or maybe using your android key to sign instead. I'd focus on that and see what happens.
Pete, even if you don't use the xcode organizer, can you give me some advice on straightening out my provisioning portal issue? I think that there is definintely something going on with using the proper profile.
and Colin, The app seems to be exported as an .ipa which I think is different from .app so i dont think i can just drag and drop it on the device without using itunes.
I'll need a step by step breakdown of your process, the specific results you see and any errors messages that occur. Also have you confirmed the version of iOS on the tablet is the latest?
Also do not use any third party apps like XCode Organizer. Flash Builder and iTunes or an Ant script running ADT.
Look in Keychain Access, under Certificates, and look to see how many iPhone certificates there are for you. If you have ever revoked the certificate in the past, the old one may still be around to haunt you. Ones that are valid will have a little private key symbol next to them, that you can expand in the list. Others may not have that symbol, and are in effect doing you no good.
Look at the provisioning profile that you are using, and see which certificate it's associated with. If it's one of the old ones then that would cause problems.
In general, if you see duplicate certificates in Keychain Access you can delete the older ones. As a worse case, revoke your certificate and go through the process to get a new one, then rebuild the profiles using that new certificate. You may need to republish the IPA file too, after doing an export of the P12 from the valid new certificate.
Man, I'm really glad I got not 1, but 2 knowledgable people to help me out with my problem. Thanks to the both of you for stucking around and helping. It looks like I have more than 1 provisioning profile in the certificate area of my keychain. Would it be smart to delete them and start fresh? I have gone through the process about 4 times, so there are a few of the older ones hanging around from when I went through the process before.
I should probably go into the provisioning portal and clear out the App ID and Provisioning sections too, since the duplicates will only serve to confuse me. Thoughts?
What you see in Keychain Access isn't provisioning files, it's just certificates. It's normal for multiple provisioning files to be associated to those certificates. It's normal to have more than one certificate too, but only if they are different. Like, an "iPhone Developer" one, and "iPhone Distribution" one. If you have multiple "iPhone Developer" ones (under your name) then you can delete the older ones, then in the portal make sure that the provisioning files you have are based on the one remaining certificate you have.
But, revoking and getting a new certificate, and re-choosing the certificate for each provisioning file, is sometimes what it takes to fix such issues.
Sorry about the wait guys, I am currently deleting every old certificate, device, and everything else. I decided to start from scratch so that you guys will be able to tell me what I may be doing wrong.
Step by step, here is what I have done so far.
I went into my provisioning portal and got rid of everything, So I am starting fresh.
1. Generated a certificate signing request using the keychain access
-oscp and clr set to off
-requested a certificate from a certificate authority
-saved to desktop
2. Took the CSR file and went into the certificates tab of provisioning portal
-clicked request certificate in the development tab
-on the Create iOS development certificate screen, I found my CSR and selected it
-I then clicked submit and refreshed the Certificate page so that it is approved
-Downloaded the developer certificate and saved it to my desktop
3. Opened up the keychain access and went to File | Import
-Took the new .CER file which is the developer certificate and imported it
-Right clicked the newly added PRIVATE key in the keychain access and clicked Export
-Saved the Exported file to the desktop, the file is a P12
-Gave the P12 a password while saving, verified with admin priveledges.
4. Went back to the provisionong portal and went to the Devices tab
-Clicked Add device in the Devices tab
-Connected testing device in iTunes and copied the UDID
-Gave the device a name and pasted the UDID into the device UDID box
-Clicked submit at the bottom of the page to register the device
5. Went to the App ID Tab of the provisioning portal
-Clicked the Manage tab and clicked New App ID
-On the Create App ID page, entered "General Development" into the Description field
-Entered "*" into the Bundle Identifier to create a wildcard App ID
6. Went to the Development tab in the Provisioning Profile
-Clicked on New Profile under Development Provisioning Profiles
-On the Create iOS Development Provisioning Profile page, entered my name i the Profile Name field
-Checked the appropriate checkbox for my Development Certificate
-Selected the "General Development" App ID from the dropdown
-Checked the box next to the Device Name I recently added
-Clicked the Submit button, Refreshed the page so it was active
-Downloaded the Development Provisioning Profile onto my Desktop
And THAT is where I am now. Before I go any further, can I get some feedback on those steps? Did I miss any? Was there a preference I should have selected that I didnt?
Thank you very much for taking the time to read all that, Its quite a bit!
I stopped reading at step 3. When you download the certificate you should only double click on it. It will install into Keychain Access for you, you shouldn't have to do any generating of private keys.
Also note that on one of the pages it tells you to make sure that you download the WWDR certificate. It's here:
When you get that, double click it too.
Once you have the CER in Keychain Access, find it in the list of certificates under the My Certificates list (it will be called "iPhone Developer your name (some code letters)". Select it and choose Export Items… from the File menu, or right-click and export it from that menu. That will make a P12 file, that you have to give a password to. Then you'll have what Flash wants.