11

Only for a specific project xcode showing project build failed without any error.

Which was working fine till yesterday.

Without any change it is not working today.

What is the issue?

What can I do?

4
  • check your provisioning profiles didnt get expire. Commented Oct 23, 2013 at 5:40
  • Have you tried clearing the derived data (Organizer->Projects / cmd + shift + 2) and then cleaning (cmd+shift+K) Commented Oct 23, 2013 at 5:54
  • provisioning profiles didn't expire. Commented Oct 23, 2013 at 5:55
  • stackoverflow.com/questions/5363564/… Commented Oct 23, 2013 at 5:57

2 Answers 2

65

In your Xcode navigator, click on the Show the Log Navigator tab.

enter image description here

This tab will contain the build logs for each time your build/compile the application. When an error occurs, this will show you details. There is an expand button to check the details causing the error. Check the steps until it fails, see if anything fishy is happening during the build process. Usually in error cases the build process will freeze/quit at a particular source file.

enter image description here

Usually I have seen that restarting Xcode would clear its error cache and any stray errors will go away. Also as a quick check create a new sample app and try building it. If you get errors building this app as well, I'd suggest you reinstall the Xcode. If this builds properly, there is definitely issue with your project files/code. In that case you need to add more details in your question.

Sign up to request clarification or add additional context in comments.

8 Comments

@salim Is this helpful?
Thanks for the answer. But I can not see any issue into log navigator. Just showing project build failed.
@Salim Are there any steps printing in the log which shows some source files? Could you share a screenshot of log navigator?
Oh great answer I have found the issue in navigator. That is: The document "DialpadController.xib" could not be opened. Could not read archive.
|
1

Find the error by clicking on this icon at your xcode:

1 Comment

How does this answer the question?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.