-
Notifications
You must be signed in to change notification settings - Fork 227
Closed
Labels
bugSomething isn't workingSomething isn't workingbuildIssues related to build and CI/CDIssues related to build and CI/CD
Description
Describe the bug
With the addition of Xcode 12 support, the AmplifyTests bundle fails to execute in our CircleCI pipeline.
To Reproduce
Steps to reproduce the behavior:
- Attempt to build Amplify in the pipeline (e.g., make a commit to the latest
mainbranch)
This is also reproducible locally with a booted simulator
sim_id=$(xcrun simctl list | grep -i booted | grep -ie "[-A-F0-9]\{36\}" -o)
destination="platform=iOS Simulator,id=${sim_id}"
xcodebuild test -enableThreadSanitizer NO -workspace Amplify.xcworkspace -scheme Amplify -sdk iphonesimulator -destination "${destination}" -only-testing AmplifyTestsExpected behavior
All targets build and all unit tests pass
Actual behavior
All targets build, most unit tests pass, but the AmplifyTest bundle fails to execute, with the following error:
Testing failed:
AmplifyTests:
xctest (88696) encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted. (Underlying Error: Test runner exited before starting test execution. If you believe this error represents a bug, please attach the result bundle at <path to result>))
Environment(please complete the following information):
- Amplify Framework Version:
mainbranch as of 6979763 - Dependency Manager: Cocoapods
- Swift Version : 5.3
Device Information (please complete the following information):
- Device: Simulator
- iOS Version: iOS 14
- Specific to simulators: Unknown
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingbuildIssues related to build and CI/CDIssues related to build and CI/CD