Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IOS project showing error "An internal error occurred. Editing functionality may be limited" on xcode 7.1

I just created one new cordova ios project via CLI, and i opened that project in Xcode 7.1 and while running on simulator am getting some error on mainViewController.xib, if we clicked on that error its showing xib file and on top of that showing one warning message "An internal error occurred. Editing functionality may be limited" . So am unable to run this project.

I don't know whether this is due to Xcode bug or cordova bug or any other settings issue in my Xcode.

enter image description here

like image 404
Arjun T Raj Avatar asked Oct 31 '15 20:10

Arjun T Raj


2 Answers

I had this issue and clearing derived data folder fixed the issue for me

Preferences > Locations > Derived Data > click the arrow to open in Finder > trash it. 
like image 152
jithin Avatar answered Sep 20 '22 23:09

jithin


Try this, it's work for me,

Updated NOTE: Mostly this error occurred when you have open 2 different version of Xcode at same time.

Solution: Please close both Xcode and clear derived data.now again try, use one Xcode at a time.

OR

Follow below mention steps ,

1) Trash derived data by two ways either by command or Preferences.

rm -rf ~/Library/Developer/Xcode/DerivedData/ 

OR

Xcode---> Preferences--->Location--->Derived Data 

derived data

2) In Xcode menu go to product clear the project.

enter image description here

3) Disconnect connected device and restart Xcode and system .

enter image description here

follow above steps error will remove.

Hope it's helpful for some one.

like image 29
Jaywant Khedkar Avatar answered Sep 20 '22 23:09

Jaywant Khedkar