Skip to content

Commit 9c7a198

Browse files
committed
Remove arm64e
1 parent 59da77d commit 9c7a198

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/build-sentry-cocoa.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ xcodebuild archive -project Sentry.xcodeproj \
2525
-archivePath ./Carthage/output-ios.xcarchive \
2626
SKIP_INSTALL=NO \
2727
BUILD_LIBRARY_FOR_DISTRIBUTION=YES
28+
./scripts/remove-architectures.sh ./Carthage/output-ios.xcarchive arm64e
2829
xcodebuild archive -project Sentry.xcodeproj \
2930
-scheme Sentry \
3031
-configuration Release \
@@ -47,14 +48,15 @@ xcodebuild archive -project Sentry.xcodeproj \
4748
-archivePath ./Carthage/output-maccatalyst.xcarchive \
4849
SKIP_INSTALL=NO \
4950
BUILD_LIBRARY_FOR_DISTRIBUTION=YES
51+
./scripts/remove-architectures.sh ./Carthage/output-maccatalyst.xcarchive arm64e
5052
xcodebuild -create-xcframework \
5153
-framework ./Carthage/output-maccatalyst.xcarchive/Products/Library/Frameworks/Sentry.framework \
5254
-output ./Carthage/Build-maccatalyst/Sentry.xcframework
5355
echo "::endgroup::"
5456

5557
# Copy headers - used for generating bindings
5658
mkdir Carthage/Headers
57-
find Carthage/Build-ios/Sentry.xcframework/ios-arm64_arm64e -name '*.h' -exec cp {} Carthage/Headers \;
59+
find Carthage/Build-ios/Sentry.xcframework/ios-arm64 -name '*.h' -exec cp {} Carthage/Headers \;
5860

5961
# Remove anything we don't want to bundle in the nuget package.
6062
find Carthage/Build* \( -name Headers -o -name PrivateHeaders -o -name Modules \) -exec rm -rf {} +

0 commit comments

Comments
 (0)