简体   繁体   中英

Mac install command line tools for xcode with iOS SDK

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?

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/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM