Xcode Clang error file not found [closed] - ios

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.

Related

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.

Break Point is not working in Xcode7.3 [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 6 years ago.
Improve this question
I started work on a project written in ObjectiveC++ (.mm file extensions) with backbase on Xcode 7.3. During work I found that break point is not working in the app. I have reset the settings but still no success. I have also gone through below but still running in same issue
Link1 Link2 Link3
Can any help me in resolving this issue? Any idea or suggestion would be great.
Breakpoints are working with Obj-C++ code for me. Just check that you are running program with "Debug" command and signing app with developer (not distribution) certificate and provisioning profile (not for App Store)

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.

Apple Match O linker error [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 8 years ago.
Improve this question
I am getting an Apple Match O linker error and I really don't know where I made a mistake . I really need help. Thank you.
Please feel free to download my project from http://wikisend.com/download/690420/Couturier 2.zip
Compiler shows duplicate symbol error.. When I looked in to your code I see more than 1 implementations of
Ld /Users/rajesh-2497/Library/Developer/Xcode/DerivedData/Couturier-hjowwgfpdkptpogvpvydyrxctoaw/Build/Products/Debug-iphonesimulator/Couturier.app/Couturier normal x86_64
cd /Users/rajesh-2497/Downloads/Couturier
export IPHONEOS_DEPLOYMENT_TARGET=7.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Users/rajesh-2497/Library/Developer/Xcode/DerivedData/Couturier-hjowwgfpdkptpogvpvydyrxctoaw/Build/Intermediates/Couturier.build/Debug-iphonesimulator/Couturier.build/Objects-normal/x86_64/ShoesViewController.o
ld: 26 duplicate symbols for architecture x86_64
this many classes remove duplicate implementations and build your application

Resources