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
Update test runner with internal change
- Check the OS version when passing the Swift5 fallback libraries (required for Xcode 11.4 or later)
- Parse the xcresult bundle under Xcode 11 or later.
- Remove the Xcode 7 support.
Update test runner with internal change
- Fix the minSupportedVersion issue for simulator creation.
- Allow running arm64 test bundle on arm64e iOS device.
Update xctestrun module for Swift test support in Xcode 11
1. When running on simulator, use DYLD_LIBRARY_PATH and DYLD_FRAMEWORK_PATH to load the symbols in the xcode's libs/frameworks. For running on real device, still need to copy the libs and frameworks under test host's Frameworks directory.
2. Copy libXCTestSwiftSupport.dylib to test host's Frameworks directory when running on real device under Xcode 11. Because it is required to run swift test under Xcode 11.
Robust solution for checking the device SDK in ios_test_runner
Robust solution for checking the device SDK in ios_test_runner.
- Support passing optional argument --platform=[ios_device,ios_simulator].
- If args.platform is not given, use the output `xcrun simctl list devices` and `instruments -s devices` to detect the SDK of the device from given device id.
For new iOS models, such as iPhone Xs, Xs MAX, the uuid is no longer 40 digit. To be more robust, ios_test_runner won't use uuid format to determine the SDK of the device. To be consistent with Google bazel, we add a new argument --platform.