You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have Xcode 9 downloaded from the App Store. Here is how to reproduce the error:
1. Clone https://github.com/IBM-Swift/Configuration
2. Run unit tests using a Swift 4 toolchain (change `.swift-version` if you are using `swiftenv`): `swift test`
3. Get assertion failures in the logs, like this:
The tests will complete without this runtime failure if I comment out `setup` and `teardown` functions in `ConfigurationManagerTest.swift`. Those functions deal with creating and deleting symlinks inside `/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Xcode/Agents/`, so it's entirely possibly that I'm running into a permissions issue. However, that is not at all clear from the assertion failure printed.
The text was updated successfully, but these errors were encountered:
@briancroom has informed me that this is likely due to my test code calling `XCTFail` inside class level `setup` and `teardown` functions. It would be nice if the error message points this out as it is hard to figure out exactly what is wrong with my code with the current error message.
Looks like this issue was reported against the version of XCTest that ships within Xcode for macOS/iOS/etc. If you are still seeing an unexpected issue here, please let Apple know by filing feedback at https://feedback.apple.com
Environment
Xcode 9 from App Store, Swift 4.0
Additional Detail from JIRA
md5: 3490a89fea916f1631607373b1b22a51
Issue Description:
I have Xcode 9 downloaded from the App Store. Here is how to reproduce the error:
1. Clone https://github.com/IBM-Swift/Configuration
2. Run unit tests using a Swift 4 toolchain (change `.swift-version` if you are using `swiftenv`): `swift test`
3. Get assertion failures in the logs, like this:
The tests will complete without this runtime failure if I comment out `setup` and `teardown` functions in `ConfigurationManagerTest.swift`. Those functions deal with creating and deleting symlinks inside `/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Xcode/Agents/`, so it's entirely possibly that I'm running into a permissions issue. However, that is not at all clear from the assertion failure printed.
The text was updated successfully, but these errors were encountered: