Hi am in the fix here! All of a sudden am not able to build projects with scaleform. My Paid IOS Licence shows 109 error and the eval project downloaded from autodesk plays in the editor without any key in SF_Key . But am getting the following in the XCode 5.1
Can somebody please help me figure this out?
Ld /Users/AparGames/Library/Developer/Xcode/DerivedData/Unity-iPhone-awgcjacvjkrgfocdmjqfafgzhosk/Build/Products/unitytestapp.app/unitytestapp normal armv7
cd /Volumes/Work/Work/Builds/scaleformtest
export IPHONEOS_DEPLOYMENT_TARGET=4.3
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/iPhoneOS7.1.sdk -L/Users/AparGames/Library/Developer/Xcode/DerivedData/Unity-iPhone-awgcjacvjkrgfocdmjqfafgzhosk/Build/Products -L/Volumes/Work/Work/Builds/scaleformtest -L/Volumes/Work/Work/Builds/scaleformtest/Libraries -L/Volumes/Work/Work/Builds/scaleformtest/Libraries/ScaleformLib/clang/Debug_NoRTTI -L/Volumes/Work/Work/Builds/scaleformtest/Libraries/ScaleformLib/clang -F/Users/AparGames/Library/Developer/Xcode/DerivedData/Unity-iPhone-awgcjacvjkrgfocdmjqfafgzhosk/Build/Products -filelist /Users/AparGames/Library/Developer/Xcode/DerivedData/Unity-iPhone-awgcjacvjkrgfocdmjqfafgzhosk/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/unitytestapp.LinkFileList -dead_strip -weak_framework CoreMotion -weak-lSystem -lgfx_as3 -lgfx_as2 -lgfxrender_gl -lgfx -lgfxsound_fmod -lunitygfxinternal -lexpat -lgfxexpat -ljpeg -lpng -lz -lpcre -stdlib=libstdc++ -fobjc-link-runtime -miphoneos-version-min=4.3 -framework Foundation -framework UIKit -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 -weak_framework AVFoundation -framework CoreGraphics -weak_framework CoreMotion -weak_framework GameKit -Xlinker -dependency_info -Xlinker /Users/AparGames/Library/Developer/Xcode/DerivedData/Unity-iPhone-awgcjacvjkrgfocdmjqfafgzhosk/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/unitytestapp_dependency_info.dat -o /Users/AparGames/Library/Developer/Xcode/DerivedData/Unity-iPhone-awgcjacvjkrgfocdmjqfafgzhosk/Build/Products/unitytestapp.app/unitytestapp
ld: library not found for -lexpat
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Solved! Go to Solution.
Solved by HenryStrattonFW. Go to Solution.
possibly related t othis thread. http://forums.autodesk.com/t5/Scaleform-Unity-Development/Linker-issues-with-July-Scaleform-plugin-o... It seems some 3rd party libraries were left out of the download, No idea if scaleform ever updated the download to include these files.
Another common issue causing these kinds of errors can be that the post processing script either failed to run, or changes from it were undone by another post process script. Check to see if the ScaleformLib folder and contents made it into your XCodeProject/Libraries folder after building.