-
-
Notifications
You must be signed in to change notification settings - Fork 366
Description
Platform
iOS
Installed
Swift Package Manager
Version
8.8.0
Steps to Reproduce
When compiling on device (compilation on simulator works fine), there are a bunch of new warnings, and with specific project configuration, compilation error when using Sentry.
Update: Compilation error is fixed in Xcode 15 Beta 3.
Warnings can be reproduced by doing the following:
- Create new project
- Add Sentry via SPM
- Build for device
Observe following warnings:
Ignoring duplicate library '-lc++'
Duplicate -rpath '/Users/denystelezhkin/Library/Developer/Xcode/DerivedData/Sentry-Xcode15-acagjnxhvucyzkbtgzttahdkqjvl/Build/Products/Debug-iphoneos/PackageFrameworks' ignored
Could not associate debug note to atom l_OBJC_LABEL_PROTOCOL_$__TtP13SentryPrivate23SentryMXManagerDelegate_
Could not associate debug note to atom l_OBJC_LABEL_PROTOCOL_$_MXMetricManagerSubscriber
Could not associate debug note to atom l_OBJC_LABEL_PROTOCOL_$_NSObject
Could not associate debug note to atom l_OBJC_PROTOCOL_REFERENCE_$__TtP13SentryPrivate23SentryMXManagerDelegate_
Could not associate debug note to atom l_OBJC_PROTOCOL_REFERENCE_$_MXMetricManagerSubscriber
Could not associate debug note to atom l_OBJC_PROTOCOL_REFERENCE_$_NSObject
However, if project setup is as follows: App -> Framework -> Sentry, warnings are the same, but there is now a compile error:
Assertion failed: ((targetAddr % extras.instrArm64.scale) == 0), function applyFixup, file Fixup.cpp, line 850.
This is probably an Xcode beta issue, and may be mitigated in future betas of Xcode 15, however as this is reproducible in two beta releases already, I wanted to file this issue for visibility, as there might be something i'm missing here.
Expected Result
Compilation succeeds
Actual Result
Compliation failed.
Are you willing to submit a PR?
Currently no, as I'm not certain how this issue can be fixed (and if this is a Sentry issue at all)
Metadata
Metadata
Assignees
Projects
Status
Status