¡@

Home 

2014/10/15 ¤U¤È 10:13:40

iphone Programming Glossary: sdk_version

Build fat static library (device + simulator) using Xcode and SDK 4+

http://stackoverflow.com/questions/3520977/build-fat-static-library-device-simulator-using-xcode-and-sdk-4

number NB Apple ought to report this but they hide it # incidental searching for substrings in sh is a nightmare Sob SDK_VERSION echo SDK_NAME grep o '. 3 ' # Next work out if we're in SIM or DEVICE if PLATFORM_NAME iphonesimulator then OTHER_SDK_TO_BUILD.. o '. 3 ' # Next work out if we're in SIM or DEVICE if PLATFORM_NAME iphonesimulator then OTHER_SDK_TO_BUILD iphoneos SDK_VERSION else OTHER_SDK_TO_BUILD iphonesimulator SDK_VERSION fi echo XCode has selected SDK PLATFORM_NAME with version SDK_VERSION.. if PLATFORM_NAME iphonesimulator then OTHER_SDK_TO_BUILD iphoneos SDK_VERSION else OTHER_SDK_TO_BUILD iphonesimulator SDK_VERSION fi echo XCode has selected SDK PLATFORM_NAME with version SDK_VERSION although back targetting IPHONEOS_DEPLOYMENT_TARGET..

How can I compile lame as static library(.a) for armv6 and armv7 of iPhone?

http://stackoverflow.com/questions/9207063/how-can-i-compile-lame-as-static-library-a-for-armv6-and-armv7-of-iphone

shell script to build a universal libmp3lame.a file. Note this uses Xcode 4.3 paths and iOS 5.1 compilers. # bin bash SDK_VERSION 5.1 mkdir build function build_lame make distclean . configure CFLAGS isysroot Applications Xcode.app Contents Developer.. . configure CFLAGS isysroot Applications Xcode.app Contents Developer Platforms SDK .platform Developer SDKs SDK SDK_VERSION .sdk CC Applications Xcode.app Contents Developer Platforms SDK .platform Developer usr bin gcc arch PLATFORM prefix Users..