<?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>24Days　iPhoeアプリはdelphiでいっとく</title>
	<atom:link href="http://musecode.net/technote/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://musecode.net/technote</link>
	<description>24日でiPhoneアプリを開発・公開するまでの過程を実況するサイト</description>
	<lastBuildDate>Wed, 07 Sep 2016 03:25:20 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.6</generator>
		<item>
		<title>文字列がファイル名として使用可能かをチェックする</title>
		<link>http://musecode.net/technote/?p=844</link>
		<comments>http://musecode.net/technote/?p=844#comments</comments>
		<pubDate>Wed, 07 Sep 2016 03:25:20 +0000</pubDate>
		<dc:creator>kawabata</dc:creator>
				<category><![CDATA[delphi]]></category>

		<guid isPermaLink="false">http://musecode.net/technote/?p=844</guid>
		<description><![CDATA[//===================================================== [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>//=============================================================================<br />
//  文字列がファイル名として使用可能かをチェックする<br />
//  uses System.IOUtils が必要<br />
//=============================================================================<br />
function TfrmPlayerAppend.IsValidFilename(aFileName: String): boolean;<br />
begin</p>
<p>  if aFileName = &#8221; then<br />
  begin<br />
    Result := false;<br />
    exit;<br />
  end;</p>
<p>  Result := TPath.HasValidFileNameChars(aFileName, false);</p>
<p>end;</p>
]]></content:encoded>
			<wfw:commentRss>http://musecode.net/technote/?feed=rss2&#038;p=844</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>静的クラスメソッド</title>
		<link>http://musecode.net/technote/?p=841</link>
		<comments>http://musecode.net/technote/?p=841#comments</comments>
		<pubDate>Tue, 17 Mar 2015 01:04:21 +0000</pubDate>
		<dc:creator>kawabata</dc:creator>
				<category><![CDATA[delphi]]></category>

		<guid isPermaLink="false">http://musecode.net/technote/?p=841</guid>
		<description><![CDATA[クラス名から直接呼び出せる関数 宣言 class function Count: Integer; stati [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>クラス名から直接呼び出せる関数</p>
<p>宣言<br />
<delphi><br />
    class function Count: Integer; static;<br />
</delphi></p>
<p>実装</p>
<p><delphi><br />
class function TTimeStep.Count: Integer;<br />
var<br />
  tmpInfo :PTypeInfo;<br />
  tmpData :PTypeData;<br />
begin<br />
  tmpInfo :=TypeInfo(TTimeStepEnum);<br />
  tmpData :=GetTypeData(tmpInfo);<br />
  Result := tmpData.MaxValue &#8211; tmpData.MinValue + 1;<br />
end;<br />
</delphi></p>
]]></content:encoded>
			<wfw:commentRss>http://musecode.net/technote/?feed=rss2&#038;p=841</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ドキュメント オブジェクト モデル（DOM）の使用</title>
		<link>http://musecode.net/technote/?p=838</link>
		<comments>http://musecode.net/technote/?p=838#comments</comments>
		<pubDate>Wed, 11 Mar 2015 01:00:17 +0000</pubDate>
		<dc:creator>kawabata</dc:creator>
				<category><![CDATA[delphi]]></category>

		<guid isPermaLink="false">http://musecode.net/technote/?p=838</guid>
		<description><![CDATA[ドキュメント オブジェクト モデル（DOM）の使用]]></description>
				<content:encoded><![CDATA[<h1 id="firstHeading"><a href="http://docwiki.embarcadero.com/RADStudio/XE7/ja/%E3%83%89%E3%82%AD%E3%83%A5%E3%83%A1%E3%83%B3%E3%83%88_%E3%82%AA%E3%83%96%E3%82%B8%E3%82%A7%E3%82%AF%E3%83%88_%E3%83%A2%E3%83%87%E3%83%AB%EF%BC%88DOM%EF%BC%89%E3%81%AE%E4%BD%BF%E7%94%A8" target="_blank">ドキュメント オブジェクト モデル（DOM）の使用</a></h1>
]]></content:encoded>
			<wfw:commentRss>http://musecode.net/technote/?feed=rss2&#038;p=838</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ad-hoc したいなら</title>
		<link>http://musecode.net/technote/?p=832</link>
		<comments>http://musecode.net/technote/?p=832#comments</comments>
		<pubDate>Fri, 27 Feb 2015 05:47:44 +0000</pubDate>
		<dc:creator>kawabata</dc:creator>
				<category><![CDATA[delphi]]></category>

		<guid isPermaLink="false">http://musecode.net/technote/?p=832</guid>
		<description><![CDATA[Provisioning Profiles の Distribution から登録 &#160;]]></description>
				<content:encoded><![CDATA[<p>Provisioning Profiles<br />
の<br />
Distribution から登録</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://musecode.net/technote/?feed=rss2&#038;p=832</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>配置マネージャーがバグだらけの件</title>
		<link>http://musecode.net/technote/?p=830</link>
		<comments>http://musecode.net/technote/?p=830#comments</comments>
		<pubDate>Fri, 27 Feb 2015 05:45:42 +0000</pubDate>
		<dc:creator>kawabata</dc:creator>
				<category><![CDATA[delphi]]></category>

		<guid isPermaLink="false">http://musecode.net/technote/?p=830</guid>
		<description><![CDATA[XE7の配置マネージャでファイルを追加した時の挙動について 削除もここから]]></description>
				<content:encoded><![CDATA[<h1><a href="http://support.embarcadero.com/jp/article/44116" target="_blank">XE7の配置マネージャでファイルを追加した時の挙動について</a></h1>
<p>削除もここから</p>
]]></content:encoded>
			<wfw:commentRss>http://musecode.net/technote/?feed=rss2&#038;p=830</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TMSFMXBitmapContainer は使わない</title>
		<link>http://musecode.net/technote/?p=827</link>
		<comments>http://musecode.net/technote/?p=827#comments</comments>
		<pubDate>Thu, 26 Feb 2015 13:14:01 +0000</pubDate>
		<dc:creator>kawabata</dc:creator>
				<category><![CDATA[delphi]]></category>

		<guid isPermaLink="false">http://musecode.net/technote/?p=827</guid>
		<description><![CDATA[メモリが足りなくなる等、いろいろ面倒]]></description>
				<content:encoded><![CDATA[<p>メモリが足りなくなる等、いろいろ面倒</p>
]]></content:encoded>
			<wfw:commentRss>http://musecode.net/technote/?feed=rss2&#038;p=827</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delphi XE7 で iOS 8.1.3 に対応</title>
		<link>http://musecode.net/technote/?p=821</link>
		<comments>http://musecode.net/technote/?p=821#comments</comments>
		<pubDate>Wed, 25 Feb 2015 04:39:56 +0000</pubDate>
		<dc:creator>kawabata</dc:creator>
				<category><![CDATA[delphi]]></category>
		<category><![CDATA[iPhoneアプリ開発]]></category>
		<category><![CDATA[申請手続き等]]></category>

		<guid isPermaLink="false">http://musecode.net/technote/?p=821</guid>
		<description><![CDATA[XE7 Update 1 をダウンロード、インストール http://cc.embarcadero.com/r [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>XE7 Update 1 をダウンロード、インストール</p>
<p>http://cc.embarcadero.com/reg/delphi</p>
<p>以下を確認</p>
<p>[配布用証明書]<br />
Mac 上で［キーチェーン アクセス］を開き、Developer（Distributionでない方）の方をダブルクリック。<br />
部署の部分が配布用証明書になる。</p>
<p>[モバイル プロビジョン プロファイル]<br />
[アプリ識別子]<br />
Mac にiPhone 構成ユーティリティ をインストールする。（ネットで検索、ダウンロード）iPhone 構成ユーティリティを起動、対象とするプロビジョニングプロファイル（ad-hocとStoreは別）を選択、下にあらわれるプロファイル識別子とアプリ識別子をメモ<br />
/Users/（ユーザー名）/Library/MobileDevice/Provisioning Profiles/（プロファイル識別子のメモの内容）.mobileprovision<br />
がモバイル プロビジョン プロファイルとなる。<br />
アプリ識別子はそのままアプリ識別子となる</p>
<p>プロジェクト＞オプション＞プロビジョニング<br />
と<br />
ツール＞オプション＞プロビジョニング<br />
に[配布用証明書]と[モバイル プロビジョン プロファイル]を入力。タイプ、モードが複数あるのですべてに設定。</p>
<p>delphiからファイル＞開く、%AppData%と入力してEnterキーを押す。<br />
Embarcadero\BDS\15.0\Entitlement.TemplateiOS<br />
を選択。</p>
<p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;<br />
&lt;!DOCTYPE plist PUBLIC &#8220;-//Apple//DTD PLIST 1.0//EN&#8221; &#8220;http://www.apple.com/DTDs/PropertyList-1.0.dtd&#8221;&gt;<br />
&lt;plist version=&#8221;1.0&#8243;&gt;<br />
&lt;dict&gt;<br />
&lt;%getTaskAllowKey%&gt;<br />
&lt;%applicationIdentifier%&gt;<br />
&lt;%pushNotificationKey%&gt;<br />
&lt;%keychainAccessGroups%&gt;<br />
&lt;/dict&gt;<br />
&lt;/plist&gt;</p>
<p>に二行を挿入<br />
&lt;key&gt;application-identifier&lt;/key&gt;<br />
&lt;string&gt;35XXXXXXXXX.com.rigXXXXX.XXXXXX&lt;/string&gt;<br />
[配布用証明書].[アプリ識別子]</p>
<p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;<br />
&lt;!DOCTYPE plist PUBLIC &#8220;-//Apple//DTD PLIST 1.0//EN&#8221; &#8220;http://www.apple.com/DTDs/PropertyList-1.0.dtd&#8221;&gt;<br />
&lt;plist version=&#8221;1.0&#8243;&gt;<br />
&lt;dict&gt;<br />
&lt;%getTaskAllowKey%&gt;<br />
&lt;key&gt;application-identifier&lt;/key&gt;<br />
&lt;string&gt;XXXXXXXXXX.com.XXXXXXXXX.XXXXXXXXX&lt;/string&gt;<br />
&lt;%applicationIdentifier%&gt;<br />
&lt;%pushNotificationKey%&gt;<br />
&lt;%keychainAccessGroups%&gt;<br />
&lt;/dict&gt;<br />
&lt;/plist&gt;</p>
<p>注意：<br />
<span style="color: #ff0000;"><strong>このファイルの行送りは、LF＋CR　でなくLFでなくてはいけないらしい。</strong></span><br />
結局TERA PADで読み込み改行コードをLFに変更した。</p>
<p>注意：<br />
目的フォルダ（release, debug）には、プロジェクトフォルダにある<br />
Entitlement.TemplateiOS<br />
をテンプレートにして、Entitlement.TemplateiOSが作成される。<br />
%AppData%下にあるEmbarcadero\BDS\15.0\Entitlement.TemplateiOS がプロジェクトフォルダにコピーされるのは初回起動時？のみ。よって、<span style="color: #ff0000;"><strong>Entitlement.TemplateiOSを検証するには、毎回、プロジェクトフォルダにある</strong></span><br />
<span style="color: #ff0000;"><strong> Entitlement.TemplateiOS</strong></span><br />
<span style="color: #ff0000;"><strong> を削除する必要がある。</strong></span></p>
<p>注意：<br />
アプリごとに[配布用証明書].[アプリ識別子]は違うが、上記の理由で、プロジェクトフォルダにあるEntitlement.TemplateiOS　を個々に書き換えることで対応できる。</p>
<p>インストールはMACからスクラッチディレクトリ<br />
/Users/yourname/RADPAServer/scratch-dir<br />
を開いて。そこにある、ipa ファイルを XCODE　organizer の目的機種のApplication にドラッグアンドドロップする。</p>
<p>参考：　<a href="http://blogs.embarcadero.com/sarinadupont/2015/01/29/ios-813-app-deployment-steps-for-xe7">http://blogs.embarcadero.com/sarinadupont/2015/01/29/ios-813-app-deployment-steps-for-xe7</a></p>
]]></content:encoded>
			<wfw:commentRss>http://musecode.net/technote/?feed=rss2&#038;p=821</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>パッケージをインストールできません</title>
		<link>http://musecode.net/technote/?p=817</link>
		<comments>http://musecode.net/technote/?p=817#comments</comments>
		<pubDate>Mon, 23 Feb 2015 22:03:00 +0000</pubDate>
		<dc:creator>kawabata</dc:creator>
				<category><![CDATA[delphi]]></category>

		<guid isPermaLink="false">http://musecode.net/technote/?p=817</guid>
		<description><![CDATA[実機テスト　デバッグ パッケージをインストールできません(e8008016) &#62; With UPD 1  [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>実機テスト　デバッグ</p>
<p>パッケージをインストールできません(e8008016)</p>
<p>&gt; With UPD 1 installed,  NONE of them work,<br />
&gt;<br />
&gt; Installed the version without the update, and now  Debug is working, and not getting the errors with<br />
&gt; Adhoc/Appstore/Debug  either  (error e8008016  and e8008015)</p>
<p>I&#8217;m not sure why Update 1 wouldn&#8217;t be working, however error E8008016 is usually a problem with the entitlements file, and E8008015 is commonly a problem with incorrect details in the Provisioning options. For the E8008016 error you could</p>
<p>try deleting the .entitlements file and doing a build (which recreates it).</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://musecode.net/technote/?feed=rss2&#038;p=817</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>App installation failed</title>
		<link>http://musecode.net/technote/?p=815</link>
		<comments>http://musecode.net/technote/?p=815#comments</comments>
		<pubDate>Mon, 23 Feb 2015 22:01:29 +0000</pubDate>
		<dc:creator>kawabata</dc:creator>
				<category><![CDATA[delphi]]></category>

		<guid isPermaLink="false">http://musecode.net/technote/?p=815</guid>
		<description><![CDATA[AD-Hoc で配置後、xCode で ipa ファイルをドラッグしたけれど App installation [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>AD-Hoc で配置後、xCode で ipa ファイルをドラッグしたけれど</p>
<p>App installation failed</p>
<p>The application could not be verified.</p>
<p>のエラー</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://musecode.net/technote/?feed=rss2&#038;p=815</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Missing provisioning information. Mobile Provisioning Profile</title>
		<link>http://musecode.net/technote/?p=811</link>
		<comments>http://musecode.net/technote/?p=811#comments</comments>
		<pubDate>Mon, 23 Feb 2015 19:27:06 +0000</pubDate>
		<dc:creator>kawabata</dc:creator>
				<category><![CDATA[delphi]]></category>

		<guid isPermaLink="false">http://musecode.net/technote/?p=811</guid>
		<description><![CDATA[Missing provisioning information. Mobile Provisioning P [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Missing provisioning information. Mobile Provisioning Profile has not been specified for the &#8220;Ad hoc&#8221; platform configuration.</p>
<p>プロジェクト ＞　オプション ＞ プロビジョニング</p>
<p><strong><span style="color: #ff0000;">構成が３通りあるので特に注意</span></strong></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://musecode.net/technote/?feed=rss2&#038;p=811</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
