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

前端 未结 23 2124
春和景丽
春和景丽 2020-12-02 15:34

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

相关标签:
23条回答
  • 2020-12-02 15:52

    Running Xcode 7.3.1, I had the same error message appear while editing a .xib file. Performance would stall, and Xcode often became unresponsive. Filed a bug report, and in the meantime came across this line of code in the .m file associated with the most problematic .xib:

    NSString *check = [formatter stringFromDate:date];/

    The "/" was not being flagged as an error, and the project had built and run many times with this in place. After removing the "/", performance improved dramatically, and the error message has only appeared a couple of times, briefly, since then and by now not for several days.

    So far, this seems to be a case of a glitch in the debugger.

    0 讨论(0)
  • 2020-12-02 15:53

    I'm in Xcode 7.3 and had the same issue after opening file in xCode 8.0. This worked for me:

    Made a product/clean in Xcode, then quit Xcode and clean out all the content in ~/Library/Developer/Xcode/DerivedData manually.

    0 讨论(0)
  • 2020-12-02 15:55

    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
    

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

    3) Disconnect connected device and restart Xcode and system .

    follow above steps error will remove.

    Hope it's helpful for some one.

    0 讨论(0)
  • 2020-12-02 15:55

    Also happens when you declare non-swift/wrong data types like Long, boolean etc. So stupid.

    0 讨论(0)
  • 2020-12-02 15:56

    I was getting this error on Xcode 11.4. I tried all of the above suggestions and none of them worked. I am posting my fix in case it will help someone else. I was using the legacy build system for my project since I had options that were not yet supported with the latest build system. Xcode 11.4 now supports those options. I the value for BuildSystemType to Latest in all of WorkspaceSettings.xcsettings files and then this error went away.

        <key>BuildSystemType</key>
        <string>Latest</string>
    
    0 讨论(0)
  • 2020-12-02 15:56

    I just had this issue today and it really got me frustrated for awhile. First I got the error "unable to boot the simulator" and I couldn't load the simulator and then my storyboard started doing this and I got an internal error.

    I tried the other solutions mentioned here including cleaning and rebuilding, deleting the DerivedData folder but none worked. I upgraded my OS to Sierra and that solved the problem for me.

    Hope it helps.

    0 讨论(0)
提交回复
热议问题