0.4.0: Improved Simulator and device support
What’s Changed
New
- Added experimental support for single targets to support both the Simulator and device destinations with the
device_and_simulator
rule: #457, #465, #466, #472, #473, #474, #477, #480, #490, #488, #491, #492, #496, #498, #503, #507, #511, #521 and more - Added experimental support for improved code signing settings with the
xcode_provisioning_profile
rule: #523 and #525
Fixes and Improvements
- More file extensions are now treated as header files: #468
- Non-header files are now filtered out from the Compile Source phase: #469
- Fixed swiftmodule copying during Index Build: #471
- Multiplatform targets now consolidate down to a single target in Xcode: #484, #493
- Improved scheme XML generation: #486, #494, #495
- Fixed a bug with
module.compilation_context
handling: #489 - Fixed possible output map collisions: #500
- Improved handling of generated files
BazelDependencies
: #508, #510, and #509 - Improved code signing support when using
local_provisioning_profile
: #505, #506, and #522 - Improved SwiftUI Previews support when Building with Bazel: #512, #513, #514, #516, #518, #519
-g
is now filtered from PCM compilation: #518- Fixed Building with Bazel in Xcode 14.0.0 Beta 1: #520
- Fixed running UI tests when Building with Bazel: #526
xcodeproj
'sBUILD
files are now added to the Project navigator: #528
Full Changelog: 0.3.0...0.4.0
Contributors
Workspace Snippet
Please use the release asset (release.tar.gz
) from your Bazel WORKSPACE
instead of GitHub's source asset to reduce download size and improve reproducibility.
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_github_buildbuddy_io_rules_xcodeproj",
sha256 = "c6be5570ee76c2d427767ea8484b4f0193492bedfdf7dee0fbb735b8d4d37b9d",
url = "https://github.com/buildbuddy-io/rules_xcodeproj/releases/download/0.4.0/release.tar.gz",
)
load(
"@com_github_buildbuddy_io_rules_xcodeproj//xcodeproj:repositories.bzl",
"xcodeproj_rules_dependencies",
)
xcodeproj_rules_dependencies()
load(
"@build_bazel_rules_apple//apple:repositories.bzl",
"apple_rules_dependencies",
)
apple_rules_dependencies()
load(
"@build_bazel_rules_swift//swift:repositories.bzl",
"swift_rules_dependencies",
)
swift_rules_dependencies()
load(
"@build_bazel_rules_swift//swift:extras.bzl",
"swift_rules_extra_dependencies",
)
swift_rules_extra_dependencies()
load(
"@build_bazel_apple_support//lib:repositories.bzl",
"apple_support_dependencies",
)
apple_support_dependencies()