Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

New Relic Xamarin Binding for iOS cannot resolve runtime reference #7

Open
jsanzmex opened this issue Mar 18, 2022 · 1 comment
Open
Labels
bug Something isn't working

Comments

@jsanzmex
Copy link

jsanzmex commented Mar 18, 2022

I was able to implement the Xamarin Binding successfully in Android.

But iOS is a different story.

Description

My iOS App works well when compiled. But once rebuilt (for Distribution), it crashes when the application tries to start the agent: NewRelic.StartWithApplicationToken. The IDE reports this exception:

Method not found: IntPtr
CoreFoundation.CFString.CreateNative(string)

Steps to Reproduce

  1. Insert NewRelic.StartWithApplicationToken inside main's app delegate "FinishedLaunching" method.
  2. Rebuild.
  3. Install IPA on test device.
  4. Run.

Relevant Logs / Console output

I've attached some screenshots.
WhatsApp Image 2022-03-17 at 6 55 56 PM
WhatsApp Image 2022-03-17 at 5 06 13 PM

Your Environment

Xamarin project's minimum iOS version set to 10.3
Agent version is 6.14.0

@jsanzmex jsanzmex added the bug Something isn't working label Mar 18, 2022
@ndesai-newrelic
Copy link

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants