Skip to content

Commit 78856c9

Browse files
authored
Adopt latest index-import version (v6.1.0.1) to fix issue with libzstd.1.dylib (#3174)
### Description Update to latest `index-import` version In order to fix [this issue](MobileNativeFoundation/index-import#135) with `libzstd.1.dylib` ``` ERROR: /Users/user.name/development/iOSApp/Sources/ios/SomeDirectory/ModuleName/BUILD.bazel:7:14: Compiling Swift module //Sources/ios/SomeDirectory/ModuleName:ModuleName failed: (Exit 6): worker failed: error executing SwiftCompile command (from target //Sources/ios/SomeDirectory/ModuleName:ModuleName) (cd /private/var/tmp/_bazel_user.name/6a5e437287601edde41b207a856d8f03/rules_xcodeproj.noindex/build_output_base/execroot/_main && \ exec env - \ APPLE_SDK_PLATFORM=iPhoneSimulator \ APPLE_SDK_VERSION_OVERRIDE=18.4 \ PATH=/bin:/usr/bin \ XCODE_VERSION_OVERRIDE=16.3.0.16E140 \ bazel-out/darwin_arm64-opt-exec-ST-d57f47055a04/bin/external/rules_swift+/tools/worker/worker swiftc @bazel-out/ios_sim_arm64-dbg-ios-sim_arm64-min16.0-applebin_ios-ST-6e2671526308/bin/Sources/ios/SomeDirectory/ModuleName/ModuleName.swiftmodule-0.params) # Configuration: b0ceba1133f56978950e06b51b3c16e1564509c2be138544537871ebbdd13844 # Execution platform: @@platforms//host:host dyld[5952]: Library not loaded: /opt/homebrew/opt/zstd/lib/libzstd.1.dylib Referenced from: <9F95D36C-F1F1-3C2B-A2B2-08DD7E0943D2> /private/var/tmp/_bazel_user.name/6a5e437287601edde41b207a856d8f03/rules_xcodeproj.noindex/build_output_base/external/rules_swift++non_module_deps+build_bazel_rules_swift_index_import_6_1/index-import Reason: tried: '/opt/homebrew/opt/zstd/lib/libzstd.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/zstd/lib/libzstd.1.dylib' (no such file), '/opt/homebrew/opt/zstd/lib/libzstd.1.dylib' (no such file) ``` --------- Signed-off-by: Samuel Sainz <[email protected]>
1 parent 4f1d34b commit 78856c9

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ bazel_dep(name = "bazel_features", version = "1.3.0")
1010
bazel_dep(name = "bazel_skylib", version = "1.3.0")
1111
bazel_dep(
1212
name = "rules_swift",
13-
version = "2.8.0",
13+
version = "2.8.2",
1414
max_compatibility_level = 2,
1515
repo_name = "build_bazel_rules_swift",
1616
)

xcodeproj/repositories.bzl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ def xcodeproj_rules_dependencies(
121121
_maybe(
122122
http_archive,
123123
name = "build_bazel_rules_swift",
124-
sha256 = "68290c747eab415d924a3e2a8d2d32a4686dd1e0b091a6b4db4892d1bc0e8308",
125-
url = "https://github.com/bazelbuild/rules_swift/releases/download/2.8.0/rules_swift.2.8.0.tar.gz",
124+
sha256 = "a632eaf9d0d7564ae7dbd12f94fc2047cc00706a7f037a4af1fc10e20b7875a4",
125+
url = "https://github.com/bazelbuild/rules_swift/releases/download/2.8.2/rules_swift.2.8.2.tar.gz",
126126
ignore_version_differences = ignore_version_differences,
127127
)
128128

@@ -174,9 +174,9 @@ native_binary(
174174
http_archive,
175175
name = "rules_xcodeproj_index_import",
176176
build_file_content = index_import_build_file_content,
177-
canonical_id = "index-import-6.1.0",
178-
sha256 = "54d0477526bba0dc1560189dfc4f02d90aea536e9cb329e911f32b2a564b66f1",
179-
url = "https://github.com/MobileNativeFoundation/index-import/releases/download/6.1.0/index-import.tar.gz",
177+
canonical_id = "index-import-6.1.0.1",
178+
sha256 = "9a54fc1674af6031125a9884480a1e31e1bcf48b8f558b3e8bcc6b6fcd6e8b61",
179+
url = "https://github.com/MobileNativeFoundation/index-import/releases/download/6.1.0.1/index-import.tar.gz",
180180
ignore_version_differences = ignore_version_differences,
181181
)
182182

0 commit comments

Comments
 (0)