Results tagged “iPhone” from Naoki Hada: Healthy, Lucky, Wealthy & Happy with HadaSeicha's Green Tea
Some tips I got trapped.
We need Mac to create provision file. Windows only environment does not work. I got Mac mini. We need to pay $100 to be iOs developer.
p12
It requires "iPhone certificate" file. File extension is .p12. We need to create from KeyChain on Mac. When we create we need to select "iPhone Developer Certificate" and "Personal Secret Key" and click to export as P12 file. One file will be created with password.
mobileprovision
This file can be created on Windows after some part on Mac.
iTunes
When we deploy through we need drag and drop mobileprovision file. IPA file will be added by just double clicking.
pfi.bat
It does not work Java 64 bit version. So I installed 32 bit version on C:\java32\ folder. But still command line called 64bit version even after I changed PATH. So I modified pfi.bat file.
Before
@java -Xms256m -Xmx1024m -jar "%~dp0\..\lib\pfi.jar" %*
After
C:\java32\jdk1.6.0_22\bin\java -Xms256m -Xmx1024m -jar "%~dp0\..\lib\pfi.jar" %*
C:\packagerforiphone\bin\pfi -package -target ipa-test -provisioning-profile "Jeanette_Loan_Calc.mobileprovision" -storetype pkcs12 -keystore "iOs_Dev_Naoki.p12" -storepass PASSWORD "loan_calc.ipa" "loan_calc-app.xml" "loan_calc.swf"
===================
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<application xmlns="http://ns.adobe.com/air/application/2.0">
<id>loancalc.hada.org</id>
<version>1.0</version>
<filename>loan_calc</filename>
<description/>
<!-- To localize the description, use the following format for the description element.<description><text xml:lang="en">English App description goes here</text><text xml:lang="fr">French App description goes here</text><text xml:lang="ja">Japanese App description goes here</text></description>-->
<name>Jeanette Hada Loan Calc</name>
<!-- To localize the name, use the following format for the name element.<name><text xml:lang="en">English App name goes here</text><text xml:lang="fr">French App name goes here</text><text xml:lang="ja">Japanese App name goes here</text></name>-->
<copyright/>
<initialWindow>
<content>loan_calc.swf</content>
<systemChrome>standard</systemChrome>
<transparent>false</transparent>
<visible>true</visible>
<fullScreen>false</fullScreen>
<aspectRatio>portrait</aspectRatio>
<renderMode>auto</renderMode>
<autoOrients>false</autoOrients>
</initialWindow>
<icon/>
<customUpdateUI>false</customUpdateUI>
<allowBrowserInvocation>false</allowBrowserInvocation>
<iPhone>
<InfoAdditions>
<![CDATA[<key>UIDeviceFamily</key><array><string>1</string><string>2</string></array>]]>
</InfoAdditions>
</iPhone>
</application>
===================
Now I can convert kids app I made for Aislee for iPad.
Thank you,
Naoki