Skip to content

Instantly share code, notes, and snippets.

@okanon
Last active December 25, 2019 14:44
Show Gist options
  • Save okanon/73ac79204f37b04934dcdad49e166557 to your computer and use it in GitHub Desktop.
Save okanon/73ac79204f37b04934dcdad49e166557 to your computer and use it in GitHub Desktop.
Travis CI, OS X Directory structure

Travis CI, OS X Directory structure

The macOS Build Environment

This guide explains what packages, tools and settings are available in the Travis macOS CI environment (often referred to as the “CI environment”).

Directories

/User/travis/build/$NAME/$REPO_NAME
 - Travis build directory(current directory)

/Applications/Xcode.app
 - Xcode directory

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

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks
 - Private Frameworks

Example

iPhoneOS.sdk, C++ headers & Private Frameworks

cp -adr /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk iPhoneOS.sdk
cp -adr /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks iPhoneOS.sdk/System/Library
cp -adrv /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/* iPhoneOS.sdk/usr/include/c++
os: osx
osx_image: xcode11.3
# xcode 9.4, 10, 10.1~3, 11, 11.1~3
language: objective-c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment