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.
Related
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.
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 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 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
Recently I have learned how to program a iOS project. I coded by followed a tutorial.But the same code the different result. Maybe there is something wrong with header file? I imported a header file in the same project.Although it made Xcode no warn about "use of undeclared identifier 'UILocalNotification' ", it did't make the effect that I want.And I want to say ,in the tutorial the teacher did't have imported this header file .So mistake must not be here.
Judging by the error, it looks like you might have used a UILocalNotification somewhere in your code that you did not include the proper #import for.
What tutorial were you using? Is there a 'completed project' that they provide that you can compare your code to?
It might be helpful to include any relevant code (from your project) that will aid in the process of troubleshooting the error.
As a side note: Check how recently the tutorial was written-- if it is an older one (for previous versions of XCode), you may need to alter, remove, or add some code in order to fix certain errors.
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.