Skip to content

Conversation

@cartland
Copy link

@cartland cartland commented Jul 8, 2025

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

Choose the destination directory for derived data.

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant