Skip to content

Commit e446901

Browse files
authored
fix(ci): Resolve symlink path before removing architectures (#6049)
* fix(ci): Resolve symlink path before removing architectures * Update changelog
1 parent 0ee162c commit e446901

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
- Structured Logging: Logger called before `SentrySDK.start` becomes unusable (#5984)
1414
- Add masking for AVPlayerView (#5910)
1515
- Fix missing view hierachy when enabling `attachScreenshot` too (#5989)
16+
- Fix macOS's frameworks not following the versioned framework structure (#6049)
1617

1718
### Improvements
1819

scripts/remove-architectures.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ echo "Excluded architectures: $EXCLUDED_ARCH"
3434
# Find all framework directories and process their binaries
3535
find "$XCARCHIVE_PATH" -name "*.framework" -type d | while read -r framework_path; do
3636
binary_path="$framework_path/$(basename "$framework_path" .framework)"
37+
if [ -L "$binary_path" ]; then
38+
echo "Resolving symlink at path: $binary_path"
39+
binary_path=$(readlink -f "$binary_path")
40+
fi
3741
if [ -f "$binary_path" ]; then
3842
echo "Processing binary: $binary_path"
3943

0 commit comments

Comments
 (0)