-
Notifications
You must be signed in to change notification settings - Fork 7
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
Crash when startWithApplicationToken is called #301
Comments
Hi @laurentaylormarshall . We've asked Apple about this Swift language bug. I will follow up with a possible code workaround you can use to get around Apples Swift language bug. |
Hi @laurentaylormarshall , I forgot to mention that this is an issue that can be fixed by disabling InteractionTracing as well, if you don't need to use that. We'll look into the code change to workaround this. See below code , call this before caling NewRelic.start.. This will result in InteractionTracing being disabled and you should not experience the crash.
|
Thank you @cdillard-NewRelic , that does seem to prevent the crash! However, interaction tracking for iOS 15 and 16 users is still valuable to us, so a long term fix is what we're ultimately looking for. |
@cdillard-NewRelic Have you filed a Feeback Assistant ticket in addition to the forum link that you posted? |
Hi @laurentaylormarshall , we haven't sent Apple the Feedback Assistant request yet but I'll make a note in our JIRA system to send this up soon. Thanks for the reminder. |
Description
On app launch, NewRelic.start(withApplicationToken: [token here]) crashes on iOS 15 and iOS 16 for classes that are marked as only available in iOS 17+. This is most likely the same type of issue as reported here: https://forum.newrelic.com/s/hubtopic/aAX8W0000008caqWAA/xcode-13-ios-14-crash
Steps to Reproduce
and/or
Expected Behavior
The app should not crash due to New Relic.
Relevant Logs / Console output
Your Environment
Xcode 15.4
iOS 16.4 simulator
New Relic v7.5.1 via SPM
The text was updated successfully, but these errors were encountered: