Xcode quits unexpectedly every time I open my project

前端 未结 15 1391
傲寒
傲寒 2020-11-27 05:51

I am just opening my xcode , when i open my current project its showing the warning like \"xcode quit unexpectedly \" with 3 options \"Ignore\",\"Report\" and \"Reopen\",whe

15条回答
  •  我在风中等你
    2020-11-27 05:58

    Xcode stores some user state information inside the Xcode project “file”, which is really a folder. That state information might have become corrupted. You can normally throw away everything inside your .xcodeproj folder except the project.pbxproj file. This might fix your problem.

    Open up the folder containing your .xcodeproj file. Right-click or control-click the .xcodeproj file and choose “Show Package Contents”. Then throw away everything except the project.pbxproj file.

    cleaning an xcodeproj package

    If you know what an Xcode workspace is, and you're actually making use of it, you might not have a project.xcworkspace file to throw away, or you might not want to throw it away. But if you don't know what an Xcode workspace is, then you're not using it so you can just throw away project.xcworkspace. Xcode will recreate it automatically.

提交回复
热议问题