2013-11-26 26 views
0

我最近升級了我的xcode 4.2到xcode 5.現在,當我嘗試在iOS 5設備上運行我的應用程序時,異常'NSInternalInconsistencyException',原因是:'NIB數據無效。談到。'NSInternalInconsistencyException',原因:'NIB數據無效'。在更新xcode

  1. 我已經取消選中故事板中的「使用Autolayout」選項。
  2. 我安裝了iOS 5和iOS 5.1 SDK,並將它們複製到xcode(/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDK),並將我的應用的基礎SDK設置爲iOS 5.1和5.0。但仍然有例外。
    這是什麼原因,什麼是溶出?
    此外,該應用程序在iOS6和iOS7模擬器中運行良好。
+0

好象特定NIB中未找到。你能否遵守這個筆尖與課堂的正確根源? – Ganapathy

回答

1

嘗試改變athe架構。 iOS 5中不會有對ARMv7和支持armv7s

按照我的步驟

Click at Standard (armv7) $(ARCHS_STANDARD_32_BIT) 
Choose "Other" 
CLick at "$(ARCHS_STANDARD_32_BIT)" and the Click "-" to delete it 
Click "+" to add new item 
Type "armv6" 
Click "+" again 
Type "armv7" 
Click anywhere to finish 

我希望這幫助

我只是有同樣的問題,我試圖做到這一點,這對我來說

工作
+0

嗨,我試過了你的步驟。但它沒有奏效。但是,同樣的例外來了。 – deltaaruna

0

請參閱該截屏,它可以幫助:

第1步:

enter image description here

步驟2:

enter image description here

相關問題