Skip to content

Fix CI failure when local tests pass #1

@0xLeif

Description

@0xLeif

For some reason there is an error when the CI tries to test the project. The project builds successfully, but the tests fail for the following error:

2023-03-08 01:44:18.357 xctest[2564:12725] The bundle “OpenBytesNavigationPackageTests.xctest” couldn’t be loaded. Try reinstalling the bundle.
2023-03-08 01:44:18.357 xctest[2564:12725] (dlopen(/Users/runner/work/OpenBytesNavigation/OpenBytesNavigation/.build/x86_64-apple-macosx/debug/OpenBytesNavigationPackageTests.xctest/Contents/MacOS/OpenBytesNavigationPackageTests, 0x0109): Symbol not found: (_$s10Foundation10URLRequestV10httpMethodSSSgvs)
  Referenced from: '/Users/runner/work/OpenBytesNavigation/OpenBytesNavigation/.build/x86_64-apple-macosx/debug/OpenBytesNavigationPackageTests.xctest/Contents/MacOS/OpenBytesNavigationPackageTests'
  Expected in: '/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation')

The tests pass locally.

Test Suite 'All tests' started at 2023-03-07 18:44:51.102
Test Suite 'OpenBytesNavigationPackageTests.xctest' started at 2023-03-07 18:44:51.103
Test Suite 'OpenBytesNavigationTests' started at 2023-03-07 18:44:51.104
Test Case '-[OpenBytesNavigationTests.OpenBytesNavigationTests testOpenBytesNavigationPathActionSheet]' started.
Test Case '-[OpenBytesNavigationTests.OpenBytesNavigationTests testOpenBytesNavigationPathActionSheet]' passed (0.002 seconds).
Test Case '-[OpenBytesNavigationTests.OpenBytesNavigationTests testOpenBytesNavigationPathAlert]' started.
Test Case '-[OpenBytesNavigationTests.OpenBytesNavigationTests testOpenBytesNavigationPathAlert]' passed (0.012 seconds).
Test Case '-[OpenBytesNavigationTests.OpenBytesNavigationTests testOpenBytesNavigationPathModal]' started.
Test Case '-[OpenBytesNavigationTests.OpenBytesNavigationTests testOpenBytesNavigationPathModal]' passed (0.000 seconds).
Test Case '-[OpenBytesNavigationTests.OpenBytesNavigationTests testOpenBytesNavigationPathToast]' started.
Test Case '-[OpenBytesNavigationTests.OpenBytesNavigationTests testOpenBytesNavigationPathToast]' passed (0.000 seconds).
Test Case '-[OpenBytesNavigationTests.OpenBytesNavigationTests testOpenBytesNavigationPushPop]' started.
Test Case '-[OpenBytesNavigationTests.OpenBytesNavigationTests testOpenBytesNavigationPushPop]' passed (0.000 seconds).
Test Suite 'OpenBytesNavigationTests' passed at 2023-03-07 18:44:51.119.
	 Executed 5 tests, with 0 failures (0 unexpected) in 0.016 (0.016) seconds
Test Suite 'OpenBytesNavigationPackageTests.xctest' passed at 2023-03-07 18:44:51.119.
	 Executed 5 tests, with 0 failures (0 unexpected) in 0.016 (0.016) seconds
Test Suite 'All tests' passed at 2023-03-07 18:44:51.119.
	 Executed 5 tests, with 0 failures (0 unexpected) in 0.016 (0.017) seconds

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    🔖 Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions