Hi,
I just got my iOS developer license and since I got my iPod Touch 2nd generation (4.2.1) in the mail last week I had everything I needed to start testing the iOS game I had been working on. And then I failed. Can't get it to work. The thing is, I use Windows so part of the process isn't as straight forward as on a Mac which is probably the part where I got it wrong. Since there's so many steps I'll just go through all of them. Hopefully someone will be able to help.
I used this tutorial to get a .p12 as I was informed to do by the Stencyl help article:
http://www.adobe.com/devnet/air/articles/packaging-air-apps-ios.html1. I got my App ID:

2. I got my device name and UDID and copied it directly to New Device and set it up correctly.
3. I generated a CSR file. I downloaded OpenSSL-Win32 and used CD to set CMD to the correct directory.
Had an error: WARNING: CAN’T OPEN CONFIG FILE: /USR/LOCAL/SSL/OPENSSL.CNF
but using this I fixed it:
set OPENSSL_CONF=c:\OpenSSL-Win32\bin\openssl.cfg
I then used CMD to do the following command:
openssl genrsa -out mykey.key 2048.
That got me a mykey.key file in the bin folder.
Then I used this command:
openssl req -new -key mykey.key -out CertificateSigningRequest.certSigningRequest -subj "/emailAddress=myaddress@example.com, CN=Stefan Rumen, C=NL"
That got me a file called CertificateSigningRequest.certSigningRequest
I then went to Certificate>Developer
Put the file above in the Request Certificate window and after a few minutes I was able to download ios_development.cer

Did not download the WWDRCA.cer file at the time, but it doesn't seem to use it in the Windows procedure, only the OSX one.
Then I went back to CMD and put in:
openssl x509 -in ios_development.cer -inform DER -out ios_development.pem -outform PEM
That got a pem file. Then I did:
openssl pkcs12 -export -inkey mykey.key -in developer_identity.pem -out iOS_dev.p12
That asked me for a password, which I was unable to enter anyway. I looked on the internet and seemed to find a solution. Did this:
openssl pkcs12 -export -inkey mykey.key -in developer_identity.pem -password pass:fakepassword -out iOS_dev.p12
That got me a p12 file. I later learned that the password input is invisible, but even when I did the original code and typed in a password it didn't work. Anyway I then set up two distribution profiles like this:


Then I set up my Stencyl like this:

Tried the Joystick example to test it but I then got this message. Kept changing it but it never compiled correctly.
1 identity imported.
iPhone Developer: Stefan Rumen (3R2DAF83YQ)
Build settings from command line:
CODE_SIGN_IDENTITY = iPhone Developer: Stefan Rumen (3R2DAF83YQ)
SDKROOT = iphoneos5.1
=== BUILD NATIVE TARGET AppScaffold OF PROJECT AppScaffold WITH CONFIGURATION Release ===
Check dependencies
Code Sign error: No unexpired provisioning profiles found that contain any of the keychain's signing certificates