Creation of an iPhone App with Flash and without a Mac (for all Windows lovers)

It seems you can’t call yourself a developer if you did not build at least one iPhone application. For most developers, the biggest problem of getting started with iPhone development is they don’t have a Mac. Windows based notebooks are a lot less expensive, and having both a Windows notebook and a MacBook is not for everyone.

Moreover, a lot of readers of this blog are skilled with Flash and ActionsScript3, but they don’t feel comfortable with Objective-C, the programming language used to create native iPhone applications.

Well, I am going to show you a step by step detailed guide to help you publishing an iPhone application just with your Windows computer, thanks to Flash Professional CS5.5.

This will be a very long tutorial but once finished, you will be able to create a Flash application and make it run on your iPhone as a native application.


This is the easiest part, as you only have to do what you are really used to do: create a Flash application. Just remember to select AIR for iOS. Leaving all settings with their default values, you will create a 320×480 pixels document, which is the size of the non-retina iPhone display.

We will start with something simple, with this script:

Where circleMc is just a small red circle. It’s quite obvious what this script is supposed to do: clicking (later: tapping) on the stage, you will move the circle under the mouse pointer (later: your finger).

Test the movie, and once you are sure everything works, it’s time to create the developer certificate


If you never developed an iPhone application, probably you aren’t part of Apple iOS Developer Program, so you must enroll to it. This is a paid service which costs $99/year, or €79/year if you live in the Euro zone. Actually, the change is a bit unfair since the Euro certification may cost up to $10 more than the Dollar certification.

Anyway, everything starts from this page, click on Enroll Now and follow the steps filling forms with your information.

As you proceed with the enrollment, you will notice a warning:

“You must have an Intel-based Mac running Mac OS X Snow Leopard or later to develop Mac OS X and iOS apps for the App Store”.

Ignore it, as you won’t need any Mac.

According to Apple’s suggestions, if you intend to enroll in a paid Developer Program for business purposes, you may prefer to create a new Apple ID that is dedicated to your business transactions and used for accounting purposes with Apple, and your Apple ID is associated with an existing iTunes Connect account you should create a new Apple ID to avoid accounting and reporting issues.

They are right, I tried to upgrade my iTunes account, and my Developer certification was kept on hold because of some difference between my living and billing addresses, which is quite common if you work both at home and in a studio.

So I recommend to create a brand new account.

Once the (huge) process is done, you will finally see this screen:

Enter the activation code you should have received in your email after the purchase, and you are now an iPhone developer!!

In some cases, Apple will keep your certification on hold anyway, to ensure the (big) amount of data you entered is correct. It will be asked you to send a fax with a notarized copy of a government issued identification and wait “several working days” to get the certification. Before doing it, go to the contact page and send a form explaining you made everything right. In most cases, common sense will win and you will have your account approved in less than 24 hours.


Once you registered as developer, you need to acquire a Development Certificate, as well as register your Apple devices and applications.

Go to iOS Dev Center, log in and enter the iOS Provisioning Portal:

Then click on Certificates:

And since you are new to the iOS Provisioning Portal and don’t have any certificate, click on Request Certificate:

You will find yourself in front of a page where you are asked to choose a file and submit it to the page:

Don’t click anything at the moment, as you don’t have any file yet. We have to create it.

It’s time to play a bit with SSL protocols.

Go to the Win32 OpenSSL Installation Project and download and install both Win32 OpenSSL v1.0.0e Light and Microsoft Visual C++ 2008 Redistributable Package.

First install Microsoft’s package, then Win32 OpenSSL which will probably install in C:\OpenSSL-Win32 path. During this tutorial, I will refer to this path, but obviously you should change yours if different.

Open the command prompt window by entering cmd into Start-Run or through Start->All Programs->Accessories, and write:

Remember I am assuming OpenSSL has been installed on C:\OpenSSL-Win32. Anyway, access to bin folder inside your installation.

Once you’re in the bin folder, write:

To change the prompt from C:\OpenSSL-Win32\bin> to OpenSSL>.

If you get a warning you can’t open the config file, don’t worry at the moment. Write:

To generate a file called thekey.key in bin folder. Feel free to change the file name if you want. I’ll assume you will use the same filename I used. Then write:

Which will create a file called certificate.csr in bin folder. Just change thekey.key with your key filename, with the email address you used during the registration, Emanuele Feronato with the name you used during the registration and IT with the country code of the Country you live in. -config "openssl.cfg" is necessary only if you previously got the warning you couldn’t open the config file.

This is how my command prompt window looked like once I’ve finished (sorry for the italian text, it’s a real example):

Finally you can upload the file .csr in the certificate page, and your certificate will be in Pending Issuance status.

Refresh in a couple of minutes, and your certificate will be issued! Download it (its name should be developer_identity.cer) and for the sake of simplicity save it in the same bin folder where you created the other files, as the process is not over.

Connect your iPhone to iTunes and get the UDID, you will find in the iPhone page and probably you will have to click on the series number in order to get it.

Return to the Provisioning Portal and click on Devices, then since you shouldn’t have any device installed, click on “Add Devices”.

Add a device name and the UDID you just got from iTunes, then click on “Submit”:

Your iPhone should be successfully registered now.

Time to register your app now. Go to App IDs page and click on New App ID.

You will be asked to enter a name, you will find a precompiled App ID prefix and you will be asked to enter the APP ID suffix. You can enter anything you want but you’d better follow Apple guidelines using the reverse domain name style. Click on “Submit”:

And now your App is registered.

One last effort and go to Provisioning to create a Development Provisioning Profile and click on “New Profile”:

Fill the form (it shouldn’t be hard at this time) and click on “Submit”

Your Provisioning Profile will appear in Pending mode:

And just like before, in a few minutes it will be Active. Download it (it should call Test_Profile.mobileprovision if you named the Provisioning Profile as Test Profile) and save it in your friend bin folder.

Open a new command prompt window, enter the old same


and from OpenSSL> prompt write:

to create a file called developer_identity.pem, then

to create an iphone_dev.p12 file. You will be asked for a password, enter it (and possibly, remember it).

This is how my prompt command window looked like:

Now finally we have everything we need.


Back to Flash Professional CS5.5, in your publish settings, add the certificate file, the password you entered before, the provisioning profile, and select the iOS development type as “Quick publishing for device testing”.

Publish the application. It will take up to some minutes, unlike regular Flash movies publishing. And finally the App is ready to be uploaded to your iPhone.

This should be the content of your Flash application folder: look at the iTest.ipa file. It’s your App!!!

Go to iTunes connect the iPhone, and install the provisioning profile, using File->Add To Library. Then, synchronize your iPhone to have it installed on it. To check if everything worked fine, in your iPhone select Settings->General->Profiles and look for your profile.

With the profile installed, add your application with File->Add To Library, and you will find it in your Sync Apps page:

Synchronize your iPhone again, and you will find the working application on your device:

Congratulations, you made it. Now, let’s port your Flash blockbusters on iPhone

  • patrik

    Why do we have to pay apple for making games to their phones!?
    Greedy Apple.

  • Pingback: Link: Creation of an iPhone App with Flash and without a Mac (for all Windows lovers) | circlecube()

  • kek

    You forget something :)

    If you want to put your game/app on the Apple Store, you MUST do this from a Mac.
    It’s impossible to upload your .ipa file from windows.

  • Feronato, is it possible to sell the flash app through appstore?
    I heard once that only if your app was built in C/C++/Objective-C you could sell it there.

  • Emanuele Feronato

    Pixel City Skater is on the App Store and has been developed with Flash:

  • Kek have reason. For me, i had to buy a mac, intall it the developpe tool, lanch the application loader and send the app to send it to itunes if you want ot publish it.

  • My app is made with flash its a comic reader (3 reading mode) with a library of 2 comics. It’s localised in french/english and i have also a space shooter minigame. If you wan tot take a look, it have a free version here:

  • Jon

    Kek is right – it USED to be that you could upload your submission bundle through iTunes connect, however you now use the Application Loader app on the Mac (or there’s a bit in XCode 4 that does it for you).

    I suppose you can find a friend with a Mac and use their machine to do the upload otherwise Jailbreaking / Cydia is your only other option.

  • Kek & R3M1, I’ve known a number of developers who have managed to run OSX in VMWare on Windows and have used that to submit their apps. So yes, you can still get away with developing and publishing an iOS app on a Windows machine without buying a Mac.

  • Emanuele Feronato

    Yes Matthew, you can develop, debug and test your App under Windows, then run the OSX virtual machine JUST to submit the game.

  • Yup, exactly what I do as well, fire up vmware when it’s time to upload. Works great!

    Also extremely handy when it comes to writing ANE’s for iOS.

  • Nice to see that a developer must spend more time on registering for apple than developing the app itself… I can be crazy but apple doesn’t deserve my time, Android forever :)

  • Awesome, I’ll try that later on :)

  • Jiraboon Narktong
  • I’d +1 this article if you hade a +1 button! ;)

  • Very helpful walkthrough of the entire process, I think I’ll have to give this a shot sometime.

  • Excelent post!, keep it on!!!

  • This will not require any app installed on iPhone to be run (like AIR on Android)?

  • Emanuele Feronato

    No Jozo, it won’t

  • Cal

    Does anyone have any links or tutorials on running OSX in a virtual machine? Any software recommendations?

  • Pingback: Photon Storm » Blog Archive » Creation of a mobile App without the Flash IDE (for all FlashDevelop lovers)()

  • Pingback: Geek Daily » Create Iphone App My Own Iphone()

  • Pedro

    I have windows 7, I wonder how can I develop an application, because I read on the apple site that it is necessary to develop a program Xcode (it can only be used in Mac OS X).
    And now, what I do?

  • Emanuele Feronato

    Just get Adobe Flash CS5.5 and follow the tutorial

  • renk

    I got this error(in Windows 7):

    OpenSSL> x509 -in developer_identity.cer -inform DER -out developer_identity.pem
    -outform PEM
    Error opening Certificate developer_identity.cer
    4164:error:02001002:system library:fopen:No such file or directory:.\crypto\bio\
    4164:error:20074002:BIO routines:FILE_CTRL:system lib:.\crypto\bio\bss_file.c:39
    unable to load certificate
    error in x509

  • renk

    oh sorry, skipped a step

  • plux

    Hei, i’m interesting on it
    but, how if we develop augmented reality flash game using flartoolkit and using webcam, can we substitute the webcam that we used with iphone camera ? and how about box 2d or flare3d ??

  • Joe Dalton

    hi guys,

    hope you guys can solve my 2 issues:

    1. in case my project contain several external files swf/jpg/xml which are stored on a same place, will the created ipa work? same issues if my files & data are stored on another domain, is the ipa still work?

    2. I once used both flashdevelop and flash cs5 (separately) before to create an ipa, using box2D and build-in gesture events. The output is extremely low fps, was about less than 10 fps when I configured 30 fps. So is there any compatible problem to explain this issue?

    I am eager to create some IPAs, I even got a mac to learn XCode. Since coding as3 is my hobby & I have no much experience in C++, believe me, learning XCode is really a pain in ass!


  • Pingback: FlashDevelop4?AIR for iOS??????????? for Windows | alt()

  • EZ

    If anyone encountered the following error message: “unable to write ‘random state'”, try to run openssl.exe as administrator (Windows 7).

    For myself, everything went alright until I tried to sync my app (iTunes -> iPhone) and received the following error: “Failed to Install in iOS”…

    Did anyone get this error and was able to understand how to fix that?

  • EZ

    Got it:
    I was trying to create a “generic” profile which I’ll be able to use for all of my iOS tests…
    Well – found out (silly me) that I have to create separate Provisioning Profile for each and every game / app / test…

  • Tom

    Worked like a charm, thanks for that. However, I bought a Macbook recently, and now I’m having problems with getting my certificate (which I created on Windows) ported to OSX and working in Xcode. Do you have any idea?

  • Emanuele Feronato

    I also have a Macbook, going to check

  • Tom

    I think I found the problem. I had only imported the .cer file, but I had to import the .p12 file as well :)

  • Hi, thanks for the tutorial!
    I have a doubt about the Company App Name in AppStore. It will be my Program Membership Name or the Provisioning Profile Name?
    Thanks again! :D

  • TNT

    @ plux
    augmented using Flash on iOS is possible but painfully slow…also box2d is very, very limited. I’ve been that road.
    The performance hit in augmented comes from the draw bitmap loop.
    It needs to check and call a setpixel function at 320×240 pixels a time and is still very, very slow.
    On top of that; drawing 3d will drop the framerate at 1…
    I don’t know if Air 3.1 has gained some performance boost but I doubt it. (unless somebody else can prove me wrong :-)
    I am now on xcode and is it actually easy, not that hard at all! :-)
    gamecenter, inapp stuff, box2d (100 bodies), 3d, augmented, tons of tutorials… ;-)

  • Sir

    Great tutorial! Everything works fine except when I try to sync with my iPhone 4S. The icon for my test app appears on my iPhone screen in iTunes and as an app icon with a scrollbar that says “Installing” on my iPhone, then disappears after the sync. I thought that the issue might be that the “App ID:” in “AIR for iOS Settings” in Flash required the App ID Prefix that apple generates before the “com.emanueleferonato.helloiphone” format you show in your image, but that didn’t help.

    Does anyone have an idea what might cause this? I did create an apple id for development that is different from the apple id on my phone. Might that be the problem?

  • Sir

    Also, the phone says “iTunes Sync, ‘test’ failed to install.”

  • Sir

    I figured I messed up somewhere so redid everything from scratch (thank you Apple for counting my re-registered device towards my total of 100 as if it were a new one), including deleting the provisioning profile from my phone and ipa file from iTunes. I’m no longer getting an error, but although in iTunes it appears that my test app is indeed installed and I get no error message, it does not show up on my phone. Argh.

  • Sir

    Just a note that it’s possible that this tutorial needs to be updated to accomodate new requirements from Apple. I was able to gain access to a Mac and I can now install the test app just fine. I followed this tutorial word for word once then again from scratch and was never able to successfully install the app to my iPhone. I did notice that if I pull a certificate generated this way into Apple Keychain the option to export a key is not there. So that’s likely where the problem lies.

  • Why this doesnt works on my ipad? could you help me?

  • i am just developer, but i dont have an iphoe, do i have to?

    for gettin p12 file? :(

  • Baron Karza

    Emanuele, grazie!

  • Hi there, I have created an all in one exe that only requires your information needed to make the certificates. Here is a link to the zip file: – if there are any problems; @callampoynter, and enjoy (:

  • TOM

    Hi Great tutorial but i had some problems,
    When i went in cmd i got to everything in the p12 part except the part where you have to enter a password. I tried to type anything in but nothing would happen. Please Help!!!!!!!!!!

  • Pingback: Flash CS5.5 | phillipshakesbymasters()

  • PS

    We are facing a weird problem. We recently updated our account from developer to enterprise. Now, we have received a certificate and .p12 file from the systems’ department. When we try to publish with only these 2 in CS5.5, it invariably asks for the password. Upon contacting the systems department, they reverted back that if we need to get a .p12 with password, associated with the enterprise account, we need to get a CA signed certificate which costs $1200 a year, which is of course not a practical expense. All the more, on XCode, it allows publishing with a .p12 not having the password, what can we do to avoid this while publishing through Flash CS5.5?

    Any help regarding this would be highly appreciated.

    Thanks in advance.

  • key_nyc

    My command window will not allow me to type the password in the final step. Mashing buttons sometimes unlocks but the re-entering of the password causes it again. can’t seem to get through it without throwing errors in the end
    Any thoughts?

  • donnruss

    I am having problems entering the password in the command prompt too need help

  • donnruss

    hey just figured it out about the password problem. when entering the password the prompt is not indexed forward …..just enter your password and press enter. then it will ask you to confirm password. just type in the same password and press enter. If done correctly then it will go back to the directory and no error message will be generated.
    let me know if you get this key_nyc

  • This a great tutorial. if allowed by admin I want to make a video documentation for this tutorial and distributed to many people out there through social video networking.


  • Pingback: Build an App for iPhone or iPad with FlashDevelop « Lorenzo Nuvoletta()

  • Thanks, this information has been a life saver. To help others – these instructions work, HOWEVER you must follow it to the letter. It took me about 5 attempts until I achieved success. EZ’s comment on December 19 – proved invaluable.

  • Alex

    So if we only have a PC we can not submit the games? Even though there is a submit to apple store button in flash cs5.5

  • Felipe

    Hi, im new to programming stuff , but i want to make iphone games, and i only have mac.

    Question about the script.
    I tried putting it in the frame actionscript but nothing happens. i also made a circle instance name it to circleMc.

    Please let me know what i should do . thanks a lot !

  • Rey

    So, I’ve managed to go through all the loops with registering as an iOS developer, certificates, devices, app ids, provisioning profiles, etc. I’ve downloaded the certificate and exported it as a p12 file, and downloaded the provisioning profile file. However, when I try to publish, I get the following error:

    Error creating files.

    The digital certificate is invalid.
    could not retreive certificate chain from keystore

    Any clues as to what’s going wrong? Thanks!

  • Alex

    When I try to upload the certificate file I get a “We are unable to process your request” page. Anyone know what I could be the problem?

  • Hi Emmanuele

    Excellent tutorial. One problem – must be my fault! I get the following and also can’t find the developer_identity.cer file it refers to. Have I missed something?



    OpenSSL> x509 -in developer_identity.cer -inform DER -out developer_identity.pem
    -outform PEM
    Error opening Certificate developer_identity.cer
    4164:error:02001002:system library:fopen:No such file or directory:.\crypto\bio\
    4164:error:20074002:BIO routines:FILE_CTRL:system lib:.\crypto\bio\bss_file.c:39
    unable to load certificate
    error in x509

  • Hi Again

    Ok solved the problem with the certificate – missed a step earlier on.

    Almost there, but after entering the password I get ‘unable to write ‘random state’

    the iphone_dev file is in bin – but will it be usable? What caused the error?



  • Hi again

    solved that one by opening a new command prompt and entering: set RANDFILE=.rnd then: cd \OpenSSL-Win32\bin’
    then: openssl
    and finally: pkcs12 -export -inkey thekey.key -in developer_identity.pem -out iphone_dev.p12

    Thanks again


  • Hi I seem to have the same problem as richard (see below)

    OpenSSL> x509 -in developer_identity.cer -inform DER -out developer_identity.pem
    -outform PEM
    Error opening Certificate developer_identity.cer
    4164:error:02001002:system library:fopen:No such file or directory:.\crypto\bio\
    4164:error:20074002:BIO routines:FILE_CTRL:system lib:.\crypto\bio\bss_file.c:39
    unable to load certificate
    error in x509

    But I cannot work out which step I must have missed pleas can you help


  • Hi Phil

    Go back to ‘Refresh in a couple of minutes, and your certificate will be issued! Download it (its name should be developer_identity.cer) and for the sake of simplicity save it in the same bin folder where you created the other files, as the process is not over.’


  • Pingback: Getting my application on my iPad | phillipshakesbymasters()

  • ron mizrachi

    thank you for tis it is the best !!!
    i am geting a this in my promt window:
    unabel to load certificat
    error in x509

  • andrew

    I am also getting a 509 error. I get the cert generated no problem, but windows only allows me to save it in a store and I cant get it over to ssl. any thoughts?

  • andrew

    ok looks like i remedied that, but now it is giving me password problems. Is it my normal itunes pass?

  • Hi there,
    For those with the “unable to write random state” in the last process of creating the p12 file, you just need to run the command prompt as administrator (right click on all-programs>accessories>command-prompt to run as admin).

    Thanks for this great tutorial !

  • Pingback: Create and deploy Windows Flash authored apps to iPhone without using iTunes | FlashGrind()

  • p

    how to make a cover for it ? can we do it in flash?

  • I keep getting an error in the command promt that states “x509 is an invalid command”

    Any hints?

    Oh and what do I replace “developer_identity.cer” etc with? What is my developer identity?

    Cheers :-)

  • jimmy p

    please someone answer – if you need an ‘iphone’ to ‘upload’ an ‘app to ‘appstore’?

  • jaleel

    Emanuel, what all are the limitations of flash based ios app as compared to xcode created ios apps

  • nick

    why?? could not load keystore file (password may be incorrect)
    what i can do?

  • Joe

    This step by step guide is excellent. Thank you.

    I’m getting stuck at the end of step 3. For some reason, when it prompts me to enter an export password suddenly i can’t input text into the command prompt window, the only button on my keyboard that works is “enter”.

    Do you have any idea why this is happening?

  • Pingback: The roadmap wil… | Payman Rezania()

  • Pingback: Roadmap | Payman Rezania()

  • jason

    To those saying to run mac OSX as a vm on non-apple hardware this is a violation of the EULA and is therefore piracy. Apple can terminate all of your accounts including the one you just paid for and pursue criminal charges and civil damages.

  • Hi I’m a newbie, just want to ask and make sure if it is possible to build a flash based app and upload it in the app store using windows. Is there any tutorial on how to upload it using windows? thanks

  • Can I build a flash based app using windows and upload it in app store using mac?

  • Hi I’m a newbie, just want to ask and make sure if it is possible to build a flash based app and upload it in the app store using windows. Is there any tutorial on how to upload it using windows? thanks

  • Jordan

    Hey when I upload the key to the provisioning portal it doesn’t do anything, just refreshes the page as if nothing was uploaded and says “No File Chosen” again :/

  • Marlies


    thanx for this, it works fine. Some filenames are different but otherwise excellent.

    Thank you

  • aeggarut

    i am just a newbie and use windows only i want to ask some question
    –> This way still work now?
    thank for advance

  • Hugo

    This really works. perfect explanation.

    Thanks mate!

  • Pingback: Packaging a Sencha Touch app for iOS using WIndows 7 « Alex Graham()

  • Lasse Hall

    excellent writing.
    I have been programming AS since 02/03 (Lingo long before that)
    so this is great reading for me. I have also made a number of AIR apps. So the idea to use AS3 as a platform for smartphone apps is compelling.

    I am trying to find articles on comparing Flash as a platform compared to C and Coco; pros and cons. The programs I make are typically small 2D storytelling games for fun and learning.
    Is there a great difference in in terms off processor, efficiency etc.

  • Pingback: Packaging a Sencha Touch App for iOS using Windows 7. « Alex Graham()

  • Alex Graham

    Hi Emanuel, thanks a lot for this post. It’s helped me a lot. I hope you don’t mind but I’ve used some of your screenshots in my own post on packaging at

    Please have a look and let me know if you are ok with this.



    • Emanuele Feronato

      I’m ok!!

  • Not Bob

    Is there absolutley no way at all to do it without having to pay for an account?? I am really annoyed at that. }:( to apple.

  • You can upload your file now using an application called wine bottler – also can be used for opening exe on mac

  • Jason Eff

    Great article! I just got into thinks and im working with gamesalad because it is a pretty good program for new users to understand how the logic works ( defining attributes, applying physics, scenes etc).

    I was checking out corona but it seems a tad more difficult, needing to know lua and all. Worth starting with gamesalad and then moving to corona and remaking the app or going straight to lua?

  • Great post. Thank you so much. The screenshots were especially helpful.

    Thanks again.

  • Bayo

    Thanks for the tutorial. Seems I’m late on but better late than never as they say :-). So, I’ve gone all the way to developing and even deploying to my device. The problem now is submitting to the app store since Apple requires the use of a MAC only run uploader. That’s bad ews for good ol’ Windows users like myself. The VMWare option seems tempting but I’ve read it’s a risky path. Specifically, I hear Apple requires the MAC License and the developer risks losing his license for violating Apple’s EULA. Anyone tried it? How’d you go about it? What’s the best bet or route to go?

  • Pingback: Fehler beim Upload an Apple - Flashforum()

  • Pingback: Create Your First Mobile App with PhoneGap Build – Setup | Flippin' Awesome()

  • asad

    It saved lot of developer’s precious time

  • Holy cow. The BIGGEST THANK YOU I can muster. Amazing tutorial. Thank you, thank you.

  • joe

    This tutorial is out of date after Apple’s updates in April. I found this site that has a lot of these same steps but is more thorough and complete:

  • Mitch

    I’ve been trying to get my first app on the Apple store. I already installed and tested on an iPad using Flash cs6. When I tried uploading thru a service I get rejected because, I think, because of the APP ID. In your example you used the suffix of the APP Id in Flash. Is that correct? Why not the prefix? Also, when uploading to the App Store, when they ask for the APP ID, is that the whole thing with the prefix and suffix?… the prefix and the bundle ID? Very confusing. I hope someone has done this before. I’ve been using XP with Flash cs6. The problem is just getting the correct APP ID in flash and the correct APP ID in the App Store. These upload services want a APP ID. I’m not sure what they want. Any help, please. thanks

  • Danielle

    For some reason all steps work for me but when i try to do final step it doesn’t ask for a password? It produces certificate but I cant use it in Flash because I dont know what the password is set to? Any idea?

  • Justin

    Thank you for your tutorial. Tonight I was able to publish ad hoc to my ipad using flash cs6. Without your tutorial, it would have taken days (and maybe a week) instead of hours. The instructions were not clear anywhere. The one error I got was something like

    unable to write ‘random state’…

    and I typed in the cmd window:

    set RANDFILE=.rnd
    and everything worked.

    Thank you again…this was amazing.

    Justin (a fellow Italo Canadian)

  • Thank you so much! Followed it step by step to create a development profile/cert for my app and it worked perfectly.

  • Keziah Naidoo

    Thanks so much. You are a STAR! Your step by step tutorial was an absolute life saver. I use to be a big apple fan but after having to develop and publish one to an apple device I am no longer a believer. ANDROID FOR THE WIN!

  • Yitschak

    Here two .bat files for the certificates creation:

    “create ‘auto.key’ and ‘auto.csr’.bat”:
    :: Will create ‘auto.key’ and with it – creates ‘auto.csr’
    :: Just run the script

    @openssl genrsa -out auto.key 2048
    @openssl req -new -key auto.key -out auto.csr -subj “/, CN=Yitschak Ben-Ezra, C=IL”
    @echo “PLEASE NOTE: Maybe ‘-config ‘openssl.cfg” is required. (if was an error at start)

    “Create ‘p12’ From ‘auto.cer’.bat”:
    :: Put in this folder “auto.cer”
    :: Verify the existance of “auto.key”
    :: Run the script and type your password twice
    :: You will get “auto.p12”

    @openssl x509 -in auto.cer -inform DER -out auto.pem -outform PEM
    @openssl pkcs12 -export -inkey auto.key -in auto.pem -out auto.p12


  • Yitschak

    Here two .bat files for the certificates creation:

    “create ‘auto.key’ and ‘auto.csr’.bat”:
    :: Will create ‘auto.key’ and with it – creates ‘auto.csr’
    :: Just run the script

    @openssl genrsa -out auto.key 2048
    @openssl req -new -key auto.key -out auto.csr -subj “/, CN=Your Full Name, C=IL”
    @echo “PLEASE NOTE: Maybe ‘-config ‘openssl.cfg” is required. (if was an error at start)

    “Create ‘p12’ From ‘auto.cer’.bat”:
    :: Put in this folder “auto.cer”
    :: Verify the existance of “auto.key”
    :: Run the script and type your password twice
    :: You will get “auto.p12”

    @openssl x509 -in auto.cer -inform DER -out auto.pem -outform PEM
    @openssl pkcs12 -export -inkey auto.key -in auto.pem -out auto.p12


  • William R. Cousert

    Is this up to ate? It was published more than two years ago.

    • Emanuele Feronato

      Yes it still works

  • Tian Wang


    I read your post with a great interesting.
    I have to make a game to be run on ios and android using flash and I have its flash work file(fla file). I’d like to ask you about it.

    Best regards. Looking forward to your reply.


  • XiaoXiao

    Hi, there
    I did as your steps and made an ipa and tried to sync it with ipod, but it was failed.

    Let me know why.


  • Thank you ?

  • Andrey

    Oh, guys please help, I stuck on the last step:
    OpenSSL> pkcs12 -export -inkey thekey.key -in ios_development.pem -out iphone_dev.p12
    Loading ‘screen’ into random state – done
    No certificate matches private key
    error in pkcs12

  • Andrey

    Oh, I’ve got my mistake: I wrote renk’s message with the similar error (but another one) and his flash “oh sorry, skipped a step”, so I got back and repeat this command:
    genrsa -out thekey.key 2048
    As you can guess my key was rewrote so it became inmatched with my provision.
    I revoke my cert and repeat all the steps once again. So here’s my .p12 and I hope it works.
    Thank you very match:) for this tutorial! Wish you all the best!

  • Graham

    Emanuele, thanks.

    I hope you can do a tutorial on getting Box2D optimized for iPhone in AS3->AIR 3.8.

    I am blown away by how slow it is compared to Android

    I have spent 160 hours trying to get this game to work on iPhone. It uses 1/10th the overhead of the Android version, but goes 30 times slower.

    What has iPhone done to AIR?

  • With our cloud application you don’t even need a Mac for publishing the App to the App Store: (I’m the creator of the site)

    Best regards,
    Steffen Wenz

  • iskon


    The Ipa doesn’t install just icon fix

  • Andrew


    Im using Animate CC – and I’m reading this in 2017. Is the run through the same or is there any changes? Also I’m using a Windows Machince!

    Thanks in advance