ld: building for iOS Simulator, but linking against dylib built for MacOSX file 'RemObjectsSDK.framework/RemObjectsSDK' for architecture i386 - xcode6

i'm new on iOS Development and I Recently updated to OS X Yosemite and Xcode 6, so i tried to update my Apps to iOS 8.1
The thing is that i had a project running on iOS 7.1 and it was made on Xcode 5.1 and OS X 10.8.5 with RemObjects Data Abstract for Xcode - 7.0.63.1055
I updated the App to run in iOS 8.1 and when I try to compile my project it appears the following error:
Ld /Users/ingenieria/Library/Developer/Xcode/DerivedData/IC4-bjbysgznhpelujdvlqbfkmfrckyx/Build/Products/Debug-iphonesimulator/IC4.app/IC4 normal i386
cd /Users/ingenieria/Desktop/04/OMEGA/iSIREPolProyect
export IPHONEOS_DEPLOYMENT_TARGET=8.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.1.sdk -L/Users/ingenieria/Library/Developer/Xcode/DerivedData/IC4-bjbysgznhpelujdvlqbfkmfrckyx/Build/Products/Debug-iphonesimulator -L/Developer/RemObjects\ Software/Bin/iOS/Debug-iphonesimulator -F/Users/ingenieria/Library/Developer/Xcode/DerivedData/IC4-bjbysgznhpelujdvlqbfkmfrckyx/Build/Products/Debug-iphonesimulator -F/Applications/Xcode.app/Contents/Developer/Library/Frameworks -F/Users/ingenieria/Desktop/04/OMEGA/iSIREPolProyect -F/Developer/RemObjects\ Software/Bin/Debug -filelist /Users/ingenieria/Library/Developer/Xcode/DerivedData/IC4-bjbysgznhpelujdvlqbfkmfrckyx/Build/Intermediates/IC4.build/Debug-iphonesimulator/IC4.build/Objects-normal/i386/IC4.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -all_load -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=8.1 -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/ingenieria/Library/Developer/Xcode/DerivedData/IC4-bjbysgznhpelujdvlqbfkmfrckyx/Build/Intermediates/IC4.build/Debug-iphonesimulator/IC4.build/IC4.app.xcent -framework DataAbstract -framework RemObjectsSDK -framework MessageUI -framework SystemConfiguration -framework StoreKit -framework Social -framework Parse -framework Security -framework QuartzCore -framework OpenGLES -framework MobileCoreServices -framework CoreVideo -framework CoreMedia -framework CoreLocation -framework CoreGraphics -framework CoreAudio -framework CFNetwork -framework AVFoundation -framework ShinobiGrids -framework AudioToolbox -framework AdSupport -framework Accounts -framework UIKit -framework Foundation -lz.1.1.3 -lz.1.2.5 -lz.1 -lz -lsqlite3.0 -lsqlite3 -liconv.2.4.0 -liconv.2 -liconv -Xlinker -dependency_info -Xlinker /Users/ingenieria/Library/Developer/Xcode/DerivedData/IC4-bjbysgznhpelujdvlqbfkmfrckyx/Build/Intermediates/IC4.build/Debug-iphonesimulator/IC4.build/Objects-normal/i386/IC4_dependency_info.dat -o /Users/ingenieria/Library/Developer/Xcode/DerivedData/IC4-bjbysgznhpelujdvlqbfkmfrckyx/Build/Products/Debug-iphonesimulator/IC4.app/IC4
ld: building for iOS Simulator, but linking against dylib built for MacOSX file '/Developer/RemObjects Software/Bin/Debug/RemObjectsSDK.framework/RemObjectsSDK' for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I’ve already tried this with RemObjects Data Abstract for Cocoa - 8.1.85.1143 - Trial and the error stills the same, what do you thing i could do?
ps: It all happened after I updated the code because of deprecated code.
Edit: i have already Cleaned and builded the Project many times and the error still appears
Thanks!

You are trying to link against /Developer/RemObjects Software/Bin/Debug/RemObjectsSDK.framework (whatever that is) when building your project. Your project is an iOS Simulator app and that framework is an OS X framework. You cannot use OS X binaries in iOS Simulator apps as they are not compatible.
On older versions of iOS, you would encounter runtime errors (incorrect values or crashes). On iOS 8.0, this became a link-time error.
You need to build a version of RemObjectsSDK.framework for the iOS Simulator.

Related

MiTek MySnap and IBM MobileFirst Platform

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:

Linker error + Xcode 5.0

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"

Undefined symbols for architecture i386 - Updated Scringo

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.

unable to execute command: Segmentation fault: 11

I am developing an iPad app. I get following error when try to create Archive of it.
Ld /Users/macbook/Library/Developer/Xcode/DerivedData/LSS-gtlketfveaswhcefyvuepplwjfbu/Build/Intermediates/ArchiveIntermediates/LSS/InstallationBuildProductsLocation/Applications/LSS.app/LSS normal armv7
cd /Users/macbook/Desktop/LSSCodeMarch22
setenv IPHONEOS_DEPLOYMENT_TARGET 4.3
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 armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -L/Users/macbook/Library/Developer/Xcode/DerivedData/LSS-gtlketfveaswhcefyvuepplwjfbu/Build/Intermediates/ArchiveIntermediates/LSS/BuildProductsPath/Debug-iphoneos -L/Users/macbook/Desktop/LSSCodeMarch22/LSS/CrittercismSDK -L/Users/macbook/Desktop/LSSCodeMarch22/LSS/Airship -F/Users/macbook/Library/Developer/Xcode/DerivedData/LSS-gtlketfveaswhcefyvuepplwjfbu/Build/Intermediates/ArchiveIntermediates/LSS/BuildProductsPath/Debug-iphoneos -filelist /Users/macbook/Library/Developer/Xcode/DerivedData/LSS-gtlketfveaswhcefyvuepplwjfbu/Build/Intermediates/ArchiveIntermediates/LSS/IntermediateBuildFilesPath/LSS.build/Debug-iphoneos/LSS.build/Objects-normal/armv7/LSS.LinkFileList -dead_strip -fobjc-link-runtime -miphoneos-version-min=4.3 -lsqlite3 -framework AudioToolbox -framework Security -framework Foundation -framework CoreTelephony -framework StoreKit -lz -framework SystemConfiguration -framework MobileCoreServices -framework CFNetwork -framework CoreGraphics -framework CoreLocation -framework MapKit -framework CoreText -framework MessageUI -framework UIKit -lUAirship-1.4.0 -lCrittercism_v3_4_9 -o /Users/macbook/Library/Developer/Xcode/DerivedData/LSS-gtlketfveaswhcefyvuepplwjfbu/Build/Intermediates/ArchiveIntermediates/LSS/InstallationBuildProductsLocation/Applications/LSS.app/LSS
clang: error: unable to execute command: Segmentation fault: 11
clang: error: linker command failed due to signal (use -v to see invocation)
Can anyone please help me in dealing with this problem?
Best Regards
I figured out that one of the third party APIs being used in the app was not compatible with latest iOS (6.1). I removed that framework from the list of frameworks and it worked.

Linker error after upgrading to Xcode 4.6: armv7, ZBarSDK

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: