Announcements
The Scaleform forum is now read-only. Please head to the Gamedev site for product support.
Scaleform Forum (Read Only)
Scaleform enables developers to leverage the power of the Adobe® Flash® tool set to create powerful user interface environments for video games.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Not able to build for ios + Xcode. ld: library not found for -lexpat

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
sushant_p29
4709 Views, 2 Replies

Not able to build for ios + Xcode. ld: library not found for -lexpat

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)

2 REPLIES 2
Message 2 of 3

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.

Message 3 of 3

Excellent! Thank you Henry that solved the issue. Although the link you posted is broken, here is the working one http://forums.autodesk.com/t5/scaleform-unity-development/linker-issues-with-july-scaleform-plugin-o...

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report