Support for swift on iOS 12.2 / XCode 10.2 #371
Labels
P2
We should fix this this quarter
type: blocked on bazel
This issue is waiting on a fix/release in Bazel
I'm having trouble running iOS apps built with bazel 0.23.2, rules_apple 0.14, macOS 10.14.3 after upgrading to XCode 10.2
The surface problem I'm seeing are errors like this when trying to launch the app on a simulator from (a Tulsi-generated project for) XCode:
I see slightly more informative errors when trying to run an ios_unit_test from the command line:
Something I suspect is related - with iOS 12.2, I believe Swift dylibs are now shipped with the OS. XCode 10.2 apparently no longer bundles these dylibs: https://developer.apple.com/documentation/xcode_release_notes/xcode_10_2_release_notes/swift_5_release_notes_for_xcode_10_2?preferredLanguage=occ.
As a test, I hacked the rules to not include the dylibs for ios apps (https://github.com/bazelbuild/rules_apple/compare/master...ourcanopy:xcode10_2?expand=1). Both launching the app through XCode and running the unit test through the simulator work with this hack.
The text was updated successfully, but these errors were encountered: