2015-08-15 44 views
1

由於我想運行我的應用程序,Xcode突然找不到Info.plist。 我做了另外一個,並在「Build Settings」區域中更改了Plist位置,但不起作用。 Xcode中說:Xcode沒有找到plist,雖然有一個

/* com.apple.ibtool.errors */ : error: The file 「Info.plist」 couldn’t be opened because there is no such file. Failure Reason: The file doesn’t exist. Underlying Errors: Description: The operation couldn’t be completed. No such file or directory Failure Reason: No such file or directory

它的Xcode 7

回答

0

我解決了它!

我選擇故事板的文件檢查器,並將Build版本轉換爲Development Target。

故事板 - >文件檢查器 - >爲身患 - >項目發展目標

我希望可以解決您的煩惱!

2

5日公測,我認爲你的plist路徑不正確。這將是是:

enter image description here

而不是:

enter image description here

例如:我的項目名稱是 「TestCustomNSButton」 這樣的路徑將是:

enter image description here

希望這對你有幫助!

+0

謝謝你的回答! – dev

+0

如果我這樣做Xcode不能找到它,但可以在我的「常規」選項中選擇一個plist,如果我選擇正確的plist有兩個問題:>檢查依賴關係 警告:複製包資源構建階段包含這個目標的Info.plist文件'/ Users/felixhess /桌面/真正的社交中心+ /真正的社交中心/ Info.plist'。 和/ Users/felixhess/Desktop /真正的社交中心+/Info.plist:0:錯誤:讀取數據:文件「Info.plist」無法打開,因爲沒有這樣的文件。 – dev

+0

請在'Finder'中檢查你的plist文件的真實路徑。我注意到錯誤提示包含'/ Users/felixhess/Desktop /真正的社交中心+ /真實的社交中心/ Info.plist'和'/ Users/felixhess /桌面/真實的社交中心+/Info.plist'。我認爲這是問題的關鍵。 – Bannings