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 6 months ago.
This post was edited and submitted for review 6 months ago and failed to reopen the post:
Original close reason(s) were not resolved
Improve this question
My project can only run on devices and not simulator, it's an object-recognition app, is it possible to run a single view of my project that doesn't use any technology and is able to run on simulator? I need to do tests and I'd like not to run the app on the device every time.
Create a new target for your project. then only add specific views and relevant source file to the current new target. remember to change the active scheme before run.
To run a specific view on the Xcode simulator, you can use the "Debug View Hierarchy" button in the simulator's "Debug" menu.
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 1 year ago.
Improve this question
I'd like to recreate a linphone library as a framework library but i'm facing a problem with Apple Mach-O Linker.
I was trying to fix this for a week but i can't. Please help me or guide me the way to fix this.I'm new with iOS app development.(I also tried to recreate with static library and add it with subproject the problem is the same).
This is my testing xcode project.
i just download your project after run i got the smae error you were taking about "Apple Mach-O Linker". i solved the problem hope it is hepful to you.
You just need to GO >Project Target > Build Settings then search for Bitcode. You will find Enable Bitcode = "YES" Make it "NO"
PFA
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.
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
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.
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
Recently, I'm working on ios code coverage. following this link:
Code coverage not showing results using Xcode + gcov
I have been able to get it when run on simulator, the gcno and gcda files are together with build objects. But to real device, it's different, I got gcda files in device, but whether in my mac or my device, I cannot find the gcno files, can anyone help me? thanks very much.