Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS project won't compile, just stalls with no error while copying swiftdocs

Suddenly one of my projects will no longer compile in Xcode. It just stalls at "Copying swiftdocs" and never gets past that.

Stalls here

Xcode is fully responsive, and the last line here indicates that it successfully xopied x86_64.swiftdoc.

All my old projects compile just fine.

Tried cleaning out the derived data, and all Xcode caches. And I also did a clean and a clean build folder on the project. Even deleted Xcode, downloaded 7.0.1 from the App Store again, but still the same issue.

What in the world is wrong here?

like image 347
Christian A. Strømmen Avatar asked Oct 05 '15 09:10

Christian A. Strømmen


People also ask

How do I compile a swift file in Xcode?

To create a new Swift package, open Xcode and select File > New > Swift Package. Choose a name and select a file location. Select “Create Git repository on my Mac” to put your package under version control. On completion, the Swift package opens in Xcode and looks similar to a standard Xcode project.

How do I compile in Xcode?

To compile and run your program, click the run button in the top left corner of the window. When your program runs, XCode will open an output pane. You can see any output that your program generated in that pane.

How do I see errors in Xcode?

cmd+7. click on the top-most "Build $APP" section. locate the warning or error. click the buttons on the right to see the full details of the step you are interested in.


1 Answers

Not sure if this is a solution or explanation, but this happened on one Xcode project/workspace I was working on and then spread to others. I rebooted OSX and the problem seemed to rectify it's self.

Fingers crossed it doesnt happen again!

like image 174
sidewaiise Avatar answered Sep 28 '22 10:09

sidewaiise