Re: How can I obtain the current SDK version specified in the target?
Re: How can I obtain the current SDK version specified in the target?
- Subject: Re: How can I obtain the current SDK version specified in the target?
- From: Tito Ciuro <email@hidden>
- Date: Mon, 09 Apr 2012 21:38:16 -0300
Hello David,
This works wonderfully well, Thank you!
Thanks everyone for the help,
-- Tito On Apr 9, 2012, at 2:20 PM, David Duncan wrote: On Apr 8, 2012, at 2:29 PM, Tito Ciuro wrote: Hello,
One of my targets in Xcode runs a script. The purpose is to build a library via lipo that will run in both the device and simulator. Everything is working fine except one thing: I cannot seem to find a way to obtain the current SDK version specified in the target. If I set the version manually, it works fine (script shortened for brevity):
xcodebuild -target "MyLibrary" -configuration "Release" -sdk iphoneos${MY_SDK_VERSION}
Is there a way to obtain the SDK version?
You should be able to just use 'iphoneos' as the SDK and xcodebuild should select the latest available SDK (ditto using macosx for Mac builds).
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden