snippetbashTip
xctool — Build Xcode projects. More information: <https://github.com/facebookarchive/xctool#usage>.
Viewed 0 times
commandbuildcliprojectsinformationxctoolxcodemore
macos
Problem
How to use the
xctool command: Build Xcode projects. More information: <https://github.com/facebookarchive/xctool#usage>.Solution
xctool — Build Xcode projects. More information: <https://github.com/facebookarchive/xctool#usage>.Build a single project without any workspace:
xctool -project {{YourProject.xcodeproj}} -scheme {{YourScheme}} buildBuild a project that is part of a workspace:
xctool -workspace {{YourWorkspace.xcworkspace}} -scheme {{YourScheme}} buildClean, build, and execute all the tests:
xctool -workspace {{YourWorkspace.xcworkspace}} -scheme {{YourScheme}} clean build testCode Snippets
Build a single project without any workspace
xctool -project {{YourProject.xcodeproj}} -scheme {{YourScheme}} buildBuild a project that is part of a workspace
xctool -workspace {{YourWorkspace.xcworkspace}} -scheme {{YourScheme}} buildClean, build, and execute all the tests
xctool -workspace {{YourWorkspace.xcworkspace}} -scheme {{YourScheme}} clean build testContext
tldr-pages: osx/xctool
Revisions (0)
No revisions yet.