プロジェクト内のInfo.plistの場所を変更した後、エラーが報告されます。そのようなファイルがないため、ファイル「Info.plist」を開くことができませんでした。



After Changing Location Info



プロジェクト内のInfo.plistファイルの場所を変更した後、つまり、新しく作成されたディレクトリフォルダーにInfo.plistファイルを配置した後、実行時にエラーが報告されます。

error: could not read data from '/Users/zhangshaoyu/Desktop/DemoCamera/DemoCamera/Info.plist': The file “Info.plist” couldn’t be opened because there is no such file.



解決策:Info.plistファイルの正しいパスをリセットします。設定は次のとおりです。