Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
XCode has recently stopped showing all build errors and I'm at a loss for how to correct it. Whether it be something like forgetting to put in an initial view controller, misspelling/not declaring a variable name, or pretty much anything else that would cause the project not to build will no longer show up. I've built the project on other Macbooks and it showed me the errors so I was able to correct it, but I can't get it to show on mine.
The issue might occur because of Xcode.
(1) Quit and relaunch Xcode.
(2) Clean (⌘+shift+K) and build (⌘+shift+B) your project.
If that not case, check out he answer here by Kris i.e.
Click the last icon in the top bar of the left most panel in your
Xcode window to reveal the secret Archive build errors.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I have an iOS project that depends on several external dependencies (swift frameworks, objective C projects, and vanilla C). All of a sudden (with no code changes that I can see), the builds have begun failing, flagging errors:
I am on Xcode 11.3.1 with Swift 5.
This error persists even after reverting to an earlier revision of the project that was known to compile, and when attempting to build on a new machine with a completely fresh clone of the project.
I am at a complete loss at this point, any help would be greatly appreciated.
EDIT: I've noticed for some reason my compiler version was set to Swift 4.2 in my Build Settings. Now the project builds....sort of. When I try to archive the project I still have the same problem, but a normal build with Product->Build works.
Unfortunately I am unable to reproduce this error in a small project as I have no idea what change caused it to begin happening.
The solution for this problem was to disable optimizations in the build settings (from "optimize for speed" to "no optimization").
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
I am working on a Xcode8.3.3 iOS10.3 compatible project and it has some UI tests (I had written them) associated with it which were building successfully and passing until the recent dependency pod library update, in spite of warnings in the warnings tab.However, after updating my dependent pod library to newer version, the build for UI tests are failing showing same warnings that were present already as "reason", but project build is passing. Could it be due to some misconfiguration(I did not make any configuration changes though other than incrementing pod library version) or some error check set to strict or something else? No hint on what could be the issue. Do suggest.
(Note: there is no specific code that I think will be required as this is a problem with only UI tests not building and suggestions of build config -- zero code changes compared to UI tests that were building earlier -- if required I am ready to show, let me know what I have to show).
I am a newbie to Xcode. It seems I somehow clicked on disable tests option which comes when we try to run tests from the fifth icon in left pane and select test to run.Hence, the build was failing and it never notified me I had disabled tests.Now I have found this and enabled this option and it's working fine.
As you see this has nothing to do with code and thanks for not hinting out this could be an issue :) and all your kind down votes.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
I'm a newest Swift programmer. I'm building a simple app to iOS system.
I have a strange error when I try to click on one button of my application.
This is the first View:
If I try yo click on "Kit Button", I have this error but I don't know I can I fix it:
You can debug by following steps:
Go to breakpoint navigator
Click on '+' button in bottom left
Click on exception breakpoint
Select All exceptions
Run application again with debug mode active , you can see on which line code breaks.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I started work on a project written in ObjectiveC++ (.mm file extensions) with backbase on Xcode 7.3. During work I found that break point is not working in the app. I have reset the settings but still no success. I have also gone through below but still running in same issue
Link1 Link2 Link3
Can any help me in resolving this issue? Any idea or suggestion would be great.
Breakpoints are working with Obj-C++ code for me. Just check that you are running program with "Debug" command and signing app with developer (not distribution) certificate and provisioning profile (not for App Store)
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
My xcode asked me to replace something, not sure what, it had to do with the test folder of my project so i just accepted it since xcode recommended it. Now every time i do something in interface builder i get an error. I spent probably 40 hours on the project in interface builder but now everything i do gives me an error... What should i do?
I searched for way to load an old saved file of the project but i found that this is not possible so right now i'm stuck with a project that gives me errors every time i add something or change something.
EDIT: I'm guessing i'm in test mode or something since it gives me really dumb errors that are obvious but i don't know how to come back to the normal mode.
If XCode asked you to change something automatically, it probably had created a snapshot of your project.
You can revert from the File Menu > Restore Snapshot.