I know this has been asked before and I have been through the many answers but I am still unable to resolve this after hours of trying.
I updated my Scringo and Facebook SDK's and I am now facing this problem:
Ld /Users/Mike/Library/Developer/Xcode/DerivedData/Game_Count-hekdkbexjjzgzzaikucywmaarygl/Build/Products/Game\ Count-iphonesimulator/Game\ Count.app/Game\ Count normal i386
cd "/Users/Mike/Documents/XCode Projects/Game Count"
setenv IPHONEOS_DEPLOYMENT_TARGET 6.0
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/iPhoneSimulator7.0.sdk -L/Users/Mike/Library/Developer/Xcode/DerivedData/Game_Count-hekdkbexjjzgzzaikucywmaarygl/Build/Products/Game\ Count-iphonesimulator -L/Users/Mike/Documents/XCode\ Projects/Game\ Count/Libraries/Flurry -F/Users/Mike/Library/Developer/Xcode/DerivedData/Game_Count-hekdkbexjjzgzzaikucywmaarygl/Build/Products/Game\ Count-iphonesimulator -F/Users/Mike/Documents/XCode\ Projects/Game\ Count/Libraries/RevMob -F/Users/Mike/Documents/XCode\ Projects/Game\ Count/Libraries/Scringo -F/Users/Mike/Documents/FacebookSDK -F/Users/Mike/Documents/XCode\ Projects/Game\ Count/Game\ Count -filelist /Users/Mike/Library/Developer/Xcode/DerivedData/Game_Count-hekdkbexjjzgzzaikucywmaarygl/Build/Intermediates/Game\ Count.build/Game\ Count-iphonesimulator/Game\ Count.build/Objects-normal/i386/Game\ Count.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.0 -lsqlite3 -framework Security -framework Scringo -framework MobileCoreServices -framework AddressBook -framework CoreText -framework Twitter -framework MapKit -framework CoreLocation -lz -framework QuartzCore -framework EventKitUI -framework EventKit -framework FacebookSDK -framework CoreTelephony -framework CoreMedia -framework AVFoundation -framework CFNetwork -framework RevMobAds -framework SystemConfiguration -lFlurry_4.3.0 -framework CoreGraphics -framework StoreKit -framework Accounts -framework MediaPlayer -framework AudioToolbox -framework MessageUI -weak_framework AdSupport -framework iAd -framework Social -framework UIKit -framework Foundation -Xlinker -dependency_info -Xlinker /Users/Mike/Library/Developer/Xcode/DerivedData/Game_Count-hekdkbexjjzgzzaikucywmaarygl/Build/Intermediates/Game\ Count.build/Game\ Count-iphonesimulator/Game\ Count.build/Objects-normal/i386/Game\ Count_dependency_info.dat -o /Users/Mike/Library/Developer/Xcode/DerivedData/Game_Count-hekdkbexjjzgzzaikucywmaarygl/Build/Products/Game\ Count-iphonesimulator/Game\ Count.app/Game\ Count
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_FBWebDialogs", referenced from:
objc-class-ref in Scringo
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have check all my framework dependancies and they are all there. I have no idea to check which .m file is supposed to be included in the "Compile Sources" in Build Settings.
Any insight would be greatly appreciated.
Make sure you're using the latest Facebook SDK (or at least 3.5) when using the latest Scringo versions.
It is probably some mismatch in the library versions.
Select your target from TARGETS and go to Build Phases > Compile Sources > Link Binary With Libraries section.
Check if Scringo Framework is there. If not add it.
If it is, then it looks like your updated Scringo SDK is not compiled for i386 architecture which iOS Simulator has.
Related
I'm doing my first IBM Mobile First Platform project. I need to integrate a native SDK from MiTek called MySnap. I am following the directions to integrate the SDKs but I get this error.
I'm kind of new to Xcode so I don't know the errors really well yet.
Ld
/Users/hannade/Library/Developer/Xcode/DerivedData/NativePagesInHybridAppNativePagesInHybridAppIphone-cxbsrcmfjjkjoxfcvhsngdyiicgs/Build/Products/Debug-iphonesimulator/NativePagesInHybridApp.app/NativePagesInHybridApp
normal i386
cd /Users/hannade/Developer/NativePagesInHybridApp/apps/NativePagesInHybridApp/iphone/native
export IPHONEOS_DEPLOYMENT_TARGET=6.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"
/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.3.sdk
-L/Users/hannade/Library/Developer/Xcode/DerivedData/NativePagesInHybridAppNativePagesInHybridAppIphone-cxbsrcmfjjkjoxfcvhsngdyiicgs/Build/Products/Debug-iphonesimulator
-L/Users/hannade/Developer/NativePagesInHybridApp/apps/NativePagesInHybridApp/iphone/native
-L\"/Users/hannade/Developer/NativePagesInHybridApp/apps/NativePagesInHybridApp/iphone/native/WorklightSDK\"
-F/Users/hannade/Library/Developer/Xcode/DerivedData/NativePagesInHybridAppNativePagesInHybridAppIphone-cxbsrcmfjjkjoxfcvhsngdyiicgs/Build/Products/Debug-iphonesimulator
-F/Users/hannade/Developer/NativePagesInHybridApp/apps/NativePagesInHybridApp/iphone/native
-F/Users/hannade/Developer/NativePagesInHybridApp/apps/NativePagesInHybridApp/iphone/native/Frameworks
-filelist /Users/hannade/Library/Developer/Xcode/DerivedData/NativePagesInHybridAppNativePagesInHybridAppIphone-cxbsrcmfjjkjoxfcvhsngdyiicgs/Build/Intermediates/NativePagesInHybridAppNativePagesInHybridAppIphone.build/Debug-iphonesimulator/NativePagesInHybridAppNativePagesInHybridAppIphone.build/Objects-normal/i386/NativePagesInHybridApp.LinkFileList
-Xlinker -objc_abi_version -Xlinker 2 -ObjC -lstdc++ -lc++ -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.0 -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/hannade/Library/Developer/Xcode/DerivedData/NativePagesInHybridAppNativePagesInHybridAppIphone-cxbsrcmfjjkjoxfcvhsngdyiicgs/Build/Intermediates/NativePagesInHybridAppNativePagesInHybridAppIphone.build/Debug-iphonesimulator/NativePagesInHybridAppNativePagesInHybridAppIphone.build/NativePagesInHybridApp.app.xcent
-lstdc++.6 -framework CoreVideo -framework CoreTelephony -framework ImageIO -framework sqlcipher
/Users/hannade/Library/Developer/Xcode/DerivedData/NativePagesInHybridAppNativePagesInHybridAppIphone-cxbsrcmfjjkjoxfcvhsngdyiicgs/Build/Products/Debug-iphonesimulator/libCordova.a
-lMiSnap -framework Security -lBarcodeScannerStub -framework CoreMedia -lz -framework Foundation -framework UIKit -framework CoreGraphics -framework AddressBook -framework AddressBookUI -framework AudioToolbox -framework AssetsLibrary -framework AVFoundation
-lCardIOStub -framework CFNetwork -framework CoreLocation -framework MediaPlayer -framework QuartzCore -framework SystemConfiguration
-framework CoreMotion -framework MobileCoreServices -framework CoreData -lWorklightStaticLibProject -framework OpenGLES -Xlinker
-dependency_info -Xlinker /Users/hannade/Library/Developer/Xcode/DerivedData/NativePagesInHybridAppNativePagesInHybridAppIphone-cxbsrcmfjjkjoxfcvhsngdyiicgs/Build/Intermediates/NativePagesInHybridAppNativePagesInHybridAppIphone.build/Debug-iphonesimulator/NativePagesInHybridAppNativePagesInHybridAppIphone.build/Objects-normal/i386/NativePagesInHybridApp_dependency_info.dat
-o /Users/hannade/Library/Developer/Xcode/DerivedData/NativePagesInHybridAppNativePagesInHybridAppIphone-cxbsrcmfjjkjoxfcvhsngdyiicgs/Build/Products/Debug-iphonesimulator/NativePagesInHybridApp.app/NativePagesInHybridApp
ld: warning: directory not found for option
'-L"/Users/hannade/Developer/NativePagesInHybridApp/apps/NativePagesInHybridApp/iphone/native/WorklightSDK"'
ld: library not found for -lWorklightStaticLibProject clang: error:
linker command failed with exit code 1 (use -v to see invocation)
Open the Build Phases section of your project in Xcode and verify that in "Link Binary With Libraries", MFP's "libWorklightStaticLibProject.a" file is located at the top of the list of libraries.
Sometimes its lack of being at the top can cause build problems.
For example:
I am getting following linker error in my project.
Ld /Users/macadmin/Library/Developer/Xcode/DerivedData/TestProject-bcrdhvfhcafaljdguvbmqdgtmoel/Build/Products/Debug-iphonesimulator/TestProject.app/TestProject normal i386
cd /Users/macadmin/Downloads/Medocity/mobile-ios-patient-cancer
setenv IPHONEOS_DEPLOYMENT_TARGET 7.0
setenv PATH "/Applications/Xcode5.0.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode5.0.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode5.0.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk -L/Users/macadmin/Library/Developer/Xcode/DerivedData/TestProject-bcrdhvfhcafaljdguvbmqdgtmoel/Build/Products/Debug-iphonesimulator -L../mobile-ios-patient-common/External/RestKit -L../mobile-ios-patient-common/Modules/LiveHelp/lib -L../mobile-ios-patient-common/External/TestFlightSDK2.0.0 -L../mobile-ios-patient-common/External/UrbanAirship -F/Users/macadmin/Library/Developer/Xcode/DerivedData/TestProject-bcrdhvfhcafaljdguvbmqdgtmoel/Build/Products/Debug-iphonesimulator -F/Applications/Xcode5.0.app/Contents/Developer/Library/Frameworks -F../mobile-ios-patient-common/External/FB -F../mobile-ios-patient-common/External -filelist /Users/macadmin/Library/Developer/Xcode/DerivedData/TestProject-bcrdhvfhcafaljdguvbmqdgtmoel/Build/Intermediates/TestProject.build/Debug-iphonesimulator/TestProject.build/Objects-normal/i386/TestProject.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -ObjC -all_load -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=7.0 -lxml2 -lUAirship-2.0.0 -lTestFlight -framework IG -framework IGChart -framework FacebookSDK -lRestKit -framework Foundation -lavutil -lspeex -lssl -lxml2 -lswscale -lsqlite3.0 -lSKP_SILK_SDK -lsqlite3 -lzrtpcpp -lspeexdsp -lopencore-amrwb -framework Accounts -framework AdSupport -lsrtp -losip2 -framework CFNetwork -lbcg729 -lvpx -framework CoreText -framework MapKit -framework MessageUI -lopencore-amrnb -framework QuartzCore -framework Social -lmediastreamer_voip -losipparser2 -lmsilbc -llinphone -framework SystemConfiguration -lmediastreamer_base -lmsamr -framework CoreBluetooth -lmsx264 -lc++.1 -lavcodec -lresolv -lstdc++.6 -framework AddressBook -framework AddressBookUI -framework AssetsLibrary -lx264 -framework AudioToolbox -lcrypto -framework AVFoundation -lgsm -lortp -framework CoreAudio -framework CoreFoundation -framework CoreLocation -framework CoreTelephony -framework CoreVideo -lmsbcg729 -framework GLKit -lz -lmssilk -framework MediaPlayer -framework MobileCoreServices -framework OpenGLES -lilbc -framework Security -framework CoreGraphics -framework CoreMedia -framework CoreData -leXosip2 -framework UIKit -Xlinker -dependency_info -Xlinker /Users/macadmin/Library/Developer/Xcode/DerivedData/TestProject-bcrdhvfhcafaljdguvbmqdgtmoel/Build/Intermediates/TestProject.build/Debug-iphonesimulator/TestProject.build/Objects-normal/i386/TestProject_dependency_info.dat -o /Users/macadmin/Library/Developer/Xcode/DerivedData/TestProject-bcrdhvfhcafaljdguvbmqdgtmoel/Build/Products/Debug-iphonesimulator/TestProject.app/TestProject
ld: library not found for -lmsilbc
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I am using 4-5 third party library in my project like restKit, testflight, IGChart.framework, UrbanAirship.
I have no idea why this error is coming. Please provide me some pointers to solve this issue.
Thanks,
tek3
I think you need to select the library file in the build phase.
Select Target, then Build Phase then link binary with libraries. then select + then add the library file that is missed out.
Then set the path in the build settings.
Clean... then Build the project.
Add you library in build phase. then how make i:
Through finder i know where my library inside project folder, i'm create a new folder and put my library files there, then you go "Build settings" -> "Search Path" - > "Library Search Path" and set something like :
"$(SRCROOT)/projectName/libraryFolderName"
for example:
"$(SRCROOT)/test/CorePlot"
So i upgraded to Xcode 4.6 but i'm having problems. I can build and run program with no problem but when i try to create archive i get that error:
Ld /Users/me/Library/Developer/Xcode/DerivedData/ZM-dezzadmbbhmnbdehrgfgxsvipnzu/Build/Intermediates/ArchiveIntermediates/ZM/IntermediateBuildFilesPath/ZM.build/Release-iphoneos/ZM.build/Objects-normal/armv7s/ZM normal armv7s
cd /Users/me/Desktop/zav-mb-iphone-test
setenv IPHONEOS_DEPLOYMENT_TARGET 4.2
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.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 armv7s -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -L/Users/mitjaresek/Library/Developer/Xcode/DerivedData/ZM-dezzadmbbhmnbdehrgfgxsvipnzu/Build/Intermediates/ArchiveIntermediates/ZM/BuildProductsPath/Release-iphoneos -L/Users/mitjaresek/Desktop/zav-mb-iphone-test/ZBarSDK -F/Users/mitjaresek/Library/Developer/Xcode/DerivedData/ZM-dezzadmbbhmnbdehrgfgxsvipnzu/Build/Intermediates/ArchiveIntermediates/ZM/BuildProductsPath/Release-iphoneos -filelist /Users/mitjaresek/Library/Developer/Xcode/DerivedData/ZM-dezzadmbbhmnbdehrgfgxsvipnzu/Build/Intermediates/ArchiveIntermediates/ZM/IntermediateBuildFilesPath/ZM.build/Release-iphoneos/ZM.build/Objects-normal/armv7s/ZM.LinkFileList -dead_strip -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=4.2 -liconv -framework AVFoundation -framework CoreMedia -framework CoreVideo -framework AddressBook -framework AddressBookUI -framework AudioToolbox -framework QuartzCore -framework SystemConfiguration -framework MessageUI -framework CoreLocation -framework MapKit -framework UIKit -framework Foundation -framework CoreGraphics -lzbar -o /Users/mitjaresek/Library/Developer/Xcode/DerivedData/ZM-dezzadmbbhmnbdehrgfgxsvipnzu/Build/Intermediates/ArchiveIntermediates/ZM/IntermediateBuildFilesPath/ZM.build/Release-iphoneos/ZM.build/Objects-normal/armv7s/ZM
ld: file is universal (3 slices) but does not contain a(n) armv7s slice: /Users/me/iphone-test/ZBarSDK/libzbar.a for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)
So how do i fix it?
I'm getting really annoyed by that upgrade...
I had a similar issue. For some bizarre reason, removing the entries for ArmV6 & 7, then re-entering them seemed to solve it:
I m getting the error when adding GData clientlibrary for photo uploading on Picasa
Error log is as follows
Ld /Users/Macintosh/Library/Developer/Xcode/DerivedData/PhotoYaar-ftppukpwhpkripftssebcboomfcx/Build/Products/Debug-iphonesimulator/PhotoYaar.app/PhotoYaar normal i386
cd "/Users/Macintosh/Desktop/Paras/Projects/Photo Yaary/01-02-2013/PhotoYar"
setenv MACOSX_DEPLOYMENT_TARGET 10.6
setenv PATH "/Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Volumes/Xcode/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Volumes/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -L/Users/Macintosh/Library/Developer/Xcode/DerivedData/PhotoYaar-ftppukpwhpkripftssebcboomfcx/Build/Products/Debug-iphonesimulator "-L/Users/Macintosh/Desktop/Paras/Projects/Photo Yaary/01-02-2013/PhotoYar/../../Data_Photo_App/GData-iOS-Static-Library-1.12-master" "-L/Users/Macintosh/Desktop/Paras/Projects/Photo Yaary/01-02-2013/PhotoYar/../../../../.." -F/Users/Macintosh/Library/Developer/Xcode/DerivedData/PhotoYaar-ftppukpwhpkripftssebcboomfcx/Build/Products/Debug-iphonesimulator "-F/Users/Macintosh/Desktop/Paras/Projects/Photo Yaary/01-02-2013/PhotoYar" -filelist /Users/Macintosh/Library/Developer/Xcode/DerivedData/PhotoYaar-ftppukpwhpkripftssebcboomfcx/Build/Intermediates/PhotoYaar.build/Debug-iphonesimulator/PhotoYaar.build/Objects-normal/i386/PhotoYaar.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -all_load -lxml2 -ObjC -Xlinker -no_implicit_dylibs -D__IPHONE_OS_VERSION_MIN_REQUIRED=50100 /Users/Macintosh/Library/Developer/Xcode/DerivedData/PhotoYaar-ftppukpwhpkripftssebcboomfcx/Build/Products/Debug-iphonesimulator/libGPUImage.a -lGDataTouchStaticLib -framework Security -weak_library /Users/Macintosh/Library/Developer/Xcode/DerivedData/PhotoYaar-ftppukpwhpkripftssebcboomfcx/Build/Products/Debug-iphonesimulator/GData/GData -lxml2 -framework MobileCoreServices -framework CoreLocation -framework AddressBook -framework Accounts -framework CFNetwork -framework OpenAL -framework SystemConfiguration -lsqlite3.0 -framework ImageIO -framework CoreVideo -framework AssetsLibrary -framework CoreMedia -framework CoreMotion -framework MessageUI -framework Twitter -framework OpenGLES -framework AVFoundation -framework CoreImage -lz.1.1.3 -framework QuartzCore -framework UIKit -framework Foundation -framework CoreGraphics -o /Users/Macintosh/Library/Developer/Xcode/DerivedData/PhotoYaar-ftppukpwhpkripftssebcboomfcx/Build/Products/Debug-iphonesimulator/PhotoYaar.app/PhotoYaar
ld: file not found: /Users/Macintosh/Library/Developer/Xcode/DerivedData/PhotoYaar-ftppukpwhpkripftssebcboomfcx/Build/Products/Debug-iphonesimulator/GData/GData
clang: error: linker command failed with exit code 1 (use -v to see invocation)
How can i solve this?
i m using this url as a reference
http://hoishing.wordpress.com/2011/08/23/gdata-objective-c-client-setup-in-xcode-4/
The warning is that the linker is not finding the library to link against.
You'll need to fix your project so it can link to the library framework. Linking details are here.
I'm compiling a project in Objective-C depending on libraries in C.
The compilation fails with the following error:
Ld /Users/user/Library/Developer/Xcode/DerivedData/MyProject-enqkiqdfplxedfeowxlkwfgadtyz/Build/Products/Debug-iphonesimulator/MyApp.app/MyApp normal i386
cd /Users/user/Documents/XCodeWorkspace/MyProject/Subproject
setenv MACOSX_DEPLOYMENT_TARGET 10.6
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -L/Users/user/Library/Developer/Xcode/DerivedData/MyProject-enqkiqdfplxedfeowxlkwfgadtyz/Build/Products/Debug-iphonesimulator -L/Users/user/Documents/XCodeWorkspace/MyProject/Subproject/../../../../../Library/Developer/Xcode/DerivedData/MyProject-enqkiqdfplxedfeowxlkwfgadtyz/Build/Products/Debug-iphoneos -F/Users/user/Library/Developer/Xcode/DerivedData/MyProject-enqkiqdfplxedfeowxlkwfgadtyz/Build/Products/Debug-iphonesimulator -filelist /Users/user/Library/Developer/Xcode/DerivedData/MyProject-enqkiqdfplxedfeowxlkwfgadtyz/Build/Intermediates/MyProject.build/Debug-iphonesimulator/MyApp.build/Objects-normal/i386/MyApp.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -fopenmp -licucore -Xlinker -no_implicit_dylibs -D__IPHONE_OS_VERSION_MIN_REQUIRED=40300 -lamsip -lcares -lexosip2 -lgsm -lmediastreamer2 -lspeex -lsrtp -lsqlite3.0 -framework MessageUI -framework AudioToolbox -framework AVFoundation -lz -framework AddressBook -framework AddressBookUI -framework Foundation -framework UIKit -framework CoreGraphics -framework SystemConfiguration -framework CoreTelephony -lTestFlight -o /Users/user/Library/Developer/Xcode/DerivedData/MyProject-enqkiqdfplxedfeowxlkwfgadtyz/Build/Products/Debug-iphonesimulator/MyApp.app/MyApp
ld: library not found for -lgomp
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang failed with exit code 1
The problem I see is that this library isn't even specified in the link command! Why is this needed at all?
Yours,
Emmanuel
Someone had enabled OpenMP using "other flags" which causes the -lgomp library to be included. :-(