Mac install command line tools for xcode with iOS SDK

1.4k Views Asked by At

I'm trying to install the XCode Command Line Tools so that I can build a library for iOS from the command line.

The entire process from installing the tools to building the library needs to be able to run from the command line for automation.

I've managed to get the command line tools installed, however once they're installed, in /Library/Developer/CommandLineTools/SDKs I only have MacOSX.sdk and MacOSX10.13.sdk.

In order to build the library, I need iPhoneOS.sdk, which I cannot figure out how to get installed.

How would I go about doing this while still being able to wrap automation around it?

1

There are 1 best solutions below

0
On

Not sure if this is still relevant, but here's where you can find your iPhone SDK. It's not part of the command line tools. It is part of the XCode package.

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/