I never had any problems when using CocoaPods up to this point (I used it a few times to integrate Parse into my iOS app). But this time I am puzzled by the message below.
When I previously used CocoaPods the project was containing only one target, this time it contains several. There may be something to be careful about, in such a case, that I don't know of. Anyway, here is the message I am getting:
ld: '..../MyApp/Pods/Parse/libParseLib.a(PFSQLiteDatabase.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)
I have tried to change the Enable Bitcode flag at various level, but whatever I do I keep getting the same error.
Has anyone had this kind of issue? Or knows what to do about it?
Note that this link is related to my question but it unfortunately does not provide me a useful answer.
Update: I add hereafter the full text I get in the logs under Xcode, in case it may help someone to see where the problem is:
Ld /Users/georgewhashington/Library/Developer/Xcode/DerivedData/MyApp-dsxizsrrgeilklkhdylflpsafjrd/Build/Products/Debug-iphoneos/Parse-framework/Parse.framework/Parse normal arm64
cd /Users/georgewhashington/Documents/iOS/MyApp/Pods
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 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk -L/Users/georgewhashington/Library/Developer/Xcode/DerivedData/MyApp-dsxizsrrgeilklkhdylflpsafjrd/Build/Products/Debug-iphoneos/Parse-framework -L/Users/georgewhashington/Documents/iOS/MyApp/Pods/Parse -F/Users/georgewhashington/Library/Developer/Xcode/DerivedData/MyApp-dsxizsrrgeilklkhdylflpsafjrd/Build/Products/Debug-iphoneos/Parse-framework -F/Users/georgewhashington/Library/Developer/Xcode/DerivedData/MyApp-dsxizsrrgeilklkhdylflpsafjrd/Build/Products/Debug-iphoneos/Bolts-framework -filelist /Users/georgewhashington/Library/Developer/Xcode/DerivedData/MyApp-dsxizsrrgeilklkhdylflpsafjrd/Build/Intermediates/Pods.build/Debug-iphoneos/Parse-framework.build/Objects-normal/arm64/Parse.LinkFileList -install_name #rpath/Parse.framework/Parse -Xlinker -rpath -Xlinker #executable_path/Frameworks -Xlinker -rpath -Xlinker #loader_path/Frameworks -miphoneos-version-min=8.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/georgewhashington/Library/Developer/Xcode/DerivedData/MyApp-dsxizsrrgeilklkhdylflpsafjrd/Build/Intermediates/Pods.build/Debug-iphoneos/Parse-framework.build/Objects-normal/arm64/Parse_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -fembed-bitcode-marker -fobjc-arc -fobjc-link-runtime -ObjC -lParseLib -lsqlite3 -lz -framework AudioToolbox -framework CFNetwork -framework CoreGraphics -framework CoreLocation -framework QuartzCore -framework Security -framework StoreKit -framework SystemConfiguration -weak_framework Accounts -weak_framework Social -framework AudioToolbox -framework Bolts -framework CFNetwork -framework CoreGraphics -framework CoreLocation -framework Foundation -framework QuartzCore -framework Security -framework StoreKit -framework SystemConfiguration -single_module -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/georgewhashington/Library/Developer/Xcode/DerivedData/MyApp-dsxizsrrgeilklkhdylflpsafjrd/Build/Intermediates/Pods.build/Debug-iphoneos/Parse-framework.build/Objects-normal/arm64/Parse_dependency_info.dat -o /Users/georgewhashington/Library/Developer/Xcode/DerivedData/MyApp-dsxizsrrgeilklkhdylflpsafjrd/Build/Products/Debug-iphoneos/Parse-framework/Parse.framework/Parse
ld: '..../MyApp/Pods/Parse/libParseLib.a(PFSQLiteDatabase.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)
My solution was to disable bitcode in the project, like this
everything works fine after.
Related
I have a project that has a pod dependency 'GoogleMap'. now I want to use ZbarSDK too.
ZBarSDK has two .a file that I add them to 'LinkBinaryWithLibraries' section of my project and also add the library headers too. but I still receive below error when want to run the app:
Ld /Users/rad/Library/Developer/Xcode/DerivedData/APMB-fbbvbbebzyjbwgaaoqaanlaiftor/Build/Products/Debug-iphoneos/APMB.app/APMB normal armv7
cd "/Users/rad/Documents/GIT Repo/iOS-APMB"
export IPHONEOS_DEPLOYMENT_TARGET=7.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 armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk -L/Users/rad/Library/Developer/Xcode/DerivedData/APMB-fbbvbbebzyjbwgaaoqaanlaiftor/Build/Products/Debug-iphoneos -F/Users/rad/Library/Developer/Xcode/DerivedData/APMB-fbbvbbebzyjbwgaaoqaanlaiftor/Build/Products/Debug-iphoneos -F/Users/rad/Documents/GIT\ Repo/iOS-APMB/Pods/GoogleMaps/Frameworks -filelist /Users/rad/Library/Developer/Xcode/DerivedData/APMB-fbbvbbebzyjbwgaaoqaanlaiftor/Build/Intermediates/APMB.build/Debug-iphoneos/APMB.build/Objects-normal/armv7/APMB.LinkFileList -Xlinker -rpath -Xlinker #executable_path/Frameworks -miphoneos-version-min=7.0 -dead_strip -Xlinker -no_deduplicate -fembed-bitcode-marker -ObjC -lc++ -licucore -lz -framework AVFoundation -framework Accelerate -framework CoreBluetooth -framework CoreData -framework CoreGraphics -framework CoreLocation -framework CoreText -framework GLKit -framework GoogleMaps -framework ImageIO -framework OpenGLES -framework QuartzCore -framework Security -framework SystemConfiguration -fobjc-arc -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -Xlinker -force_load -Xlinker /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a -Xlinker -add_ast_path -Xlinker /Users/rad/Library/Developer/Xcode/DerivedData/APMB-fbbvbbebzyjbwgaaoqaanlaiftor/Build/Intermediates/APMB.build/Debug-iphoneos/APMB.build/Objects-normal/armv7/APMB.swiftmodule -lPods -lzbar -lzbar-sim -Xlinker -dependency_info -Xlinker /Users/rad/Library/Developer/Xcode/DerivedData/APMB-fbbvbbebzyjbwgaaoqaanlaiftor/Build/Intermediates/APMB.build/Debug-iphoneos/APMB.build/Objects-normal/armv7/APMB_dependency_info.dat -o /Users/rad/Library/Developer/Xcode/DerivedData/APMB-fbbvbbebzyjbwgaaoqaanlaiftor/Build/Products/Debug-iphoneos/APMB.app/APMB
ld: library not found for -lzbar
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Does someone knows what is the problem?
Try checking your HEADER_SEARCH_PATH and LIBRARY_SEARCH_PATH build settings. Those tell the linker where to search for the .a files, and .h files for your #import/#include statements. You may need to enter the paths to the necessary files.
If you open the popup window for either setting, you should be able to drag the directory containing the .a or .h files, respectively, from Finder into the Xcode popover, and it will figure out the relative path for you using something like ${SRCROOT}.
Get the following linking error trying to build against unity3d version 5.3.5f1
Ld /Users/georgecook/Library/Developer/Xcode/DerivedData/Unity-iPhone-bfwjzdbspnhgyjblhswtougxoafx/Build/Products/Debug-iphoneos/ar.app/ar normal arm64
cd "/Users/georgecook/Documents/tantaWowa/projects/dontRobMyPlanet/git/New Unity Project/build/app"
export IPHONEOS_DEPLOYMENT_TARGET=6.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.3.sdk -L/Users/georgecook/Library/Developer/Xcode/DerivedData/Unity-iPhone-bfwjzdbspnhgyjblhswtougxoafx/Build/Products/Debug-iphoneos -L/Users/georgecook/Documents/tantaWowa/projects/dontRobMyPlanet/git/New\ Unity\ Project/build/app -L/Users/georgecook/Documents/tantaWowa/projects/dontRobMyPlanet/git/New\ Unity\ Project/build/app/Libraries -L/Users/georgecook/Documents/tantaWowa/projects/dontRobMyPlanet/git/New\ Unity\ Project/build/app/Libraries/KudanAR/Plugins/iOS -F/Users/georgecook/Library/Developer/Xcode/DerivedData/Unity-iPhone-bfwjzdbspnhgyjblhswtougxoafx/Build/Products/Debug-iphoneos -filelist /Users/georgecook/Library/Developer/Xcode/DerivedData/Unity-iPhone-bfwjzdbspnhgyjblhswtougxoafx/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/arm64/ar.LinkFileList -Xlinker -map -Xlinker /Users/georgecook/Library/Developer/Xcode/DerivedData/Unity-iPhone-bfwjzdbspnhgyjblhswtougxoafx/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/ar-LinkMap-normal-arm64.txt -miphoneos-version-min=6.0 -dead_strip -Xlinker -no_deduplicate -fembed-bitcode-marker -weak_framework CoreMotion -weak-lSystem -stdlib=libc++ -fobjc-arc -fobjc-link-runtime -liPhone-lib -framework CoreText -framework AudioToolbox -weak_framework AVFoundation -framework CFNetwork -framework CoreGraphics -framework CoreLocation -framework CoreMedia -weak_framework CoreMotion -framework CoreVideo -framework Foundation -weak_framework iAd -framework MediaPlayer -framework OpenAL -framework OpenGLES -framework QuartzCore -framework SystemConfiguration -framework UIKit -liconv.2 -lKudanPlugin -Xlinker -dependency_info -Xlinker /Users/georgecook/Library/Developer/Xcode/DerivedData/Unity-iPhone-bfwjzdbspnhgyjblhswtougxoafx/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/arm64/ar_dependency_info.dat -o /Users/georgecook/Library/Developer/Xcode/DerivedData/Unity-iPhone-bfwjzdbspnhgyjblhswtougxoafx/Build/Products/Debug-iphoneos/ar.app/ar
ld: warning: object file (/Users/georgecook/Documents/tantaWowa/projects/dontRobMyPlanet/git/New Unity Project/build/app/Libraries/KudanAR/Plugins/iOS/libKudanPlugin.a(KARPlugin.o)) was built for newer iOS version (8.0) than being linked (7.0)
ld: '/Users/georgecook/Documents/tantaWowa/projects/dontRobMyPlanet/git/New Unity Project/build/app/Libraries/KudanAR/Plugins/iOS/libKudanPlugin.a(KARPlugin.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)
In your error log, it's saying that Bitcode is not enabled for the framework.
You will need to disable Bitcode on your Xcode project in order for it to build.
Make sure to disable Bitcode on your project and your Targets. (https://wiki.kudan.eu/Building_the_app_-_iOS)
I'm working on an app, and at the moment to Archiving it, i get the Segmentation Fault 11 on X Code (I'm using xcode 7).
Already tried restart xcode, eliminate the only dependency (The cocoapod of google maps). The rare thing is that in te Simulator and in an iPad, the app compiles and runs normally, only when i try to Archive it, at the Linking step, it crashes.
This is the output of the error.
Ld /Users/maxclowreed/Library/Developer/Xcode/DerivedData/spapp-gmcplcaxmebxtjcahseviqjhmvwc/Build/Intermediates/ArchiveIntermediates/spapp/IntermediateBuildFilesPath/spapp.build/Release-iphoneos/spapp.build/Objects-normal/arm64/spapp normal arm64
cd /Users/maxclowreed/Documents/OnlyWebStudio/spapp
export IPHONEOS_DEPLOYMENT_TARGET=9.1
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.2.sdk -L/Users/maxclowreed/Library/Developer/Xcode/DerivedData/spapp-gmcplcaxmebxtjcahseviqjhmvwc/Build/Intermediates/ArchiveIntermediates/spapp/BuildProductsPath/Release-iphoneos -L/Users/maxclowreed/Documents/OnlyWebStudio/spapp/build/Debug-iphoneos -F/Users/maxclowreed/Library/Developer/Xcode/DerivedData/spapp-gmcplcaxmebxtjcahseviqjhmvwc/Build/Intermediates/ArchiveIntermediates/spapp/BuildProductsPath/Release-iphoneos -F/Users/maxclowreed/Documents/OnlyWebStudio/spapp/Pods/GoogleMaps/Frameworks -filelist /Users/maxclowreed/Library/Developer/Xcode/DerivedData/spapp-gmcplcaxmebxtjcahseviqjhmvwc/Build/Intermediates/ArchiveIntermediates/spapp/IntermediateBuildFilesPath/spapp.build/Release-iphoneos/spapp.build/Objects-normal/arm64/spapp.LinkFileList -Xlinker -rpath -Xlinker #executable_path/Frameworks -miphoneos-version-min=9.1 -dead_strip -fembed-bitcode -Xlinker -bitcode_verify -Xlinker -bitcode_hide_symbols -Xlinker -bitcode_symbol_map -Xlinker /Users/maxclowreed/Library/Developer/Xcode/DerivedData/spapp-gmcplcaxmebxtjcahseviqjhmvwc/Build/Intermediates/ArchiveIntermediates/spapp/BuildProductsPath/Release-iphoneos -ObjC -lc++ -licucore -lz -framework AVFoundation -framework Accelerate -framework CoreBluetooth -framework CoreData -framework CoreGraphics -framework CoreLocation -framework CoreText -framework GLKit -framework GoogleMaps -framework ImageIO -framework OpenGLES -framework QuartzCore -framework Security -framework SystemConfiguration -fobjc-arc -fobjc-link-runtime -Xlinker -dependency_info -Xlinker /Users/maxclowreed/Library/Developer/Xcode/DerivedData/spapp-gmcplcaxmebxtjcahseviqjhmvwc/Build/Intermediates/ArchiveIntermediates/spapp/IntermediateBuildFilesPath/spapp.build/Release-iphoneos/spapp.build/Objects-normal/arm64/spapp_dependency_info.dat -o /Users/maxclowreed/Library/Developer/Xcode/DerivedData/spapp-gmcplcaxmebxtjcahseviqjhmvwc/Build/Intermediates/ArchiveIntermediates/spapp/IntermediateBuildFilesPath/spapp.build/Release-iphoneos/spapp.build/Objects-normal/arm64/spapp
ld: warning: directory not found for option '-L/Users/maxclowreed/Documents/OnlyWebStudio/spapp/build/Debug-iphoneos'
clang: error: unable to execute command: Segmentation fault: 11
clang: error: linker command failed due to signal (use -v to see invocation)
I really appreciate your help.
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.