Strange error on click on Button (Swift Xcode) [closed] - ios

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.

Related

Why Playground not allowing me to execute the code? [closed]

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 months ago.
Improve this question
I have tried quit and re-open my xCode, also restart my mac several time but still facing this issue.
Unable to run my code because of this:
It's probably because of Rosetta.
Go to Application -> Xcode -> Get Info -> uncheck Rosetta.
And restart your mac.

Xcode Project Build Failed With No Errors [closed]

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.

Xcode asked me to replace something and i did, now my xcode doesn't work properly? [closed]

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.

could not find a storyboard in xcode5 for ios 5 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I just created a new iPhone app project in Xcode 5, and set the iOS Deployment Target to 5.0. I tried to run the app in the iOS 5.1 simulator, but I got the following error:
Could not find a storyboard named ‘Main’ in bundle NSBundle
Select Main.storyboard and Make the following changes to Localization section in File Inspector.
What kind of project have you choosed (empty, single view)?
Can you see Main.storyboard file in your project resources?
Make sure that in your target (General tab) under Deployment Info section you have selected 'Main' in Main Interface field.
Try this
open the info.plist of your project and remove the selected row displayed in screenshot

how to integrate one project file to another in xcode [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
Hello friends I developed an app in ios in that contains a database (coredata) the user can login with a username and a password and then he can store the personal details, pictures, files, documents.... Now, I want to link this Xcode project to another code project of mine so can anyone help how to add one Xcode project file to another. I tried by adding new files in Xcode but it was not showing project file which I want to add hope I'll get the best answer
You can drop the .xcodeproj you want to add in the file selector in the sidebar of Xcode.
The best approach would be to move the files into a separate directory, treat it as a separate project and put that project under revision control. Then link it to your two other projects as a submodule.

Resources