私はこの記事の議論に従っていますが、これは私がやったことです:
次のように編集/Developer/Platforms/iPhoneOS.platform/Info.plist
します。
<key>NATIVE_ARCH</key>
<string>armv6</string>
<key>PLIST_FILE_OUTPUT_FORMAT</key>
<string>binary</string>
<key>PROVISIONING_PROFILE_ALLOWED</key>
<string>NO</string>
<key>PROVISIONING_PROFILE_REQUIRED</key>
<string>NO</string>
<key>SDKROOT</key>
<string>iphoneos2.2</string>
次に、このスクリプトを自分のコンピューターで実行します
#!/bin/bash
cd /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Plug-ins/iPhoneOS\ Build\ System\ Support.xcplugin/Contents/MacOS/
dd if=iPhoneOS\ Build\ System\ Support of=working bs=500 count=255
printf "\xc3\x26\x00\x00" >> working
dd if=iPhoneOS\ Build\ System\ Support of=working bs=1 skip=127504 seek=127504
/bin/mv -n iPhoneOS\ Build\ System\ Support iPhoneOS\ Build\ System\ Support.original
/bin/mv working iPhoneOS\ Build\ System\ Support
chmod a+x iPhoneOS\ Build\ System\ Support
それは私がやったことのすべてです。これで、プロビジョニングやコード署名なしでデバイス上でアプリケーションを実行できますが、問題は、コンソールにデバッグ メッセージが表示されないことです。シミュレーターでOKです。それらを取り戻す方法を知っている人はいますか?
ちなみに、OSX 10.5.7 と xCode 3.1.4 を使っています。