Releases: MobileNativeFoundation/rules_xcodeproj
0.8: Bazel configurability
What’s Changed
⚠️ Breaking Changes ⚠️
device_and_simulator
has been deprecated. Use the newtop_level_target.target_environments
argument instead: #965xcode_provisioning_profile
has moved fromxcodeproj/experimental.bzl
toxcodeproj/xcodeproj.bzl
: #1069xcodeproj.build_mode
now defaults to"bazel"
: #1022- It is now an error to list non-top-level targets in
top_level_targets
: #1104
New
- The project generator is now run inside a runner script, and allows for configuration via Bazel configs: #911, #950, #952, #990, #1061, #1062, and #1075
- This means that most command-line flags you pass to
bazel run //:xcodeproj
are ignored - To adjust the project generation, use the newly available Bazel configs
- This means that most command-line flags you pass to
- Bazel-built Swift now uses index-while-building: #1040, #1043, #1096, and #1098
- Added support for custom working directory in custom scheme launch actions: #1051, #1074, and #1076
- Added support for custom Swift toolchains: #1027
- Added support for adding extra files to the project: #1080
- Added support for custom scheme pre and post actions: #1047
Fixes and Improvements
- Test issues now navigate to their source location in BwB mode: #961
- Test targets now use their non-internal name: #980 and #1044
- All versions of Info.plist for a given target are now generated when building: #985
- Added support for the "Compile File" command: #976
- Fixed handling of missing
AppleBinaryInfo.infoplist
: #1002 - (Mostly) fixed handling of
apple_universal_binary
targets: #1003, #1004, and #1034 - The generator is now a universal target with a set minimum OS: #1008
- Extracted
bazel_build.sh
to a script: #1009 and #1016 - Fixed quoting of single-file build settings: #1045
- Improved handling of
top_level_cache_buster
: #1050 and #1103 - Index Build's bazel outputs are now stored inside a directory of the normal Bazel output: #1053
- Binary rules are now codesigned, fixing the Memory Graph Debugger: #1058
- Fixed edge-case building of unfocused dependencies: #1093
- Bazel now uses the correct Xcode version when compiling: #1099, #1100, and #1102
- Merged library targets are now automatically focused when their destination target is focused: #1108
Full Changelog: 0.7.1...0.8.0
Contributors
First PRs
- @chiragramani made their first contribution in #1047
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 = "663bf83d8725f39694125d790eacd373e4c063bf80be4e6b5daa0a5dbe74df1f",
url = "https://github.com/buildbuddy-io/rules_xcodeproj/releases/download/0.8.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()
0.7.1: Indexing, navigation, and scheme improvements
What’s Changed
New
- Added
{device,simulator}_only_targets
attributes todevice_and_simulator
: #925 - Added rules documentation: #936, #944, #964, #969, and #974
Fixes and Improvements
- Improved scheme generation: #890, #901, #905, #909, #934, #940, #942, #956, #962, #963, #966
- Improved Xcode 14 support: #892
- Fixed issues not navigating to source files in BwB mode: #893
- Fixed VFS overlay generation: #898, #918, #919, #921, and #941
- Fixed indexing of
local_repository
andnew_local_repository
targets: #900 and #929 - Fixed linking BwB SwiftUI Previews: #922
- Fixed
external/
header search paths: #923 - Unfocusing of "invalid" labels is now supported: #938
- Targets can now merge into multiple top-level targets: #937
- Top-level bundle targets can now have multiple dependencies: #939
- Fixed
-D
quote handing: #948 - The
ASSETCATALOG_COMPILER_APPICON_NAME
build setting is now set: #932 - Fixed Resource bundle detection: #958
- Added
no-remote
to project generation: #972 - Upgrade warnings are now disabled: #970
Full Changelog: 0.7.0...0.7.1
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 = "1dd8e60ccb457536960d37ad77109c941060d8bc1e6c8b318c7a54ac7cec1b68",
url = "https://github.com/buildbuddy-io/rules_xcodeproj/releases/download/0.7.1/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()
0.7.0: Improved Performance, Custom Schemes, and Focused Projects
What’s Changed
⚠️ Breaking Changes ⚠️
xcodeproj
'stargets
attribute has been renamed totop_level_targets
: #831- This is to better reflect what types of targets you should list here. Listing dependencies of top-level targets (including
device_and_simulator
) will result in additional incorrectly configured targets in your project.
- This is to better reflect what types of targets you should list here. Listing dependencies of top-level targets (including
New
- Added C++ support to BwB: #787
- Added initial support for custom schemes: #803, #808, #809
- Added support for manually defined Focused Projects: #826
- These are defined by specifying labels in the
focused_targets
and/orunfocused_targets
attributes onxcodeproj
- These are defined by specifying labels in the
Fixes and Improvements
- Disabled BES for Index Builds: #736
- Improved handling of
linkopts
: #738, #737, #745, #747, #746, #750, #751, #757, #765, #777, #785, #789, and #829 - Improved handling of "simple" projects (BwX with no generated files): #743
- Most Bazel generated files are no longer copied into Derived Data: #744, #749, #752, #754, #760, #761, #768, #767, #771, #773, #775, #780
- Improved handling of automatic unfocused targets (i.e. "Xcode unsupported" targets): #753, #824, and #830
- Fixed errors when using
--incompatible_enable_cc_toolchain_resolution
: #756 - Fixed launching of tests with test hosts with custom
executable_name
: #758 EXECUTABLE_EXTENSION
is now only set when it differs from the default: #759- Improved handling of resources: #769, #788, #814, #883, and #886
- Improved handling of
Info.plist
s: #770, #778, and #793 - Improved handling of entitlements: #774 and #776
- Improved third-party rule support: #781 and #782
- Reduced spec.json size: #791, #814, #827, #875
BazelDependency
now only generates files for the specified target: #796, #851, and #862- Reduced amount of work done during project generation: #797 and #880
- Improved formatting of generated schemes to better match what Xcode expects: #800
- Fixed calculation of
*_DEPLOYMENT_TARGET
build settings: #843 - Greatly improved handling of Swift -> Objective-C debugging: #836, #876, #877, #879
- Improved handling of
cc_binary
andswift_binary
: #840 and #874 - Moved intermediate files to
$OBJROOT
: #860 - Improved indexing: #880
Full Changelog: 0.6.0...0.7.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 = "a647ad9ee6664a78377cf5707331966b6788be09d1fea48045a61bc450c8f1b1",
url = "https://github.com/buildbuddy-io/rules_xcodeproj/releases/download/0.7.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()
0.6.0: Embedded Targets
What’s Changed
New
- Added support for Watch Apps: #657, #661, #666, #660, #665, and #718
- Added support for App Extensions: #689, #687, #699, #701, #720, #634, and #723
- Added support for iMessage Apps: #728, #729
- Added support for App Clips: #731 and #732
- Added support for the
launchdplists
attribute: #684 - Added support for the
executable_name
attribute: #721
Fixes and Improvements
- Various fixes for unmerged top-level targets: #669, #673, #674, #725, #726
- Improved linker flag handling: #670
- Removed invalid target merges warning: #671
- Fixed formatting of some build settings: #717 and #719
- Fixed handling of
$location()/$rootpath()
in copts: #722 - Fixed handling of
apple_resource_bundle
indeps
: #734
Full Changelog: 0.5.1...0.6.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 = "0d53b6154c1296e5ac7885978b3b6430dcb88648c324e934f639e1f955184f41",
url = "https://github.com/buildbuddy-io/rules_xcodeproj/releases/download/0.6.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()
0.5.1: --ld-path, exported_symbols_lists, and simple BwB projects
What’s Changed
A small bug fix/improvements release:
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD
is now only set for iOS targets: #635- Fixed
--ld-path
path processing: #639 - Fixed handing of targets with precompiled outputs as sources: #644
- Fixed some missing PCM header search paths: #645
- Fixed simple Build with Bazel project generation: #650 and #652
- Fixed accidental inclusion of
BUILD
file in internalbazel
folder: #654 - Added support for
exported_symbols_lists
: #649 and #655
Full Changelog: 0.5.0...0.5.1
Contributors
First PRs
- @luispadron made their first contribution in #647
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 = "6f382ee8151352c01c8900b1098eeb49172aac087120327b930c31c3c2e9b8ff",
url = "https://github.com/buildbuddy-io/rules_xcodeproj/releases/download/0.5.1/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()
0.5.0: Improved rules support
What’s Changed
New
- Unknown rules are generically handled better
- For Bazel targets that can't be made into Xcode targets, we let Bazel build them and copy out the required outputs: #575, #578, #590, #591
- Bazel
features
needed by Build with Bazel are now enabled for Build with Xcode as well: #576 - The Build with Bazel custom lldbinit is used when Building with Xcode as well, to enable debugging of the copied swiftmodules: #581
- Various other fixes: #558, #598
- Added support for the
codesignopts
attribute: #593 - Added support for
swift_import
: #597 - Added support for the
alwayslink
attribute: #607, #608 - Finalized support for
apple_{dynamic,static}_{framework,xcframework}_import
: #609, #610, #625, #628 - Added
xcodeproj.scheme_autogeneration_mode
with support fornone
,auto
, andall
: #612
Fixes and Improvements
- Improvements to how entitlements are handled: #546, #547
- Fixed flakey output group check: #551
- Fixed handling of
--define=apple.experimental.tree_artifact_outputs=0
: #552 - Fixed missing App Icons in BwX mode: #556
- Fixed
TestAction
scheme ordering: #557 - Improved resource bundle handling: #559, #563, #564, #567, #571, #580, #599, #604, #605, #611, #624
- Breakpoints set from
swiftsourceinfo
now work: #579 - PCM flags now match what are set by rules_swift: #586, #595
- Reduced the size of the specification file passed between Bazel and
generator
: #600, #615, #621 - Improved collection of header files: #601
- Improved how linker flags are determined: #602
- Made file sorting more deterministic: #629
Breaking Changes
- Adjustments to
InputFileAttributesInfo
(now namedXcodeProjAutomaticTargetProcessingInfo
)
Full Changelog: 0.4.2...0.5.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 = "728cb6089ad2f4c4de2003ce23462be662bfdd250a8735dc590e61fb7401e7d2",
url = "https://github.com/buildbuddy-io/rules_xcodeproj/releases/download/0.5.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()
0.4.2: Info.plist is back and indexing improvements
What’s Changed
A small bug fix/improvement release:
- Improved indexing: #534, #536, #537, #544, #545
- Added back the Info.plist display for Built with Bazel device builds: #541
- Stopped including intermediate generated files: #542
Full Changelog: 0.4.1...0.4.2
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 = "c35896feb752df214f0f79cdb3b78404662ca7d710a7069f18b81158c1f442e2",
url = "https://github.com/buildbuddy-io/rules_xcodeproj/releases/download/0.4.2/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()
0.4.1: Debugging and device installation bug fixes
What’s Changed
A small bug fix release:
- Fixed debugging before indexing bazel-out has been created: #529
- Fixed reinstalls of Built with Bazel apps to device: #531
Full Changelog: 0.4.0...0.4.1
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 = "7f617ea9f353567d6443f071391d29e0e365fae4b4c9ef2f7514437a9a3ea9e5",
url = "https://github.com/buildbuddy-io/rules_xcodeproj/releases/download/0.4.1/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()
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()
0.3.0: Initial Build with Bazel
What’s Changed
New
- Added initial support for Building with Bazel: #313, #316, #350, #359, #362, #384, #389, #394, #396, #401, #404, #405, #408, #407, #420, #422, #423, #425, #426, #440, #446, and more
⚠️ Support for Building with Bazel is still very rough, and has a bit more to go in order to reach our high level goals. Also, in Bazel versions that still have this bug, the rapidly changing nature of the support (which will involve more transitions changes) can make it annoying to use this mode. With that said, we would appreciate all the feedback we can get from early testers!⚠️
- Added support for
cc_library.includes
: #310 and #325 - Added support for
swift_library.private_deps
: #342 - Added support for
objc_import
: #347 - Schemes are now generated instead of letting Xcode generate them: #361, #397, and #385
- Added support for code signing entitlements: #367
- Added support for
objc_library.sdk_dylibs
: #372 - Added support for Core Data model files: #288
Fixes and Improvements
- Fixed explosive memory use of inefficient
_process_dependencies()
: #307 - Fixed projects failing to build after being moved: #319
- Improved indexing: #329 and #330
- Improved handling of projects without Bazel generated files: #331, #332, #337, and #381
- Improved handling of Bazel outputs: #333, #353, #430, #431, and #434
- Various linking improvements: #340, #345, #348, #365, #409
- Improved handling of frameworks: #346 and #444
- Objective-C is now used instead of Swift for the compile stub: #369
- A work around for an Xcode debugging crash related to
DYLD_LIBRARY_PATH
is now used: #373 - Various changes to ensure that
--incompatible_disallow_empty_glob
is supported - Removed color ansi codes from bazel output within Xcode: #410
- Info.plist patching warning is now silenced: #411
dbg
compilation mode is used when building insides Xcode: #413- Fixed default
GCC_OPTIMIZATION_LEVEL
: #412 - Fixed
-debug-prefix-map
handling: #416 - Improved disambiguation of targets with names that only differ by case: #424
- Improved filtering of input files: #442
Full Changelog: 0.2.0...0.3.0
Contributors
First PRs
- @maxwellE made their first contribution in #335
- @erikkerber made their first contribution in #377
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 = "5a902801e2337fc14faeb2613d70202f2dd4755bba3d94ba068c1f622edba89e",
url = "https://github.com/buildbuddy-io/rules_xcodeproj/releases/download/0.3.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()