Commit feeb7db
authored
Support xcarchive on MacOS (#2758)
Resolves issue on zipped ".app" targets for MacOS, and resolves issue:
```
ERROR: /Users/marek/source-code/ledger/BUILD:11:18: XCArchive ledger/Ledger.xcarchive failed: (Exit 1): make_xcarchive failed: error executing XCArchive command (from target //ledger:archive) bazel-out/darwin_arm64-opt-exec-ST-d57f47055a04/bin/external/rules_apple+/tools/xcarchivetool/make_xcarchive --info_plist ... (remaining 5 arguments skipped)
Traceback (most recent call last):
File "/private/var/tmp/_bazel_marek/2449a56c93ddd6c135146dab9dca5580/execroot/_main/bazel-out/darwin_arm64-opt-exec-ST-d57f47055a04/bin/external/rules_apple+/tools/xcarchivetool/make_xcarchive.runfiles/_main/../rules_apple+/tools/xcarchivetool/make_xcarchive.py", line 193, in <module>
_main(
File "/private/var/tmp/_bazel_marek/2449a56c93ddd6c135146dab9dca5580/execroot/_main/bazel-out/darwin_arm64-opt-exec-ST-d57f47055a04/bin/external/rules_apple+/tools/xcarchivetool/make_xcarchive.runfiles/_main/../rules_apple+/tools/xcarchivetool/make_xcarchive.py", line 140, in _main
shutil.copytree(
File "/private/var/tmp/_bazel_marek/2449a56c93ddd6c135146dab9dca5580/external/rules_python++python+python_3_11_aarch64-apple-darwin/lib/python3.11/shutil.py", line 571, in copytree
with os.scandir(src) as itr:
^^^^^^^^^^^^^^^
NotADirectoryError: [Errno 20] Not a directory: 'bazel-out/darwin_arm64-fastbuild-macos-arm64-min14.0-applebin_macos-ST-a610dfc02e27/bin/ledger/ledger.zip'
```1 parent 385c9e5 commit feeb7db
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
0 commit comments