Where is liphone-lib in a unity generated xcode project? - ios

I am having this strange issue ever since I upgraded my unity. When I build the generated Xcode project I get the following error:
Ld /Users/Ali/Library/Developer/Xcode/DerivedData/Unity-iPhone-arybbykagdcklhdbmekvfmdgxmax/Build/Products/pxelfall.app/pxelfall normal armv7
cd /Users/Ali/Desktop/Pixel.Fall.iOS-soomla-rollback
export IPHONEOS_DEPLOYMENT_TARGET=5.0
export 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/iPhoneOS8.1.sdk
-L/Users/Ali/Library/Developer/Xcode/DerivedData/Unity-iPhone-arybbykagdcklhdbmekvfmdgxmax/Build/Products
-L/Users/Ali/SweetPixel/Pixel.Fall/Pixel.Fall/Assets/Facebook/Editor/iOS/FacebookSDK
-L/Users/Ali/Desktop/Pixel.Fall.iOS-soomla-rollback
-L\"/Users/Ali/Desktop/Pixel.Fall.iOS-soomla-rollback/Libraries\"
-L/Users/Ali/Desktop/Pixel.Fall.iOS-soomla-rollback/Libraries
-F/Users/Ali/Library/Developer/Xcode/DerivedData/Unity-iPhone-arybbykagdcklhdbmekvfmdgxmax/Build/Products
-F/Users/Ali/Desktop/Pixel.Fall.iOS-soomla-rollback/Libraries
-F/Users/Ali/Desktop/Pixel.Fall.iOS-soomla-rollback
-filelist /Users/Ali/Library/Developer/Xcode/DerivedData/Unity-iPhone-arybbykagdcklhdbmekvfmdgxmax/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/pxelfall.LinkFileList
-dead_strip -weak_framework CoreMotion -weak-lSystem -stdlib=libstdc++ -fobjc-link-runtime -miphoneos-version-min=5.0 -lz -lc++ -framework CoreText -framework CoreTelephony -framework CoreData
-framework AssetsLibrary -framework AddressBook -framework Foundation
-framework GooglePlayGames -framework UIKit -framework GoogleOpenSource
-framework OpenGLES -framework QuartzCore -framework OpenAL -liconv.2
-liPhone-lib -framework AudioToolbox -framework CFNetwork -framework MediaPlayer -framework CoreLocation
-framework SystemConfiguration -weak_framework iAd -framework CoreMedia -framework CoreVideo
-framework GooglePlus -weak_framework AVFoundation -framework CoreGraphics
-weak_framework CoreMotion -weak_framework GameKit -lGoogleAdMobAds -weak-lsqlite3.0 /Users/Ali/SweetPixel/Pixel.Fall/Pixel.Fall/Assets/Facebook/Editor/iOS/FacebookSDK/FacebookSDK.a
-weak_framework Accounts -weak_framework AdSupport -weak_framework Social -weak_framework Security -Xlinker -dependency_info
-Xlinker /Users/Ali/Library/Developer/Xcode/DerivedData/Unity-iPhone-arybbykagdcklhdbmekvfmdgxmax/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/pxelfall_dependency_info.dat
-o /Users/Ali/Library/Developer/Xcode/DerivedData/Unity-iPhone-arybbykagdcklhdbmekvfmdgxmax/Build/Products/pxelfall.app/pxelfall
ld: warning: directory not found for option '-L"/Users/Ali/Desktop/Pixel.Fall.iOS-soomla-rollback/Libraries"' ld: library not found for -liPhone-lib clang: error: linker command failed with exit code 1 (use -v to see invocation)
I cannot find liphone-lib anywhere in the project. I have been able to build this project effortlessly before. I am using unity 4.5.5 and Xcode 6.1
Please help

Ok I managed to fix it. I had updated to unity 4.5 so it broke my project. I deleted everything and rebuilt again by overwriting old files. That fixed the error.

Related

No such fie or directory: 'JavaScript Core'

Help, this is driving me crazy. I was running out of space on my boot disk, so I moved most of my documents over to a second drive, including all my Xcode projects. Now, I need to fix an old app and make it updated for new iOS, and it won't build. The linker is giving this error message:
No such file or directory: 'JavaScript Core'
When I click on it, I get the details below. I have tried looking in the project build settings Linking section, the Other Linker Flags. It does include JavaScript, but isn't that needed if the app displays HTML pages in a browser view? I don't think I want to remove it. I also tried manually adding JavaScriptCore library in the Build Phases linked libraries, that did not remove the error. In between each and every change, I do a Clean then Build.
FYI, I also at one point moved my old hard drive to become the second, and installed a new boot drive. The old one is called "Macintosh HD" while the new one is called "Macintosh SSD" - so it's possible that some paths are still referring to the old location. I noticed that the paths are prefixed by $(PODS_ROOT), which evaluates to /Volumes/Macintosh HD/Documents/XCodeProjects....etc This is the old hard drive where the projects are currently. However, when they were first created, that used to be the boot (and only) drive.
Details of the error:
Ld
/Users/jimerman/Library/Developer/Xcode/DerivedData/itsettings-emxzrujgnlqhsodyyuwgfolwckjc/Build/Products/Debug-iphonesimulator/itsettings.app/itsettings
normal x86_64
cd "/Volumes/Macintosh HD/Documents/XCodeProjects/iPhone/ITSettings"
export IPHONEOS_DEPLOYMENT_TARGET=9.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.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 x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk
-L/Users/jimerman/Library/Developer/Xcode/DerivedData/itsettings-emxzrujgnlqhsodyyuwgfolwckjc/Build/Products/Debug-iphonesimulator
-L/Users/jimerman/Library/Developer/Xcode/DerivedData/itsettings-emxzrujgnlqhsodyyuwgfolwckjc/Build/Products/Debug-iphonesimulator/GoogleToolboxForMac
-L/Users/jimerman/Library/Developer/Xcode/DerivedData/itsettings-emxzrujgnlqhsodyyuwgfolwckjc/Build/Products/Debug-iphonesimulator/SBJson5
-L/Volumes/Macintosh\ HD/Documents/XCodeProjects/iPhone/ITSettings/ITSettings
-F/Users/jimerman/Library/Developer/Xcode/DerivedData/itsettings-emxzrujgnlqhsodyyuwgfolwckjc/Build/Products/Debug-iphonesimulator
-F/Volumes/Macintosh\ HD/Documents/XCodeProjects/iPhone/ITSettings/Pods/FirebaseAnalytics/Frameworks/frameworks
-F/Volumes/Macintosh\ HD/Documents/XCodeProjects/iPhone/ITSettings/Pods/FirebaseCore/Frameworks/frameworks
-F/Volumes/Macintosh\ HD/Documents/XCodeProjects/iPhone/ITSettings/Pods/FirebaseInstanceID/Frameworks/frameworks
-F/Volumes/Macintosh\ HD/Documents/XCodeProjects/iPhone/ITSettings/Pods/Google-Mobile-Ads-SDK/Frameworks/frameworks
-F/Volumes/Macintosh\ HD/Documents/XCodeProjects/iPhone/ITSettings/Pods/GoogleInterchangeUtilities/Frameworks/frameworks
-F/Volumes/Macintosh\ HD/Documents/XCodeProjects/iPhone/ITSettings/Pods/GoogleSymbolUtilities/Frameworks/frameworks
-filelist /Users/jimerman/Library/Developer/Xcode/DerivedData/itsettings-emxzrujgnlqhsodyyuwgfolwckjc/Build/Intermediates/itsettings.build/Debug-iphonesimulator/ITSettings.build/Objects-normal/x86_64/itsettings.LinkFileList
-mios-simulator-version-min=9.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/jimerman/Library/Developer/Xcode/DerivedData/itsettings-emxzrujgnlqhsodyyuwgfolwckjc/Build/Intermediates/itsettings.build/Debug-iphonesimulator/ITSettings.build/Objects-normal/x86_64/itsettings_lto.o
-Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -ObjC -lGoogleToolboxForMac -lSBJson5 -lc++ -lsqlite3 -lz -framework AVFoundation -framework AddressBook -framework AudioToolbox -framework
CoreGraphics -framework CoreMedia -framework CoreMotion -framework
CoreTelephony -framework CoreVideo -framework FirebaseAnalytics
-framework FirebaseCore -framework FirebaseInstanceID -framework GLKit -framework GoogleInterchangeUtilities -framework GoogleMobileAds -framework GoogleSymbolUtilities -framework MediaPlayer -framework MessageUI -framework MobileCoreServices -framework OpenGLES -framework
StoreKit -framework SystemConfiguration -weak_framework AdSupport
-weak_framework JavaScriptCore -weak_framework SafariServices -weak_framework WebKit -ObjC -lGoogleToolboxForMac -lc++ -lz -framework AVFoundation -framework AddressBook -framework AudioToolbox -framework CoreGraphics -framework CoreMedia -framework CoreMotion -framework CoreTelephony -framework CoreVideo -framework FirebaseAnalytics -framework FirebaseCore -framework
FirebaseInstanceID -framework GLKit -framework
GoogleInterchangeUtilities -framework GoogleMobileAds -framework
GoogleSymbolUtilities -framework MediaPlayer -framework MessageUI
-framework MobileCoreServices -framework OpenGLES -framework StoreKit -framework SystemConfiguration -weak_framework -weak_framework JavaScriptCore -weak_framework SafariServices -weak_framework WebKit
-Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/jimerman/Library/Developer/Xcode/DerivedData/itsettings-emxzrujgnlqhsodyyuwgfolwckjc/Build/Intermediates/itsettings.build/Debug-iphonesimulator/ITSettings.build/itsettings.app.xcent
-framework JavaScriptCore -lz.1 -framework SystemConfiguration -framework StoreKit -framework MessageUI -framework EventKitUI -framework EventKit -framework CoreGraphics -framework AVFoundation -framework AudioToolbox -framework AdSupport -framework GoogleMobileAds -framework UIKit -framework Foundation
-lPods-ITSettings -Xlinker -dependency_info -Xlinker /Users/jimerman/Library/Developer/Xcode/DerivedData/itsettings-emxzrujgnlqhsodyyuwgfolwckjc/Build/Intermediates/itsettings.build/Debug-iphonesimulator/ITSettings.build/Objects-normal/x86_64/itsettings_dependency_info.dat
-o /Users/jimerman/Library/Developer/Xcode/DerivedData/itsettings-emxzrujgnlqhsodyyuwgfolwckjc/Build/Products/Debug-iphonesimulator/itsettings.app/itsettings
clang: error: no such file or directory: 'JavaScriptCore'
I had the same, or similar at least, problem and the fix was to go over my linker flags in the build settings very carefully. I found that in one of my build configurations I had an incomplete linker flag value that expected something to follow it. As it turns out, when it outputs the command the next word was the framework, and so it thought it could not find a folder with that name (the flag that was incomplete should have been followed by a folder name). In short, review all your linker flags in detail and make sure they are complete.

linker command failed with exit code 1 after update to XCode 6.3

I get
ld: library not found for -lPods-projectName-AFNetworkActivityLogger
clang: error: linker command failed with exit code 1 (use -v to see invocation)
while building, after update Xcode to 6.3
Any ideas?
EDIT:
Full log:
Ld /Users/radekwilczak/Library/Developer/Xcode/DerivedData/projectName-hkpnskhwpbvwkteungusfkzdjnvw/Build/Products/Debug-iphoneos/projectName.app/projectName normal armv7
cd /Users/radekwilczak/Work/projectName-ios
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/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/iPhoneOS8.3.sdk -L/Users/radekwilczak/Library/Developer/Xcode/DerivedData/projectName-hkpnskhwpbvwkteungusfkzdjnvw/Build/Products/Debug-iphoneos -L/Users/radekwilczak/Work/projectName-ios/external/prmediaplayersdk/lib/iphoneos -L/Users/radekwilczak/Work/projectName-ios/external/Upnpx -L/Users/radekwilczak/Work/projectName-ios/external -L/Users/radekwilczak/Work/projectName-ios/external/prmediaplayersdk/lib -L/Users/radekwilczak/Work/projectName-ios/Pods/build/Debug-iphoneos -F/Users/radekwilczak/Library/Developer/Xcode/DerivedData/projectName-hkpnskhwpbvwkteungusfkzdjnvw/Build/Products/Debug-iphoneos -F/Users/radekwilczak/Work/projectName-ios/Pods/google-cast-sdk/GoogleCastSDK-2.5.2-Release -F/Users/radekwilczak/Work/projectName-ios -filelist /Users/radekwilczak/Library/Developer/Xcode/DerivedData/projectName-hkpnskhwpbvwkteungusfkzdjnvw/Build/Intermediates/projectName.build/Debug-iphoneos/projectName.build/Objects-normal/armv7/projectName.LinkFileList -dead_strip -ObjC -lPods-projectName-AFNetworkActivityLogger -lPods-projectName-AFNetworking -lPods-projectName-CSStickyHeaderFlowLayout -lPods-projectName-CocoaAsyncSocket -lPods-projectName-CocoaLumberjack -lPods-projectName-JSONModel -lPods-projectName-PureLayout -lPods-projectName-SFHFKeychainUtils -lPods-projectName-SVProgressHUD -lPods-projectName-TTTAttributedLabel -lPods-projectName-TYMActivityIndicatorView -lPods-projectName-TYMProgressBarView -lPods-projectName-google-cast-sdk -framework CFNetwork -framework CoreGraphics -framework CoreText -framework GoogleCast -framework MobileCoreServices -framework QuartzCore -framework Security -framework SystemConfiguration -framework UIKit -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=7.0 -framework CoreText -framework MediaAccessibility -framework GoogleCast -framework CoreData -lsqlite3 -lstdc++.6.0.9 -lxml2 -lz -lGoogleAnalyticsServices -framework MediaPlayer -framework CoreMedia -framework CoreAudio -framework AudioToolbox -framework CFNetwork -framework MessageUI -framework SystemConfiguration -framework AVFoundation -framework Foundation -framework CoreGraphics -framework UIKit -framework Fabric -framework Security -lPRMediaPlayerFramework_v_2_3 -framework Crashlytics -lupnpx -Xlinker -dependency_info -Xlinker /Users/radekwilczak/Library/Developer/Xcode/DerivedData/projectName-hkpnskhwpbvwkteungusfkzdjnvw/Build/Intermediates/projectName.build/Debug-iphoneos/projectName.build/Objects-normal/armv7/projectName_dependency_info.dat -o /Users/radekwilczak/Library/Developer/Xcode/DerivedData/projectName-hkpnskhwpbvwkteungusfkzdjnvw/Build/Products/Debug-iphoneos/projectName.app/projectName
ld: warning: directory not found for option '-L/Users/radekwilczak/Work/projectName-ios/Pods/build/Debug-iphoneos'
ld: library not found for -lPods-projectName-AFNetworkActivityLogger
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Problem solved by removing
libPods.a
libPods-CD_GO.a
and adding
libPods-CD_GO.a
one more time (in Frameworks).

linking error in CanvasPop API ios

I am integarting canvaspop in my application.When I am integrating it in sample application it is working fine.But when I am using it in my app with other 3rd pary framework like GPUimage,IKImagePicker,xpload and other more.I am getting these errors while linking framework to my app.
Ld /Users/mandeep/Library/Developer/Xcode/DerivedData/ImageEditorPro-bkvuyjzwftcotmgjlrocdiyaqkqu/Build/Products/Debug-iphonesimulator/ImageEditorPro.app/ImageEditorPro normal i386
cd "/Volumes/DATA/Chakshu/clientProjects/Kamil/Editlab Testing/EditLab"
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/iPhoneSimulator7.1.sdk -L/Users/mandeep/Library/Developer/Xcode/DerivedData/ImageEditorPro-bkvuyjzwftcotmgjlrocdiyaqkqu/Build/Products/Debug-iphonesimulator -LVendors/IAPPVerification -LVendors/TestFlight -LVendors/Canvas -F/Users/mandeep/Library/Developer/Xcode/DerivedData/ImageEditorPro-bkvuyjzwftcotmgjlrocdiyaqkqu/Build/Products/Debug-iphonesimulator -FVendors/IKImagePickerController/Vendors/FacebookSDK -FImageEditorPro -FVendors/GooglePlus -F/Volumes/DATA/Chakshu/clientProjects/Kamil/Editlab\ Testing/EditLab/IddictionSDK.embeddedframework -F/Volumes/DATA/Chakshu/clientProjects/Kamil/Editlab\ Testing/EditLab/IddictionSDK.embeddedframework/XplodeSDK.embeddedframework -F/Volumes/DATA/Chakshu/clientProjects/Kamil/Editlab\ Testing/EditLab/XplodeSDK.embeddedframework -FVendors/Canvas -F/Volumes/DATA/Chakshu/clientProjects/Kamil/Editlab\ Testing/EditLab/Vendors/Canvas -filelist /Users/mandeep/Library/Developer/Xcode/DerivedData/ImageEditorPro-bkvuyjzwftcotmgjlrocdiyaqkqu/Build/Intermediates/ImageEditorPro.build/Debug-iphonesimulator/ImageEditorPro.build/Objects-normal/i386/ImageEditorPro.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.0 -framework Security -framework MobileCoreServices -framework CFNetwork -framework Accelerate -lz -lObjectiveFlickr -framework PopUpLib /Users/mandeep/Library/Developer/Xcode/DerivedData/ImageEditorPro-bkvuyjzwftcotmgjlrocdiyaqkqu/Build/Products/Debug-iphonesimulator/libTMTumblrSDK.a -framework CoreMotion -framework MediaPlayer -framework StoreKit -framework GoogleOpenSource -framework FacebookSDK -framework SystemConfiguration -framework MapKit -framework CoreVideo -framework CoreMedia -framework OpenGLES -framework AVFoundation /Users/mandeep/Library/Developer/Xcode/DerivedData/ImageEditorPro-bkvuyjzwftcotmgjlrocdiyaqkqu/Build/Products/Debug-iphonesimulator/libGPUImage.a -framework AdSupport -lsqlite3 -framework Social -framework Accounts -framework AssetsLibrary -lbeeblex -framework ImageIO -framework QuartzCore /Users/mandeep/Library/Developer/Xcode/DerivedData/ImageEditorPro-bkvuyjzwftcotmgjlrocdiyaqkqu/Build/Products/Debug-iphonesimulator/libIKImagePickerController.a -framework CoreGraphics -framework UIKit -lTestFlight -framework XplodeSDK -framework Foundation -framework GooglePlus -Xlinker -dependency_info -Xlinker /Users/mandeep/Library/Developer/Xcode/DerivedData/ImageEditorPro-bkvuyjzwftcotmgjlrocdiyaqkqu/Build/Intermediates/ImageEditorPro.build/Debug-iphonesimulator/ImageEditorPro.build/Objects-normal/i386/ImageEditorPro_dependency_info.dat -o /Users/mandeep/Library/Developer/Xcode/DerivedData/ImageEditorPro-bkvuyjzwftcotmgjlrocdiyaqkqu/Build/Products/Debug-iphonesimulator/ImageEditorPro.app/ImageEditorPro
duplicate symbol _OBJC_CLASS_$_Reachability in:
/Users/mandeep/Library/Developer/Xcode/DerivedData/ImageEditorPro-bkvuyjzwftcotmgjlrocdiyaqkqu/Build/Intermediates/ImageEditorPro.build/Debug-iphonesimulator/ImageEditorPro.build/Objects-normal/i386/Reachability.o
Vendors/Canvas/PopUpLib.framework/PopUpLib(libPopUpLib.a-i386-master.o)
duplicate symbol _OBJC_METACLASS_$_Reachability in:
/Users/mandeep/Library/Developer/Xcode/DerivedData/ImageEditorPro-bkvuyjzwftcotmgjlrocdiyaqkqu/Build/Intermediates/ImageEditorPro.build/Debug-iphonesimulator/ImageEditorPro.build/Objects-normal/i386/Reachability.o
Vendors/Canvas/PopUpLib.framework/PopUpLib(libPopUpLib.a-i386-master.o)
duplicate symbol _kReachabilityChangedNotification in:
/Users/mandeep/Library/Developer/Xcode/DerivedData/ImageEditorPro-bkvuyjzwftcotmgjlrocdiyaqkqu/Build/Intermediates/ImageEditorPro.build/Debug-iphonesimulator/ImageEditorPro.build/Objects-normal/i386/Reachability.o
Vendors/Canvas/PopUpLib.framework/PopUpLib(libPopUpLib.a-i386-master.o)
ld: 3 duplicate symbols for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I think there are some setting in the build setting which have to change to successfully link this framework to app.
Thanks
Try having a look at this question and solution:
Conflict between class and static library
It explains how the .m files are possibly conflicting with each other.
Try out this solution and comment on the outcome.

Apple Mach-O Linker Error (linker command failed, library not found for -liPhone-lib)

I get this error when trying to build my game (using Unity 4.5) in Xcode 5.0. I have tried to remove paths under "Library/Framework Search Paths" (seems to be the solution for many) but with no success.
I'm using the "Google Play Game Services" plugin and "Social Mobile Plugin" (which uses Facebook SDK for Unity).
Since I don't have much experience of Xcode I don't really know what I'm dealing with here, so I'm sorry for the long error message below but maybe someone can get something out of it:
(I have also tried to find this "liPhone library" but I guess I misunderstand something because I can't find anything like that anywhere.)
Apple Mach-O Linker Error:
ld: library not found for -liPhone-lib
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The rest that comes with the error:
Ld /Users/lw/Library/Developer/Xcode/DerivedData/Unity-iPhone-erqtfljbogqrgkbcdfzjhxkvjikg/Build/Products/MyGame.app/MyGame normal armv7
cd /Users/lw/Documents/MyGame/MyGame_xcode
setenv IPHONEOS_DEPLOYMENT_TARGET 6.1
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/iPhoneOS7.0.sdk -L/Users/lw/Library/Developer/Xcode/DerivedData/Unity-iPhone-erqtfljbogqrgkbcdfzjhxkvjikg/Build/Products -L/Users/lw/Documents/MyGame/Assets/Facebook/Editor/iOS/FacebookSDK -F/Users/lw/Library/Developer/Xcode/DerivedData/Unity-iPhone-erqtfljbogqrgkbcdfzjhxkvjikg/Build/Products -F/Users/lw/Documents/GPG/google-plus-ios-sdk-1.7.0 -F/Users/lw/Documents/GPG/GooglePlayGames-iOS-SDK -F/Users/lw/Documents/MyGame/MyGame_xcode/Libraries -filelist /Users/lw/Library/Developer/Xcode/DerivedData/Unity-iPhone-erqtfljbogqrgkbcdfzjhxkvjikg/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/MyGame.LinkFileList -dead_strip -weak_framework CoreMotion -weak-lSystem -ObjC -stdlib=libstdc++ -fobjc-link-runtime -miphoneos-version-min=6.1 -lz -framework GoogleOpenSource -framework GooglePlus -framework GooglePlayGames -lc++ -framework SystemConfiguration -weak_framework Security -framework QuartzCore -framework MediaPlayer -framework CoreText -weak_framework CoreMotion -framework CoreLocation -framework CoreData -framework AssetsLibrary -framework AddressBook -framework Foundation -framework UIKit -framework OpenGLES -framework OpenAL -liconv.2 -framework AudioToolbox -framework CFNetwork -weak_framework iAd -liPhone-lib -framework CoreMedia -framework CoreVideo -weak_framework AVFoundation -framework CoreGraphics -weak_framework GameKit -weak-lsqlite3.0 /Users/lw/Documents/MyGame/Assets/Facebook/Editor/iOS/FacebookSDK/FacebookSDK.a -weak_framework Accounts -weak_framework AdSupport -weak_framework Social -Xlinker -dependency_info -Xlinker /Users/lw/Library/Developer/Xcode/DerivedData/Unity-iPhone-erqtfljbogqrgkbcdfzjhxkvjikg/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/MyGame_dependency_info.dat -o /Users/lw/Library/Developer/Xcode/DerivedData/Unity-iPhone-erqtfljbogqrgkbcdfzjhxkvjikg/Build/Products/MyGame.app/MyGame

three20 Integration error?

Please help me to resolve this error...
This error has comes up when run on device but when run on simulator than application run smoothly without errors..
I have got this below error...
Please help me
Ld /Users/vipalpanchal/Library/Developer/Xcode/DerivedData/iRealify-hkospzktmsronzeeoslnvwfniaok/Build/Products/Debug-iphoneos/MySMSFriend.app/MySMSFriend normal armv7s
cd "/iTune/SMS Final App/SMS/MySMSFriend"
setenv IPHONEOS_DEPLOYMENT_TARGET 4.3
setenv PATH "/Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode 2.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
"/Applications/Xcode 2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -arch armv7s -isysroot "/Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk" -L/Users/vipalpanchal/Library/Developer/Xcode/DerivedData/iRealify-hkospzktmsronzeeoslnvwfniaok/Build/Products/Debug-iphoneos "-L/iTune/SMS Final App/SMS/MySMSFriend/Classes/Start" -F/Users/vipalpanchal/Library/Developer/Xcode/DerivedData/iRealify-hkospzktmsronzeeoslnvwfniaok/Build/Products/Debug-iphoneos -filelist /Users/vipalpanchal/Library/Developer/Xcode/DerivedData/iRealify-hkospzktmsronzeeoslnvwfniaok/Build/Intermediates/iRealify.build/Debug-iphoneos/iRealify.build/Objects-normal/armv7s/MySMSFriend.LinkFileList -dead_strip -ObjC -all_load -fobjc-link-runtime -miphoneos-version-min=4.3 -lThree20Core -lThree20Network -lThree20Style /Users/vipalpanchal/Library/Developer/Xcode/DerivedData/iRealify-hkospzktmsronzeeoslnvwfniaok/Build/Products/Debug-iphoneos/libThree20.a /Users/vipalpanchal/Library/Developer/Xcode/DerivedData/iRealify-hkospzktmsronzeeoslnvwfniaok/Build/Products/Debug-iphoneos/libThree20UI.a /Users/vipalpanchal/Library/Developer/Xcode/DerivedData/iRealify-hkospzktmsronzeeoslnvwfniaok/Build/Products/Debug-iphoneos/libThree20UICommon.a /Users/vipalpanchal/Library/Developer/Xcode/DerivedData/iRealify-hkospzktmsronzeeoslnvwfniaok/Build/Products/Debug-iphoneos/libThree20UINavigator.a -framework Foundation -framework UIKit -framework CoreGraphics -framework QuartzCore -framework AddressBook -framework AddressBookUI -lxml2 -framework AVFoundation -framework MessageUI -framework StoreKit -framework SystemConfiguration -framework CFNetwork -framework MediaPlayer -framework MessageUI -framework OpenAL -framework OpenGLES -framework QuartzCore -framework SystemConfiguration -lsqlite3 -framework AudioToolbox -framework MapKit -framework MediaPlayer -lz -framework CoreLocation -o /Users/vipalpanchal/Library/Developer/Xcode/DerivedData/iRealify-hkospzktmsronzeeoslnvwfniaok/Build/Products/Debug-iphoneos/MySMSFriend.app/MySMSFriend
ld: library not found for -lxml2
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Resources