エラーの内容
Build input file cannot be found: ファイル名/Info.plist'がでて先に進めません。正常にビルドができていた以前のプロジェクトフォルダを起動しても同じエラーに悩まされています。
考えられるエラーの原因
日本語のアイコン名をつけるべく、NewFile⇨macOS⇨Resource⇨Stringfile⇨名前のコード記入時にinfo.plistを触ったようです。
現在、Stringfileを削除しましたが同じエラーがでています。
info.plist関係のスクリーンショットは下記のとおりです。
↓ ↓ ↓
現れたファイル名もChooseボタンも選ぶことができません。
現状の英語info.plistは下記のとおりです。
エラー対策の時、Bundle display nameなどがブランクになっていたので
現状どおりインプットしました。
日本語のinfo.plistは下記のとおりです。
エラー対策の時、Bundle display nameなどがブランクになっていたので
現状どおりインプットしました。
行った対策
英和各種のサイト、書籍を調べましたが、対策が見つかりませんでした。
ほとんどの助言がchoose info plistボタンを押してファイルを選べというものでしたが、現れたファイルは選べず下のchooseボタンは消えたままです。
ご参考事項
環境は下記のとおりです。
MacBook Pro (15-inch, 2016)
Mojave OS10.14.4
Xcode Version 10.2.1 (10E1001)
Swift4
よろしくご教示ください。
追加情報1 日本語info.plistのコード
<?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>$(DEVELOPMENT_LANGUAGE)</string> <key>CFBundleDisplayName</key> <string>$(DISPLAY_NAME) </string> <key>CFBundleExecutable</key> <string>$(EXECUTABLE_NAME)</string> <key>CFBundleIdentifier</key> <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundleName</key> <string>$(PRODUCT_NAME)</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> <string>1.0</string> <key>CFBundleVersion</key> <string>1</string> <key>LSApplicationCategoryType</key> <string></string> <key>LSRequiresIPhoneOS</key> <true/> <key>LSSupportsOpeningDocumentsInPlace</key> <true/> <key>NSCameraUsageDescription</key> <string>時刻表を取り出すため</string> <key>NSPhotoLibraryAddUsageDescription</key> <string>時刻表を取り出すため</string> <key>NSPhotoLibraryUsageDescription</key> <string>時刻表を取り出すため</string> <key>UIFileSharingEnabled</key> <true/> <key>UILaunchStoryboardName</key> <string>LaunchScreen</string> <key>UIMainStoryboardFile</key> <string>Main</string> <key>UIRequiredDeviceCapabilities</key> <array> <string>armv7</string> </array> <key>UIStatusBarTintParameters</key> <dict> <key>UINavigationBar</key> <dict> <key>Style</key> <string>UIBarStyleDefault</string> <key>Translucent</key> <false/> </dict> </dict> <key>UISupportedInterfaceOrientations</key> <array> <string>UIInterfaceOrientationPortrait</string> </array> <key>UISupportedInterfaceOrientations~ipad</key> <array> <string>UIInterfaceOrientationPortrait</string> <string>UIInterfaceOrientationPortraitUpsideDown</string> <string>UIInterfaceOrientationLandscapeLeft</string> <string>UIInterfaceOrientationLandscapeRight</string> </array> </dict> </plist>
追加情報2 info.plistで検索したBuildSettingのスクリーンショットを追加
fuzzballさんの追記依頼のスクリーンショットの追加
choose info.plistボタンがある画面全体図
![]
このchoose info.plistボタンを押して現れる画面
このダイアログの拡大図
ここに現れたRouteSearchMemoというファイルは選択できず、
下のchooseボタンも選べない状態です。
回答1件
あなたの回答
tips
プレビュー