-
Notifications
You must be signed in to change notification settings - Fork 160
RUM-12702 Build xcframework with and without arm64e #2576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RUM-12702 Build xcframework with and without arm64e #2576
Conversation
c2f740a to
0473d0c
Compare
ncreated
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍.
| echo_info "Publishing '$GH_ASSET_PATH' to '$tag' release in '$REPO_NAME'" | ||
| echo_info "▸ Using DRY_RUN = $DRY_RUN" | ||
| echo_info "▸ Using OVERWRITE_EXISTING = $OVERWRITE_EXISTING" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason to remove these logs? They're quite handy to understand the configuration of CI job / local run.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really, we don't have a single GH_ASSET_PATH anymore and it was a bit redundant with the echo_subtitle "Uploading assets to '$tag' release" from the upload function. I can re-add the full context 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
|
/merge |
|
View all feedbacks in Devflow UI.
This pull request is not mergeable according to GitHub. Common reasons include pending required checks, missing approvals, or merge conflicts — but it could also be blocked by other repository rules or settings.
[email protected] unqueued this merge request |
|
/remove |
|
View all feedbacks in Devflow UI.
|
|
/merge |
|
View all feedbacks in Devflow UI.
The expected merge time in
|
What and why?
Changes the release tooling to support building and distributing XCFrameworks both with and without the arm64e architecture slice.
Fixes #2560
When building with Xcode 26.x, App Store Connect rejects the builds with error 91011, stating that arm64e slices require iOS SDK 26 or later, but the Datadog XCFrameworks contain arm64e slices compiled with iOS SDK 18.2.
Until the SDK is rebuilt with Xcode 26, users building with Xcode 26+ need a version without arm64e to successfully submit to App Store Connect.
This PR provides both versions in releases:
Datadog-with-arm64e.xcframework.zip- Full version with all architectures (for Xcode 16.x builds)Datadog.xcframework.zip- Version without arm64e (for Xcode 26+ builds and App Store Connect submission)How?
New Scripts:
lipo -remove arm64eModified Scripts:
Review checklist
make api-surface)