I get a error message when trying to run my ios app ande Xcode 6.3 returns Apple Mach-O Linker Error. What's the problem?
I just compiled a project and Xcode 5 returns "Apple Mach-O-Linker error". How do I fix them? How to solve the problem? I am using iOS 7.
Here is the whole error:
Ld /Users/eric/Library/Developer/Xcode/DerivedData/AskingApp-ajdanpgjvvbbvuatgxrdrnwjrunp/Build/Products/Debug-iphonesimulator/AskingApp.app/AskingApp normal x86_64
cd "/Users/eric/Downloads/AskingApp20150421 2"
export IPHONEOS_DEPLOYMENT_TARGET=7.1
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"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.3.sdk -L/Users/eric/Library/Developer/Xcode/DerivedData/AskingApp-ajdanpgjvvbbvuatgxrdrnwjrunp/Build/Products/Debug-iphonesimulator -F/Users/eric/Library/Developer/Xcode/DerivedData/AskingApp-ajdanpgjvvbbvuatgxrdrnwjrunp/Build/Products/Debug-iphonesimulator -F/Users/eric/Downloads/AskingApp20150421\ 2/AskingApp -filelist /Users/eric/Library/Developer/Xcode/DerivedData/AskingApp-ajdanpgjvvbbvuatgxrdrnwjrunp/Build/Intermediates/AskingApp.build/Debug-iphonesimulator/AskingApp.build/Objects-normal/x86_64/AskingApp.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=7.1 -framework Security -framework MobileCoreServices -framework SystemConfiguration -lz -framework CFNetwork -framework Parse -framework CoreGraphics -framework UIKit -framework Foundation -Xlinker -dependency_info -Xlinker /Users/eric/Library/Developer/Xcode/DerivedData/AskingApp-ajdanpgjvvbbvuatgxrdrnwjrunp/Build/Intermediates/AskingApp.build/Debug-iphonesimulator/AskingApp.build/Objects-normal/x86_64/AskingApp_dependency_info.dat -o /Users/eric/Library/Developer/Xcode/DerivedData/AskingApp-ajdanpgjvvbbvuatgxrdrnwjrunp/Build/Products/Debug-iphonesimulator/AskingApp.app/AskingApp
ld: truncated fat file. Slice from 24061796 to 30544388 is past end of file with length 30544327 file '/Users/eric/Downloads/AskingApp20150421 2/AskingApp/Parse.framework/Parse' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Anyone?
Related
I've scanned the internet for all possible solutions to my problem, but I have not been able to find an answer. I've tried cleaning and reopening xcode. It works fine on the simulator, but I get the following error when I run it on the device :-
Ld /Users/krishwadhwana/Library/Developer/Xcode/DerivedData/Tricenter-comzufishylbsifovkzysenwtyyh/Build/Intermediates/ArchiveIntermediates/Straight\ Lines/IntermediateBuildFilesPath/Tricenter.build/Release-iphoneos/Tricenter.build/Objects-normal/arm64/Tricenter normal arm64
cd "/Users/krishwadhwana/Documents/Coding/My Development Main/Straight Lines"
export IPHONEOS_DEPLOYMENT_TARGET=8.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk -L/Users/krishwadhwana/Library/Developer/Xcode/DerivedData/Tricenter-comzufishylbsifovkzysenwtyyh/Build/Intermediates/ArchiveIntermediates/Straight\ Lines/BuildProductsPath/Release-iphoneos -F/Users/krishwadhwana/Library/Developer/Xcode/DerivedData/Tricenter-comzufishylbsifovkzysenwtyyh/Build/Intermediates/ArchiveIntermediates/Straight\ Lines/BuildProductsPath/Release-iphoneos -F/Users/krishwadhwana/Documents/Coding/My\ Development\ Main/Straight\ Lines/SDKs/GoogleMobileAdsSdkiOS-7.6.0 -filelist /Users/krishwadhwana/Library/Developer/Xcode/DerivedData/Tricenter-comzufishylbsifovkzysenwtyyh/Build/Intermediates/ArchiveIntermediates/Straight\ Lines/IntermediateBuildFilesPath/Tricenter.build/Release-iphoneos/Tricenter.build/Objects-normal/arm64/Tricenter.LinkFileList -Xlinker -rpath -Xlinker #executable_path/Frameworks -miphoneos-version-min=8.0 -dead_strip -fembed-bitcode -Xlinker -bitcode_verify -Xlinker -bitcode_hide_symbols -Xlinker -bitcode_symbol_map -Xlinker /Users/krishwadhwana/Library/Developer/Xcode/DerivedData/Tricenter-comzufishylbsifovkzysenwtyyh/Build/Intermediates/ArchiveIntermediates/Straight\ Lines/BuildProductsPath/Release-iphoneos -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -Xlinker -add_ast_path -Xlinker /Users/krishwadhwana/Library/Developer/Xcode/DerivedData/Tricenter-comzufishylbsifovkzysenwtyyh/Build/Intermediates/ArchiveIntermediates/Straight\ Lines/IntermediateBuildFilesPath/Tricenter.build/Release-iphoneos/Tricenter.build/Objects-normal/arm64/Tricenter.swiftmodule -framework SystemConfiguration -framework StoreKit -framework MessageUI -framework EventKit -framework EventKitUI -framework CoreTelephony -framework CoreGraphics -framework GoogleMobileAds -framework AVFoundation -framework AudioToolbox -framework AdSupport -Xlinker -dependency_info -Xlinker /Users/krishwadhwana/Library/Developer/Xcode/DerivedData/Tricenter-comzufishylbsifovkzysenwtyyh/Build/Intermediates/ArchiveIntermediates/Straight\ Lines/IntermediateBuildFilesPath/Tricenter.build/Release-iphoneos/Tricenter.build/Objects-normal/arm64/Tricenter_dependency_info.dat -o /Users/krishwadhwana/Library/Developer/Xcode/DerivedData/Tricenter-comzufishylbsifovkzysenwtyyh/Build/Intermediates/ArchiveIntermediates/Straight\ Lines/IntermediateBuildFilesPath/Tricenter.build/Release-iphoneos/Tricenter.build/Objects-normal/arm64/Tricenter
ld: '/Users/krishwadhwana/Documents/Coding/My Development Main/Straight Lines/SDKs/GoogleMobileAdsSdkiOS-7.6.0/GoogleMobileAds.framework/GoogleMobileAds(GADBannerView.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
As the error tells you you must either enable or disable bitCode.
Go to targets-build settings and use the search bar to search for bitCode.
Most likely it is turned on so you should turn it off. Than clean project and you should be good to go.
When I build an example project in openFrameworks for iOS, it becomes Apple mach-O Linker Error though I do not do anything to the project.
Whichever sample project I choose, it will be the same result.
How do I fix it?
The followings is whole error message.
Ld /Users/xxxxxx/Library/Developer/Xcode/DerivedData/emptyExample-ghwshtlvcvsjalcvfnqzpyjfmhhc/Build/Products/Debug-iphonesimulator/emptyExample.app/emptyExample normal i386
cd /Applications/of_v0.8.4_ios_release/examples/ios/emptyExample
export IPHONEOS_DEPLOYMENT_TARGET=3.1
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"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -L/Users/xxxxxx/Library/Developer/Xcode/DerivedData/emptyExample-ghwshtlvcvsjalcvfnqzpyjfmhhc/Build/Products/Debug-iphonesimulator -F/Users/xxxxxx/Library/Developer/Xcode/DerivedData/emptyExample-ghwshtlvcvsjalcvfnqzpyjfmhhc/Build/Products/Debug-iphonesimulator -filelist /Users/xxxxxx/Library/Developer/Xcode/DerivedData/emptyExample-ghwshtlvcvsjalcvfnqzpyjfmhhc/Build/Intermediates/emptyExample.build/Debug-iphonesimulator/emptyExample.build/Objects-normal/i386/emptyExample.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -ObjC ../../../libs/FreeImage/lib/osx/freeimage.a ../../../libs/freetype/lib/ios/freetype.a ../../../libs/FreeImage/lib/ios/freeimage.a ../../../libs/poco/lib/ios/PocoNet.a ../../../libs/poco/lib/ios/PocoNetSSL.a ../../../libs/poco/lib/ios/PocoCrypto.a ../../../libs/poco/lib/ios/PocoXML.a ../../../libs/poco/lib/ios/PocoZip.a ../../../libs/poco/lib/ios/PocoUtil.a ../../../libs/poco/lib/ios/PocoFoundation.a ../../../libs/tess2/lib/ios/tess2.a ../../../libs/glu/lib/ios/glu.a ../../../libs/glu/lib/ios/glu-ios.a ../../../libs/openssl/lib/ios/ssl.a ../../../libs/openssl/lib/ios/crypto.a -stdlib=libstdc++ -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=3.1 -framework CoreVideo /Applications/of_v0.8.4_ios_release/libs/openFrameworksCompiled/lib/ios/libofxiOS_iphonesimulator_Debug.a -framework Foundation -framework UIKit -framework CoreGraphics -framework OpenGLES -framework QuartzCore -framework AudioToolbox -framework OpenAL -framework CoreLocation -framework CoreGraphics -framework AVFoundation -framework CoreMedia -framework MapKit -Xlinker -dependency_info -Xlinker /Users/xxxxxx/Library/Developer/Xcode/DerivedData/emptyExample-ghwshtlvcvsjalcvfnqzpyjfmhhc/Build/Intermediates/emptyExample.build/Debug-iphonesimulator/emptyExample.build/Objects-normal/i386/emptyExample_dependency_info.dat -o /Users/teruyakusumoto/Library/Developer/Xcode/DerivedData/emptyExample-ghwshtlvcvsjalcvfnqzpyjfmhhc/Build/Products/Debug-iphonesimulator/emptyExample.app/emptyExample
ld: -pie can only be used when targeting iOS 4.2 or later
clang: error: linker command failed with exit code 1 (use -v to see invocation)
As the 2nd to last line in the error message indicates, it looks like you need to set your "Deployment target" to iOS 4.2 or later. It looks you're trying to build for iOS 3.1, but a library is using API's that require 4.2 or newer.
I'm unable to compile my project for the simulator .
I get Apple Mach-O-Linker error.I'm unable to solve this issues.I am using xcode 5.
I get the same question here How to solve Mach-O-Linker error in ios7 & Xcode 5.0.1 with right answer,but in my case there is "\" in Framework Search Path.
Ld /Users/mohit/Library/Developer/Xcode/DerivedData/Story- cfxrnsmqxnasuafarmhvchwphnxa/Build/Products/Debug-iphonesimulator/Story.app/Story normal i386
cd "/Users/mohit/Desktop/ys_xcode/YS Code/Story 34"
export IPHONEOS_DEPLOYMENT_TARGET=7.1
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"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang - arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i PhoneSimulator7.1.sdk -L/Users/mohit/Library/Developer/Xcode/DerivedData/Story- cfxrnsmqxnasuafarmhvchwphnxa/Build/Products/Debug-iphonesimulator - F/Users/mohit/Library/Developer/Xcode/DerivedData/Story- cfxrnsmqxnasuafarmhvchwphnxa/Build/Products/Debug-iphonesimulator - F/Users/mohit/Documents/FacebookSDK - F/Applications/Xcode.app/Contents/Developer/Library/Frameworks -F/Users/mohit/Desktop/ys_xcode/YS\ Code/Story\ 34 -filelist /Users/mohit/Library/Developer/Xcode/DerivedData/Story- cfxrnsmqxnasuafarmhvchwphnxa/Build/Intermediates/Story.build/Debug- iphonesimulator/Story.build/Objects-normal/i386/YourStory.LinkFileList -Xlinker - objc_abi_version -Xlinker 2 -ObjC -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=7.1 -framework XCTest -framework Social -framework CoreData - framework GoogleOpenSource -framework CoreMotion -framework AssetsLibrary -framework AddressBook -framework FacebookSDK -lxml2 -framework GooglePlus -Xlinker -dependency_info - Xlinker /Users/mohit/Library/Developer/Xcode/DerivedData/Story- cfxrnsmqxnasuafarmhvchwphnxa/Build/Intermediates/Story.build/Debug-iphonesimulator/Story.build/Objects-normal/i386/Story_dependency_info.dat -o /Users/mohit/Library/Developer/Xcode/DerivedData/Story- cfxrnsmqxnasuafarmhvchwphnxa/Build/Products/Debug-iphonesimulator/Story.app/Story
Mach-O-Linker error message
ld: building for iOS Simulator, but linking against dylib built for MacOSX file '/Applications/Xcode.app/Contents/Developer/Library/Frameworks/XCTest.framework/XCTest' for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)]
Help is appreciated!
I have a static library(libMoboSDK.a file) and a folder(.h files). Then try to add to my project. When I add I got error with library search paths, not sure for the root cause. But when many search, I tried to delete Library search paths as advice on stackoverflow. But after that I got the error:
ld: library not found for -lMoboSDK
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Ld /Users/nle/Library/Developer/Xcode/DerivedData/TestMoboLibfile-dledhcaafocrregpqyxrmoqdaokd/Build/Products/Debug-iphonesimulator/TestMoboLibfile.app/TestMoboLibfile normal i386
cd /Users/nle/Documents/Projects/TestMoboLibfile
export IPHONEOS_DEPLOYMENT_TARGET=7.1
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"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk -L/Users/nle/Library/Developer/Xcode/DerivedData/TestMoboLibfile-dledhcaafocrregpqyxrmoqdaokd/Build/Products/Debug-iphonesimulator -F/Users/nle/Library/Developer/Xcode/DerivedData/TestMoboLibfile-dledhcaafocrregpqyxrmoqdaokd/Build/Products/Debug-iphonesimulator -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/Developer/Library/Frameworks -F/Applications/Xcode.app/Contents/Developer/Library/Frameworks -F/Users/nle/Documents/FacebookSDK -filelist /Users/nle/Library/Developer/Xcode/DerivedData/TestMoboLibfile-dledhcaafocrregpqyxrmoqdaokd/Build/Intermediates/TestMoboLibfile.build/Debug-iphonesimulator/TestMoboLibfile.build/Objects-normal/i386/TestMoboLibfile.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -ObjC -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=7.1 -framework FacebookSDK -weak_framework AdSupport -weak_framework CoreTelephony -weak_framework StoreKit -weak_framework XCTest -lMoboSDK -framework CoreGraphics -framework UIKit -framework Foundation -lMoboSDK -Xlinker -dependency_info -Xlinker /Users/nle/Library/Developer/Xcode/DerivedData/TestMoboLibfile-dledhcaafocrregpqyxrmoqdaokd/Build/Intermediates/TestMoboLibfile.build/Debug-iphonesimulator/TestMoboLibfile.build/Objects-normal/i386/TestMoboLibfile_dependency_info.dat -o /Users/nle/Library/Developer/Xcode/DerivedData/TestMoboLibfile-dledhcaafocrregpqyxrmoqdaokd/Build/Products/Debug-iphonesimulator/TestMoboLibfile.app/TestMoboLibfile
I had tried many research. But also cannot solve the prolem.Here is my setting:
Thanks in advance.
Update: After many tried, I got the error which have the same describe with many errors on stackoverflow. But also cannot find a solution can resolve my problem. Here is the new describe of error:
ld: warning: ignoring file /Users/nle/Documents/Projects/TestMoboLibfile/libMoboSDK.a, missing required architecture i386 in file /Users/nle/Documents/Projects/TestMoboLibfile/libMoboSDK.a (3 slices)
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_MoboSDK", referenced from:
objc-class-ref in MainViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Ld /Users/nle/Library/Developer/Xcode/DerivedData/TestMoboLibfile-dledhcaafocrregpqyxrmoqdaokd/Build/Products/Debug-iphonesimulator/TestMoboLibfile.app/TestMoboLibfile normal i386
cd /Users/nle/Documents/Projects/TestMoboLibfile
export IPHONEOS_DEPLOYMENT_TARGET=7.1
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"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk -L/Users/nle/Library/Developer/Xcode/DerivedData/TestMoboLibfile-dledhcaafocrregpqyxrmoqdaokd/Build/Products/Debug-iphonesimulator -L/Users/nle/Documents/Projects/TestMoboLibfile -L/Users/nle/Library/Developer/Xcode/DerivedData/TestMoboSDK-Client-dszxjhzvvskuqjfzvsxotqrpwfdr/Build/Products/Debug-iphoneos -L/Users/nle/Documents/Projects/TestMoboLibfile -F/Users/nle/Library/Developer/Xcode/DerivedData/TestMoboLibfile-dledhcaafocrregpqyxrmoqdaokd/Build/Products/Debug-iphonesimulator -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/Developer/Library/Frameworks -F/Applications/Xcode.app/Contents/Developer/Library/Frameworks -F/Users/nle/Documents/FacebookSDK -filelist /Users/nle/Library/Developer/Xcode/DerivedData/TestMoboLibfile-dledhcaafocrregpqyxrmoqdaokd/Build/Intermediates/TestMoboLibfile.build/Debug-iphonesimulator/TestMoboLibfile.build/Objects-normal/i386/TestMoboLibfile.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -ObjC -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=7.1 -lMoboSDK -framework FacebookSDK -weak_framework AdSupport -framework CoreTelephony -framework StoreKit -weak_framework XCTest -framework CoreGraphics -framework UIKit -framework Foundation -Xlinker -dependency_info -Xlinker /Users/nle/Library/Developer/Xcode/DerivedData/TestMoboLibfile-dledhcaafocrregpqyxrmoqdaokd/Build/Intermediates/TestMoboLibfile.build/Debug-iphonesimulator/TestMoboLibfile.build/Objects-normal/i386/TestMoboLibfile_dependency_info.dat -o /Users/nle/Library/Developer/Xcode/DerivedData/TestMoboLibfile-dledhcaafocrregpqyxrmoqdaokd/Build/Products/Debug-iphonesimulator/TestMoboLibfile.app/TestMoboLibfile
I checked out a working app from SVN. Want to test it in iphone simulator. But the building failed.
Ld /Users/ludwig/Library/Developer/Xcode/DerivedData/MySoftware-eclocsslmbcdgibhlruzhzsnyctb/Build/Products/Debug-iphonesimulator/MySoftware.de.app/MySoftware.de normal i386
cd /Users/ludwig/MySoftware_SVN/MySoftware/trunk/MobileClient/iOS/MySoftware
setenv IPHONEOS_DEPLOYMENT_TARGET 4.3
setenv 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"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -L/Users/ludwig/Library/Developer/Xcode/DerivedData/MySoftware-eclocsslmbcdgibhlruzhzsnyctb/Build/Products/Debug-iphonesimulator -L/Users/ludwig/MySoftware_SVN/MySoftware/trunk/MobileClient/iOS/MySoftware/ZBarSDK -L/Users/ludwig/MySoftware_SVN/MySoftware/trunk/MobileClient/iOS/MySoftware -F/Users/ludwig/Library/Developer/Xcode/DerivedData/MySoftware-eclocsslmbcdgibhlruzhzsnyctb/Build/Products/Debug-iphonesimulator -filelist /Users/ludwig/Library/Developer/Xcode/DerivedData/MySoftware-eclocsslmbcdgibhlruzhzsnyctb/Build/Intermediates/MySoftware.build/Debug-iphonesimulator/MySoftware.build/Objects-normal/i386/MySoftware.de.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=4.3 -framework Security -framework MessageUI -framework AudioToolbox -framework Foundation -framework UIKit -framework CoreGraphics -framework CoreData -framework CoreMedia -framework CoreVideo -framework QuartzCore -liconv -framework AVFoundation -lzbar -o /Users/ludwig/Library/Developer/Xcode/DerivedData/MySoftware-eclocsslmbcdgibhlruzhzsnyctb/Build/Products/Debug-iphonesimulator/MySoftware.de.app/MySoftware.de
ld: library not found for -lzbar
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Can somebody help? Or need more information?!
I am not able to add a screenshot..
in the overview of the "other sources" there is the dict ZBarSDK and inside there is a headers and a resources folder and a file:
libzbar.a but the filename is in Red!? and i am not able to open it. Is this maybe the reason?
There's a particular way to install ZBAR. Follow these instructions : http://zbar.sourceforge.net/iphone/sdkdoc/install.html