Build complete! (18.74s)
2022-06-11 09:20:13.934 xctest[2093:7863] The bundle “MagicDataPackageTests.xctest” couldn’t be loaded. Try reinstalling the bundle.
2022-06-11 09:20:13.935 xctest[2093:7863] (dlopen(/Users/distiller/project/.build/x86_64-apple-macosx/debug/MagicDataPackageTests.xctest/Contents/MacOS/MagicDataPackageTests, 0x0109): Symbol not found: _$s10Foundation11JSONDecoderC6decode_4fromxxm_AA4DataVtKSeRzlFTj
Referenced from: /Users/distiller/project/.build/x86_64-apple-macosx/debug/MagicDataPackageTests.xctest/Contents/MacOS/MagicDataPackageTests
Expected in: /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation)
Exited with code exit status 1
here is my circle ci code:
# Use the latest 2.1 version of CircleCI pipeline process engine.
# See: https://circleci.com/docs/2.0/configuration-reference
version: 2.1
# Define a job to be invoked later in a workflow.
# See: https://circleci.com/docs/2.0/configuration-reference/#jobs
jobs:
test:
macos:
xcode: 14.0.0
steps:
- checkout
- run:
name: Build
command: swift build -v
- run:
name: Test
command: swift test -v
# Invoke jobs via workflows
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
workflows:
test-workflow:
jobs:
- test