liphone-lib在统一生成的xcode项目中在哪里?

时间:2014-11-07 06:43:41

标签: ios xcode unity3d libraries

自从我升级团结以来,我遇到了这个奇怪的问题。当我构建生成的Xcode项目时,我收到以下错误:

 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)

我在项目的任何地方都找不到liphone-lib。我以前毫不费力地建立了这个项目。我正在使用unity 4.5.5和Xcode 6.1

请帮忙

1 个答案:

答案 0 :(得分:0)

好的,我设法解决了这个问题。我已经更新到团结4.5,所以它打破了我的项目。我删除了所有内容并通过覆盖旧文件重新进行了重建。这解决了错误。