Last active
July 27, 2019 05:27
-
-
Save Slowhand0309/082cd84e332a1741d2635f96941cbb9d to your computer and use it in GitHub Desktop.
[Command lists related to Xcode] #Xcode #Command
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Show current path | |
xcode-select -print-path | |
# Switch xcode | |
xcode-select --switch /Applications/XcodeXX.app | |
# Search active xcodebuild path | |
xcrun --find xcodebuild | |
# Show simulator list | |
xcrun --sdk iphoneos simctl list | |
# Show architecture types list | |
xcrun --sdk iphoneos lipo -info libXXXX.a | |
## Use in makefile | |
# Makefile for iphoneos | |
CC="$(xcrun --sdk iphoneos --find clang)" | |
ISYSROOT="$(xcrun --sdk iphoneos --show-sdk-path)" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment