<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>as3s.org</title>
	<atom:link href="http://as3s.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://as3s.org</link>
	<description></description>
	<lastBuildDate>Wed, 19 Oct 2011 16:46:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>[AIR for iOS] .ipaファイルをワイヤレスインストールする</title>
		<link>http://as3s.org/2011/10/air-for-ios-wireless-install/</link>
		<comments>http://as3s.org/2011/10/air-for-ios-wireless-install/#comments</comments>
		<pubDate>Wed, 19 Oct 2011 16:03:40 +0000</pubDate>
		<dc:creator>Hisato Ogata</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[iOS]]></category>

		<guid isPermaLink="false">http://as3s.org/?p=28</guid>
		<description><![CDATA[TweetFlash CS5.5やFlash Builder4.5などを利用してiOSアプリケーションを作成する場合、実機でのデバッグはなかなか面倒です。 Xcode上での開発と異なり、作成したアプリケーションは実機に自動転送されないため、書き換える度に実機からアプリを一旦削除して新しい.ipaファイルをiTunesに追加してデバイスと同期する、という作業を繰り返す必要があります。 この手間を省くため、書き出された.ipaファイルを簡単に実機に転送するためのサーバスクリプトを書きました。 install.zip iOS4以降、iTunes経由以外にウェブサイトから直接アプリケーションをインストールする方法が用意されており、その機能を利用しています。 以下、Macでの手順ですがWindowsでも動作するはずです（未検証、要Ruby）。 【手順】 iOSアプリケーションを作成します。 通常通り、iTunesを使って.ipaファイルとモバイルプロビショニングプロファイルを実機に転送します。 Rubyスクリプト install.rb を.ipaファイルと同じフォルダにコピーします。 Rubyスクリプトの設定項目を修正します。 host = "192.168.5.10"; port = 8080; ipa_file = "iOSTest.ipa"; bundle_identifier = "iOSTest"; bundle_version = ""; app_name = "iOSTest"; ターミナルを開いて、スクリプトを実行します。 > ruby /(.ipaファイルのあるディレクトリのパス)/install.rb インストールサーバが起動します。 iPhone実機でインストールサーバ/installにアクセスします。 http://192.168.5.10:8080/install &#8230; <a href="http://as3s.org/2011/10/air-for-ios-wireless-install/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton28" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fas3s.org%2F2011%2F10%2Fair-for-ios-wireless-install%2F&amp;text=%5BAIR%20for%20iOS%5D%20.ipa%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92%E3%83%AF%E3%82%A4%E3%83%A4%E3%83%AC%E3%82%B9%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%99%E3%82%8B&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fas3s.org%2F2011%2F10%2Fair-for-ios-wireless-install%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://as3s.org/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>Flash CS5.5やFlash Builder4.5などを利用してiOSアプリケーションを作成する場合、実機でのデバッグはなかなか面倒です。<br />
Xcode上での開発と異なり、作成したアプリケーションは実機に自動転送されないため、書き換える度に実機からアプリを一旦削除して新しい.ipaファイルをiTunesに追加してデバイスと同期する、という作業を繰り返す必要があります。<br />
<a href="http://as3s.org/wp-content/uploads/2011/10/air_for_ios_package.png"><img class="aligncenter size-full wp-image-24" title="air_for_ios_package" src="http://as3s.org/wp-content/uploads/2011/10/air_for_ios_package.png" alt="" width="675" height="383" /></a><br />
この手間を省くため、書き出された.ipaファイルを簡単に実機に転送するためのサーバスクリプトを書きました。</p>
<p><span id="more-28"></span></p>
<p><code><a href="http://as3s.org/wp-content/uploads/2011/10/install.zip">install.zip</a></code></p>
<p>iOS4以降、iTunes経由以外にウェブサイトから直接アプリケーションをインストールする方法が用意されており、その機能を利用しています。</p>
<p>以下、Macでの手順ですがWindowsでも動作するはずです（未検証、要Ruby）。</p>
<p>【手順】</p>
<ol>
<li>iOSアプリケーションを作成します。</li>
<li>通常通り、iTunesを使って.ipaファイルとモバイルプロビショニングプロファイルを実機に転送します。</li>
<li>Rubyスクリプト <a href="http://as3s.org/wp-content/uploads/2011/10/install.zip">install.rb</a> を.ipaファイルと同じフォルダにコピーします。</li>
<li>Rubyスクリプトの設定項目を修正します。<br />
<code>host = "192.168.5.10";<br />
port = 8080;<br />
ipa_file = "iOSTest.ipa";<br />
bundle_identifier = "iOSTest";<br />
bundle_version = "";<br />
app_name = "iOSTest";</code>
</li>
<li>ターミナルを開いて、スクリプトを実行します。<br />
<code>> ruby /(.ipaファイルのあるディレクトリのパス)/install.rb</code>
</li>
<li>インストールサーバが起動します。</li>
<li>iPhone実機でインストールサーバ/installにアクセスします。<br />
<code>http://192.168.5.10:8080/install</code><br />
<a href="http://as3s.org/wp-content/uploads/2011/10/IMG_0011-e1319038542324.png"><img class="aligncenter size-full wp-image-25" title="Install Page" src="http://as3s.org/wp-content/uploads/2011/10/IMG_0011-e1319038542324.png" alt="" width="320" height="480" /></a>
</li>
<li>Installボタンをタップすると、アプリケーションがインストールされます。
<p><a href="http://as3s.org/wp-content/uploads/2011/10/IMG_0012.png"><img class="aligncenter size-full wp-image-26" title="Install Popup" src="http://as3s.org/wp-content/uploads/2011/10/IMG_0012-e1319038583464.png" alt="" width="320" height="480" /></a></li>
<li>上記のインストールページをホーム画面に追加すると、アイコンをタップするだけでインストールされます。</li>
</ol>
<p>【注意】</p>
<ul>
<li>この記事に起因するいかなる損害も当方は一切責任を負いません。</li>
<li>ウェブサーバを起動しますので、セキュリティ等に留意してください。</li>
<li>アプリを削除した場合は、一度iTunesから通常通りインストールし直してください。</li>
</ul>
<p>【参考】</p>
<ul>
<li><a href="http://developer.apple.com/jp/devcenter/ios/library/documentation/FA_Wireless_Enterprise_App_Distribution.pdf" target="_blank">iOS 4 搭載デバイス用 エンタープライズアプリケーションの配布</a></li>
<li><a href="http://kin2ku.org/protein/blog/2011/02/24/ワイヤレスでadhocアプリ配布インストール-ios/" target="_blank">ワイヤレスでAdHocアプリ配布&#038;インストール [iOS]</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://as3s.org/2011/10/air-for-ios-wireless-install/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Restart</title>
		<link>http://as3s.org/2011/10/restart/</link>
		<comments>http://as3s.org/2011/10/restart/#comments</comments>
		<pubDate>Wed, 19 Oct 2011 14:03:19 +0000</pubDate>
		<dc:creator>Hisato Ogata</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://as3s.org/?p=18</guid>
		<description><![CDATA[Tweetサーバトラブルにより閉鎖状態でしたが、ひとまず再開します。 内容もかなり古くなっていたので、改めてゼロから再スタートします。 ソースコードはなるべくGitHubの方に公開していく予定。 よろしくお願いします。]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton18" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fas3s.org%2F2011%2F10%2Frestart%2F&amp;text=Restart&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fas3s.org%2F2011%2F10%2Frestart%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://as3s.org/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>サーバトラブルにより閉鎖状態でしたが、ひとまず再開します。</p>
<p>内容もかなり古くなっていたので、改めてゼロから再スタートします。<br />
ソースコードはなるべく<a href="https://github.com/as3sorg/" target="_blank">GitHub</a>の方に公開していく予定。</p>
<p>よろしくお願いします。</p>
]]></content:encoded>
			<wfw:commentRss>http://as3s.org/2011/10/restart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

