GEOSwiftMapKit icon indicating copy to clipboard operation
GEOSwiftMapKit copied to clipboard

Restore quick look tests

Open macdrevx opened this issue 2 years ago • 0 comments

#17 deleted the quick look tests due to an issue with either xcodebuild or GH Actions. A reproducible test case has been created at https://github.com/macdrevx/ActionsErrorDemo and bugs are open with both GitHub and Apple.

Here's a summary of the bug:

Title

xcodebuild fails with error "Error deleting scheme: Cannot modify data because the process disallows saving"

Environment

Xcode 14.2

Description

I've run into a peculiar issue with building a Swift package with xcodebuild. I've only been able to repro when running the build on GitHub Actions. Example:

https://github.com/macdrevx/ActionsErrorDemo/actions/runs/4507794222/jobs/7935907313

https://github.com/macdrevx/ActionsErrorDemo is a minimal Swift package that depends on another minimal Swift package https://github.com/macdrevx/ActionsErrorDemoDependency

The only interesting thing about either package is that the test target for ActionsErrorDemo contains some image resources.

The necessary conditions to repro the bug seem to include:

  1. Have a dependency
  2. Have bundled resources
  3. Build in GitHub Actions with the standard xcodebuild invocation: $ xcodebuild -scheme ActionsErrorDemo -sdk "${{ matrix.sdk }}" -destination "${{ matrix.destination }}" clean test

macdrevx avatar Mar 25 '23 18:03 macdrevx