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
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 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.
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 7 years ago.
Improve this question
I wanted to integrate MHTabBarController in my app .When I try to import MHTabBarController.h and MHTabBarController.m files it created problem. It showing me lots of error.
So how to use MHTabBarController in app ?
1) download MTTabBarController
2) Copy "MHTabBarController" and paste it to your project.
3) Goto build phases and add following libraries
UiKit,foundation and core graphics framework.
4) the go to "MHTabBarController.h" and add import Uikit framework
like this #import
5) clean the project and build
you are good to go.
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.