Hi,
I've created a test project for ipad, it works well with the Ipad Simulator but when i try to test it on a real device it doesn't compile.
The first error is:
"[BEROR]No architectures to compile for [ARCHS=armv7, VALID_ARCHS=armv6, i386]"
Then i go to the "Build Settings" and add "armv7" to the "Valid Architectures". It was "armv6 i386" now it's "armv7 armv6 i386".
But now i have a new error:
"Ld /Users/azrael/Library/Developer/Xcode/DerivedData/wmelite-aregolaikwmsxtaipuhimuunwblh/Build/Products/Debug-iphoneos/wmelite.app/wmelite normal armv7
cd /Users/azrael/Desktop/asd/wmelite/xcode-ios/wmelite
setenv IPHONEOS_DEPLOYMENT_TARGET 4.2
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-g++-4.2 -arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -L/Users/azrael/Library/Developer/Xcode/DerivedData/wmelite-aregolaikwmsxtaipuhimuunwblh/Build/Products/Debug-iphoneos -L/Users/azrael/Desktop/asd/wmelite/xcode-ios/wmelite/../dep/bass/lib -L/Users/azrael/Desktop/asd/wmelite/xcode-ios/wmelite/../dep/boost/lib -L/Users/azrael/Desktop/asd/wmelite/xcode-ios/wmelite/../dep/FreeImage/lib -L/Users/azrael/Desktop/asd/wmelite/xcode-ios/wmelite/../dep/freetype/lib -L/Users/azrael/Desktop/asd/wmelite/xcode-ios/wmelite/../dep/SDL/lib -F/Users/azrael/Library/Developer/Xcode/DerivedData/wmelite-aregolaikwmsxtaipuhimuunwblh/Build/Products/Debug-iphoneos -filelist /Users/azrael/Library/Developer/Xcode/DerivedData/wmelite-aregolaikwmsxtaipuhimuunwblh/Build/Intermediates/wmelite.build/Debug-iphoneos/wmelite.build/Objects-normal/armv7/wmelite.LinkFileList -dead_strip -lz -miphoneos-version-min=4.2 -framework StoreKit -framework Foundation -framework UIKit -framework OpenGLES -framework QuartzCore -framework CoreAudio -framework AudioToolbox -framework CoreGraphics -lbass -lboost_filesystem -lboost_system -lfreeimage -lSDL -framework CFNetwork -lfreetype -o /Users/azrael/Library/Developer/Xcode/DerivedData/wmelite-aregolaikwmsxtaipuhimuunwblh/Build/Products/Debug-iphoneos/wmelite.app/wmelite
ld: in /Users/azrael/Desktop/asd/wmelite/xcode-ios/dep/FreeImage/lib/libfreeimage.a, file is universal but does not contain a(n) armv7 slice for architecture armv7
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-g++-4.2 failed with exit code 1"
It seem to me that a lib dosn't support armv7Any ideas?
The macbook pro it's with Lion and the latest version of XCode. The ipad it's an ipad 2 with ios 5. I downloaded the latest source and dependencies of WME Lite.
Thanks for the help