What’s Changed
⚠️ Breaking Changes ⚠️
- Team ID is now always required when using
xcode_provisioning_profile
: #1397 - Remove deprecated
device_and_simulator
rule: #1391
New
- Added
xcodeproj.xcode_minimum_version
: #1463, #1464, and #1465 - Added a
--collect_specs
command-line option: #1498
Fixes and Improvements
- Upgraded
index-import
to 5.7: #1425 - Upgraded rules_apple to 1.1.3: #1427
- Upgraded rules_swift to 1.4.0: #1454
- Upgraded ZippyJSON to 1.2.10: #1469
- Fixed indexing of external files: #1382
- Fixed BwB framework SwiftUI Previews: #1388
- Removed transition on
build_mode
, allowing cache sharing between BwB and BwX: #1392, #1393, #1395, and #1398 - Optimized how many
XcodeProjInfo
providers are created: #1394 - Moved some path calculations into Starlark: #1400, #1402, #1404, #1405, #1406, #1407, #1408, #1409, #1411, #1413, #1414, #1415, #1416, #1417, #1419, #1420, #1423, #1426, #1428, #1429, #1431, #1432, #1433, #1434, #1435, #1436, #1445, and #1470
--features=swift.use_global_module_cache
is now set inxcodeproj.bazelrc
: #1442- Fixed excessively long filelist paths: #1458
- Fixed debugging when using BwtB: #1461
- Fixed
lldb
error whenmodule
isNone
: #1466 - Improved BEP/BES performance: #1472, #1473, and #1474
- Improved performance generating large projects: #1478, #1479, #1480, #1481, #1482, #1483, and #1485
- Removed warning for pre and post scripts: #1484
- Fixed incremental device installs of iOS 16+ applications with extensions: #1487
- Fixed project generation when targets don't provide an
AppleResourceInfo
provider: #1492 - Renamed an internal argument to improve compatibility with
bazel
wrappers: #1497
Full Changelog: 0.10.2...0.11.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 = "2533b977ac8540a30323fde7fdb6ca49219edd21d3753b69d43f39c576b11a88",
url = "https://github.com/buildbuddy-io/rules_xcodeproj/releases/download/0.11.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()