Using Xcode 4.5.1. Our project has been building fine for the last three months, but suddenly, when I try to build, it says \"Build failed\", but does not show any errors on the
Click the last icon in the top bar of the left most panel in your Xcode window to reveal the "secret" Archive build errors. I had permission issues which solved for me.
Click the last icon in the top bar of the left most panel in your Xcode window to reveal the secret Archive build errors.
It will likely be something related to code signing if you are able to build and run the app, but not Archive. Further googling of your error message should resolve that now that it has been revealed.
If you changed the Build System to the new one, change back to the Standard. It solved for me.
Faced same issue with xCode 8 the reason was that my Apple Id session expired and xCode was not able to renew it because of network connection problems once i signed in with my Apple id in preferences. I was able to build normally again
I agree with Jason. You must did something wrong. It is Xcode's bug that it could not produce the error. Just move back on your path. Open screens you edited/opened last time. In My case ;
was missing in one controller.
Try next scenario:
.swift
file with test functions containsimport XCTest
class <name>Tests: XCTestCase {
//...
}
*If you have Cannot find viewcontroller in scope
error -> remove classes from Test Target membership