xcodebuild icon indicating copy to clipboard operation
xcodebuild copied to clipboard

Allow specifying derived-data-path

Open cartland opened this issue 6 months ago • 0 comments

Choose the destination directory for derived data. This is uses the xcodebuild flag -derivedDataPath.

Specification:

derived-data-path:
  description: |
    Path to which `xcodebuild` will write its derived data.
    Leave unset and `xcodebuild` decides itself.
  required: false

Usage:

- name: Build iOS app
  uses: cartland/[email protected]
  with:
    xcode: ^16
    scheme: iosApp
    platform: iOS
    action: build
    derived-data-path: build/DerivedData

Result:

$ cd build/DerivedData
$ tree -I "*.noindex" -L 3
.
├── Build
│   └── Products
│       └── Debug-iphonesimulator
├── info.plist
└── Logs
    ├── Build
    │   ├── D525C364-6D61-4C2C-BC7C-F4E18701754C.xcactivitylog
    │   └── LogStoreManifest.plist
    ├── Launch
    │   └── LogStoreManifest.plist
    ├── Localization
    │   └── LogStoreManifest.plist
    ├── Package
    │   └── LogStoreManifest.plist
    └── Test
        └── LogStoreManifest.plist

cartland avatar Jul 08 '25 20:07 cartland