Linker issue in Xamarin project
ChadOzgur
Posted on
Nov 21 2015
I've added Raygun to my Xamarin iOS project. Everything work fine in debug mode in simulator. I can see crash reports on the dashboard, but when I try to compile for the device I get around a hundred error messages regarding CrashReporter and Raygun, and the project won't compile.
sample errors :
/Users/chad/Dropbox/Projects/AMUSE APP/AMUSEIOS/MTOUCH: Error MT5212: Native linking failed, duplicate symbol: 'plframecursornext'. (MT5212) (AMUSE IOS)
/Users/chad/Dropbox/Projects/AMUSE APP/AMUSEIOS/MTOUCH: Error MT5213: Duplicate symbol in: /Users/chad/Dropbox/Projects/AMUSE APP/AMUSEIOS/obj/iPhone/Debug/mtouch-cache/libRaygun4iOS.a(PLCrashFrameWalker.o) (Location related to previous error) (MT5213) (AMUSE IOS)
/Users/chad/Dropbox/Projects/AMUSE APP/AMUSEIOS/MTOUCH: Error MT5213: Duplicate symbol in: /Users/chad/Dropbox/Projects/AMUSE APP/AMUSEIOS/obj/iPhone/Debug/mtouch-cache/CrashReporter.all.a(PLCrashFrameWalker.o) (Location related to previous error) (MT5213) (AMUSE IOS)
Any pointers?
Thanks in advance
Chad
Jason Fauchelle
Raygun
Posted on
Nov 23 2015
Hi Chad,
Thanks for pointing this out. I will be looking at this soon and get back to you with what I find.
-Jason Fauchelle
ChadOzgur
Posted on
Nov 24 2015
Thanks Jason!
Looking forward trying raygun out.
Chad
Jason Fauchelle
Raygun
Posted on
Nov 25 2015
Hi Chad,
I have looked into this, but was not able to reproduce these errors. However, we have just released a new version of Raygun4Net (v5.2.0) which may or may not solve these errors and is worth giving it a try. Some changes in this version which may help is that we updated to the latest version of Xamarin.iOS, and we updated to the latest version of our embeded Raygun4iOS framework which is related to where those errors are coming from.
This version is available right now from NuGet, and should be available in the Xamarin Component Store within a week. Please try it out and let me know if the problem is solved or not. If not, please let me know if you are integrating any other crash reporters into your app. If not, please provide a repro project, or anything that will help us reproduce this issue at our end.
Thanks
?-Jason Fauchelle
ChadOzgur
Posted on
Nov 26 2015
Hi Jason,
Just updated to 5.2.0 still no joy :(
But then I removed Xamarin insights and all compiled ok.
So there.
Best
c
Jason Fauchelle
Raygun
Posted on
Nov 26 2015
Hi Chad,
Thanks, that makes sense. Xamarin insights probably has PLCrashReporter embeded within it too which conflicts with PLCrashReporter in Raygun.
Let us know if you have further questions.
-Jason Fauchelle
Tom
Posted on
Jan 12 2016
Possible to have both Xamarin Insight and Raygun together in an iOS project?
Jason Fauchelle
Raygun
Posted on
Jan 12 2016
Hi Tom,
Currently this is not possible, but we plan to fix this up in the next version.
-Jason Fauchelle
Divya Singhal
Posted on
Jan 21 2016
Hi Jason,
You may want to add this somewhere for developers. I spent hours on this without any luck until I found this forum discussion.
Thanks Divya