docs(apple): add troubleshooting guide for arm64e linker errors#18769
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
|
|
||
| ## Linker Errors with SPM Dependencies in Xcode on arm64e | ||
|
|
||
| This issue only affects projects that integrate Sentry via Swift Package Manager using the <PlatformLink to="/install/swift-package-manager/">`SentrySPM` (compile from source)</PlatformLink> product and build for arm64e. The pre-built binary products (`Sentry`, `Sentry-Dynamic`) are not affected. |
Contributor
There was a problem hiding this comment.
Bug: The troubleshooting guide for the arm64e linker error incorrectly omits the SentryObjC SPM product as an affected package.
Severity: MEDIUM
Suggested Fix
Update the documentation to clarify that the arm64e linker issue affects all compile-from-source Swift Package Manager products, including both SentrySPM and SentryObjC.
Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.
Location: docs/platforms/apple/common/troubleshooting/index.mdx#L225
Potential issue: The troubleshooting guide for an `arm64e` linker error incorrectly
states that the issue only affects projects using the `SentrySPM` product. This is
inaccurate because the `SentryObjC` Swift Package Manager product, which also compiles
from source, is equally affected by the same Xcode linker bug. A developer using
`SentryObjC` who encounters this build error would read the guide and mistakenly
conclude the provided workaround does not apply to them, leaving their build issue
unresolved.
Did we get this right? 👍 / 👎 to inform future reviews.
philprime
reviewed
Jul 20, 2026
|
|
||
| ## Linker Errors with SPM Dependencies in Xcode on arm64e | ||
|
|
||
| This issue only affects projects that integrate Sentry via Swift Package Manager using the <PlatformLink to="/install/swift-package-manager/">`SentrySPM` (compile from source)</PlatformLink> product and build for arm64e. The pre-built binary products (`Sentry`, `Sentry-Dynamic`) are not affected. |
Member
There was a problem hiding this comment.
We need to clarify that this only affects using SPM in Xcode UI, and not xcodebuild nor swift build.
Member
Author
There was a problem hiding this comment.
Addressed in ec13929 - let me know if that's clear enough.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DESCRIBE YOUR PR
IS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs to go live.
PRE-MERGE CHECKLIST
Make sure you've checked the following before merging your changes: