# CircleCi failed in my spa project

**URL:** <https://discuss.circleci.com/t/circleci-failed-in-my-spa-project/44398>\
**Category:** Running Tests\
**Tags:** ios, circle-yml\
**Created:** [June 11, 2022, 9:23am UTC](https://discuss.circleci.com/t/circleci-failed-in-my-spa-project/44398 "2022-06-11T09:23:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![underthestars-zhy](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/underthestars-zhy/32/30367_2.png) [@underthestars-zhy](https://discuss.circleci.com/u/underthestars-zhy)\
**Post date:** [June 11, 2022, 9:23am UTC](https://discuss.circleci.com/t/circleci-failed-in-my-spa-project/44398/1 "2022-06-11T09:23:53Z")

</div>

```bash
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:

```yaml
# 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

```

---

<div class="post-metadata">

**Author:** ![bytesguy](https://avatars.discourse-cdn.com/v4/letter/b/0ea827/32.png) [@bytesguy](https://discuss.circleci.com/u/bytesguy)\
**Post date:** [June 14, 2022, 2:36pm UTC](https://discuss.circleci.com/t/circleci-failed-in-my-spa-project/44398/2 "2022-06-14T14:36:04Z")

</div>

This looks like an issue with Xcode itself, rather than the image we are providing. As Xcode 14 is in early beta it will have many uncovered bugs. I have seen a few references to similar error messages on the Apple developer forums, so I suggest reaching out there as a next step:

> **[Apple Developer Forums](https://developer.apple.com/forums/)**
>
> Connect with fellow developers and Apple experts as you give and receive help on a wide variety of development topics, from implementing new technologies to established best practices
