xcode編譯報錯如下: could not read data from '/Users/iamme/Documents/XCode/myapp/myapp/myapp-Info.plist': The file “myapp-Info.plist” couldn’t be opened because there is no such file.
出現此錯誤的原因: 項目中的plist文件名或路徑 和 TARGETS - Build Setting - Packaging中設置的不一樣。
如上圖,我的plist文件名雖然是對的,但是這里的文件名后面多了個空格,難怪對比了半天也找不出問題。。。
我之前已經碰到過這個問題,今天再次碰到就記下來。