Results tagged “Flash” from Naoki Hada: Healthy, Lucky, Wealthy & Happy with HadaSeicha's Green Tea

Some tips I got trapped.

Mac

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" %*


Package batch file

Parameter is long. So it's better to make a batch file. Here's sample.
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"

app.xml file

Here's bare minimum but working sample for above loan_calc-app.xml file. It is for iPhone and iPad.
===================
<?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

Contact Form(Question, Order, etc) | Order HadaSeicha green tea | 日本語ページ

JSFL location on Windows 7

C:\Users\USER_NAME\AppData\Local\Adobe\Flash CS4\en\Configuration

Contact Form(Question, Order, etc) | Order HadaSeicha green tea | 日本語ページ

BeautiFL.net is the Flash show case.

WonderFL.net is ActionScript 3 mixer. We can change script and run online.

Contact Form(Question, Order, etc) | Order HadaSeicha green tea | 日本語ページ

Profile

Maintenance by

Pages

Recent Posts

Archives