iPhone アプリをあるマシンから別のマシンに移動しました。その過程で、info.plist ファイルのバンドル ID が正しくないようで、機能していません。プロジェクト用にまったく新しい info.plist ファイルを作成したいと考えています。
これどうやってするの?
ここにきれいな info.plist があります。xxx.yyy を置き換え、xib ファイルの名前を変更することを忘れないでください (必要な場合)。
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleDisplayName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIconFile</key>
<string>Icon.png</string>
<key>CFBundleIdentifier</key>
<string>xxx.yyy.${PRODUCT_NAME:rfc1034identifier}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSMainNibFile</key>
<string>MainWindow</string>
</dict>
</plist>
空の info.plist ファイルが必要な場合は、XCode の [ファイル] メニューで [新しいファイル...] を選択します。
[新しいファイル] ウィンドウで、左側の [その他] を選択し、次に右側の [プロパティ リスト] を選択します。