What does this mean in 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 8 years ago.
Improve this question
What does this mean?
From Xcode:
dyld: Library not loaded: /System/Library/Frameworks/AVKit.framework/AVKit
Referenced from: /var/mobile/Applications/50BC86A1-5C48-444F-A41A-6AB88D43D3B0/AviaryDemo-iOS.app/AviaryDemo-iOS
Reason: image not found

It means that your code imports the AVKit headers, but the AVKit framework itself has not been linked into your target.
This problem can arise when using #import <...> syntax, and the solution would then require an extra step (namely, add AVKit manually to the linked frameworks in your target's build phases). But it cannot arise when using #import syntax, because what is imported is then a module, and you get auto-linking of modules by default. This is one of the reasons modules are Cool (technical programming term).

Related

Creating Linphone as a Framework [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 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

Integrate MHTabBarController in App [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 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.

Use of undeclared identifier 'UILocalNotification' [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 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.

ld : file not found : warning, Error : clang: error: linker command failed with exit code 1 (use -v to see invocation) [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 7 years ago.
Improve this question
while running on device and making build getting above error. Thanks in advance.
Try setting your BuildValidArchitecturesOnly in Build settings to NO.
Try adding arm7, arm64 (this is based on the type of device you are running your code) to your validArchitectures.
Try cleaning your setup.. Cmd+Shift+K
Delete Derived Data..
Use Valid developer certificate/Profile
Run & see..
It means the library not support 64 bit, you need to remove arm64 from your build settings(Project->build Settings->Architectures) if you just want to compile successfully.
If you intend to submit app to apple store, better to modify your code to make it support for 64bit.

Xcode Clang error file not found [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
Wondering if I can get some direction here; I've got 18 Warnings (which I think are all deprecated functions for SDK(s) for in-ap-advertising. I'm working through them separately. The only error I have is as follows, causing me to be unable to run on both iOS Simulators and on physical devices.
clang: error: no such file or directory: '_ObjC'
The masses of text immediately above this give file paths for what looks like all the compile source paths.
I can confirm that the Build Settings - Linking-Other Linker Flags contains "-all_load" and "_ObjC".
I've had a look about and have found similar questions and tried to transpose the answers into something that will relate to my Error, but am going a bit mad right now because it's probably something really simple :|
Please let me know if you require any further information or screenshots etc., etc.
Regards,
I'm Mad
That should be -ObjC, a hyphen, not _ObjC, an underscore.

Resources