2013-10-10 31 views
1

請別人幫我解決。.Xib在用Xcode 4.6.1運行項目時創建錯誤

我的Mac OS(10.8.5)已更新,我也使用Xcode 5,但是我的以前的Xcode 4.6.1也安裝在我的Mac中。當我通過Xcode 5運行我的項目時,它沒問題,但是當我通過Xcode 4.6.1運行我的項目時,它顯示了您在image.and中看到的錯誤,並且無法運行該項目。

enter image description here

回答

3

這有一個非常簡單的答案。

公開賽上的Xcode 5,項目文件,然後

1.Open file inspector 

2.On Interface Builder Documents section change Open with to Xcode 4.6 (if it's 5.x). 

enter image description here

3.Click Revert, Close the project and open that with old Xcode. 

enter image description here

你可以做的Xcode 4.6同樣的事情與舊版本的工作。

編碼愉快.. :)

3

1)轉到你的xcode5看到你StoryBoardFile去助理編輯預覽的選項。

2)然後轉到文件檢查器中看到第一個選項卡

3)選擇適當的界面生成器文檔4.6

4)一個警報彈出他們要求你恢復到Xcode的4.6格式?選擇恢復

請按照此步驟在舊的xcode項目中打開您的項目。