linker command failed with exit code 1 in old source code - ios

I have an old project that was developed few years ago. Now when I compile it in latest Xcode 8.3.1 than its giving me some errors. I also googled it but didn't get success.
Here is the screenshot of logs so any help would be highly appreciated.

Answer for the original question "BitCode Signature failure":
Possible duplicate of the question:
Bitcode signature failure in Xcode
Please find the answer there :)
Answer for duplicate symbols error:
Possible duplicate of the question:
duplicate symbols for architecture armv7
Please find the answer there :)

Related

How to upgrade application for 64 bit support for ZBarSDK

I have developed an application using ZBarSDK for Barcode. It is working fine with 32 bit support, but while I am going to upgrade it to 64 bit, it is giving linker error. Is there any tutorial or way to find out the solution ? Below are the warnings, with linker error.
duplicate symbol in:
projectpath/arm64/main.o
projectpath/arm64/AppDelegate.o
duplicate symbol in:
projectpath/arm64/main.o
projectpath/arm64/ViewController.o
etc...
This kind of warnings and linker error is there for every controller. I konw, this kind of warning comes when there are similar named class are twice or more time in source code, but if I remove 64 bit it is working fine. How to get rid of this kind of linker error.
I'm not sure about the command to merge two or more libraries, I have tried for simulator and device library. After failure, my Sr. helped me and created this attached library.
This SDK I have used before 2 years to support 64bit in my application and was working fine. Not sure about any new changes made by ZBARSDK Team
I have uploaded my SDK at https://www.dropbox.com/sh/zhbqsa0heuputlk/AAC1kDkJBxgybtwi7lnmZ9lra?dl=0
You can try this sdk.
Thanks

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.

Renaming App Failed after following Technical Q&A QA1625

After changing my app's name per Technical Q&A QA1625, I get this error message:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ld: file not found: /Users/.../Xcode/DerivedData/.../Build/Products/Debug-iphonesimulator/oldName.app/oldName
This directory has the correct names, i.e. newName.app/newName... Why is Xcode looking for oldName? I'm extremely reluctant to hack this by renaming these files manually. I have looked through the other StackOverflow questions and nothing there seems to work.
How can I fix this?
Thanks
I meet the same problem. I solve it by following Renaming iOS project in xCode 5
which says you need also rename the schema name.
Hope this helps :) BTW, I am using Xcode 6.3.2.

xcode 6.01 Mach - O linker error

Hi I have been trying to solve this problem for the past 2 days...
I am using the aubio.framework for an app I am trying to build and I keep getting the errors below
I tried all of the solutions I have found on SO but nothing worked. The aubio.framework seems to be linked correctly and no other frameworks are linked (started a new project)
Please help me!
I just had the same problem, you have to add following frameworks:
Accelerate.framework
AudioToolbox.framework
It seems that aubio doesn't work without it.

when i build my project in xcode i got an error like clang error:input files not found

I am trying to develop an application in xcode using objective c.When i build my project got an error like
clang error:no input files found
command/users/chairman/Desktop/xcode.app/contents/Developer/ToolChains/XcodeDefault.xctoolchains/usr/bin/clang failed with exit code1
Can anyone please help me in solving this?
I believe you have not copied entire error messages.
Anyhow, you should see this link or this.

Resources