Facing issue with 64 bit dll (Monotouch)

Previously I was using monotouch.dll with 32 bit now i have upgraded my project from 32 bit to 64 bit and replaced monotouch dll with xamarin.IOS but now I am getting issue

Error 25 The type 'MonoTouch.Foundation.NSObject' is defined in an assembly that is not referenced. You must add a reference to assembly 'monotouch, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'.

Is there anything I am missing??

Thanks & Regards,
Monika Aggarwal

Answers

  • RolfBjarneKvingeRolfBjarneKvinge USXamarin Team Xamurai

    You're referencing an assembly which references monotouch.dll.

    You must check all the references of your main app recursively, and verify that none of them use monotouch.dll (and if they do, get updated versions).

  • AndrewFlahertyAndrewFlaherty USMember

    I have created one dll for card swiping for 64 bit architecture which is not working and the same is working for 32 bit. I checked all my references but didn't get any place where mono touch was referenced.

  • RolfBjarneKvingeRolfBjarneKvinge USXamarin Team Xamurai

    Can you attach the complete build log?

  • AndrewFlahertyAndrewFlaherty USMember

    This is what coming in build log

    1>------ Skipped Rebuild All: Project: App12, Configuration: Debug Any CPU ------
    1>Project not selected to build for this solution configuration
    2>------ Skipped Rebuild All: Project: MagtekAndroidBindingLib, Configuration: Debug Any CPU ------
    2>Project not selected to build for this solution configuration
    3>------ Rebuild All started: Project: App12.iOS, Configuration: Debug iPhoneSimulator ------
    4>------ Skipped Rebuild All: Project: App12.Droid, Configuration: Debug Any CPU ------
    4>Project not selected to build for this solution configuration
    5>------ Rebuild All started: Project: MagTekDemo, Configuration: Debug iPhoneSimulator ------
    5> Generated session id: ea657ce47115217f16d0c0f2bbafa297
    5> Generated build app name: MagTekDemo
    5>C:\Shared\MagTek.iDynamo\samples\MagTekDemo\AppDelegate.cs(75,5,75,14): warning CS0162: Unreachable code detected
    5> MagTekDemo -> C:\Shared\MagTek.iDynamo\samples\MagTekDemo\bin\iPhoneSimulator\Debug\MagTekDemo.exe
    3> Generated session id: 8e36dd9643c77da71d62450abbe4d459
    3> Generated build app name: App12iOS
    3> Restoring NuGet packages...
    3> To prevent NuGet from downloading packages during build, open the Visual Studio Options dialog, click on the Package Manager node and uncheck 'Allow NuGet to download missing packages'.
    3> All packages listed in packages.config are already installed.
    3> Consider app.config remapping of assembly "System.Net.Http, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" from Version "1.5.0.0" [] to Version "4.0.0.0" [C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Xamarin.iOS\v1.0\System.Net.Http.dll] to solve conflict and get rid of warning.
    3>C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3276: Found conflicts between different versions of the same dependent assembly. Please set the "AutoGenerateBindingRedirects" property to true in the project file. For more information, see http://go.microsoft.com/fwlink/?LinkId=294190.
    3>D:\DAta D Drive\SelfDemo\PaymentServiceNetwork_09_04_2015\App12\App12\App12.iOS\AppDelegate.cs(39,16,39,25): error CS0012: The type 'MonoTouch.Foundation.NSObject' is defined in an assembly that is not referenced. You must add a reference to assembly 'monotouch, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'.
    ========== Rebuild All: 1 succeeded, 1 failed, 3 skipped ==========

  • RolfBjarneKvingeRolfBjarneKvinge USXamarin Team Xamurai
    edited April 2015

    Look at the line of code the error mentions:

    D:\DAta D Drive\SelfDemo\PaymentServiceNetwork_09_04_2015\App12\App12\App12.iOS\AppDelegate.cs(39,16,39,25): error CS0012: The type 'MonoTouch.Foundation.NSObject' is defined in an assembly that is not referenced. You must add a reference to assembly 'monotouch, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'.

    that code is using the assembly which references monotouch.dll.

  • AndrewFlahertyAndrewFlaherty USMember

    I have downloaded magtek IOS card reader sdk for 64 bit architecture.

    http://www.magtek.com/support/software/downloads/sw/99510111.zip

    Using this command I have created dll which will use in visual studio IOS instance.

    /Developer/MonoTouch/usr/bin/btouch -unsafe --outdir=tmp -out:MagTek.iDynamo.dll MagTek.iDynamo.cs enums.cs -x=AssemblyInfo.cs --link-with=libMTSCRA.a,libMTSCRA.a

    when I am giving reference of the same dll I am getting that issue.

    Could you please tell me where and how I can make change to remove monotouch reference??

  • RolfBjarneKvingeRolfBjarneKvinge USXamarin Team Xamurai

    For third-party bindings it's usually a lot better to use a binding project than manually invoke btouch.

    In this particular case use btouch-native instead [1]:

    /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/btouch-native ...
    

    you'll also have to modify the api definitions according to the usual Classic -> Unified API changes (namespaces, etc).

    [1] btouch[-native] are considered internal tools, and may change in the future (renamed, moved, etc.) The supported way is to use a binding project instead.

  • AndrewFlahertyAndrewFlaherty USMember

    Rolf,

    Using this solution I am able to create dll and referenced that successfully not I am getting new issue.

    Foundation.You_Should_Not_Call_base_In_This_Method: Exception of type 'Foundation.You_Should_Not_Call_base_In_This_Method' was thrown.

    Do you have idea of this issue??

  • RolfBjarneKvingeRolfBjarneKvinge USXamarin Team Xamurai

    Can you show the complete stack trace and the relevant (binding) code?

  • AndrewFlahertyAndrewFlaherty USMember

    Getting error in this module

            mtSCRALib = new MTSCRA();
            window = new UIWindow((System.Drawing.RectangleF)UIScreen.MainScreen.Bounds);
    
    
            **mtSCRALib.ListenForEvents(MTSCRATransactionEvent.OK | MTSCRATransactionEvent.Start | MTSCRATransactionEvent.Error);**
    
            if (gMagTekReader == MTSCRADeviceType.MagTekIDynamo)
            {
                mtSCRALib.SetDeviceType(MTSCRADeviceType.MagTekIDynamo);
                mtSCRALib.SetDeviceProtocolString(gMagTekProtocolString);
            }
            else
            {
                mtSCRALib.SetDeviceType(MTSCRADeviceType.MagTekAudioReader);
            }
    
            mtSCRALib.OpenDevice();
            DevConnStatusChange();
    
  • RolfBjarneKvingeRolfBjarneKvinge USXamarin Team Xamurai

    Can you get the complete stack trace for the exception as well?

  • AndrewFlahertyAndrewFlaherty USMember

    I have attached stack Trace with post..

  • AndrewFlahertyAndrewFlaherty USMember

    Stack Trace of application:

    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/Mono.Dynamic.Interpreter.dll [External]
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Core.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/Xamarin.iOS.dll [External]
    2015-04-24 19:36:45.894 App12iOS[397:42918] warning: Symbol file /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/App12.dll.mdb doesn't match image /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/App12.dll
    Thread started: Finalizer #2
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Xml.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/Xamarin.Forms.Core.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Net.Http.dll [External]
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Runtime.Serialization.dll [External]
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/Xamarin.Forms.Platform.iOS.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/MagTek.iDynamo.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Xml.Linq.dll [External]
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/App12.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/App12iOS.exe
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Runtime.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.ObjectModel.dll
    Resolved pending breakpoint at 'd:\DAta D Drive\SelfDemo\PaymentServiceNetwork_09_04_2015\App12\App12\App12.iOS\AppDelegate.cs:95,1' to void App12.iOS.AppDelegate.dataMagtek () [0x00001].
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Collections.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Threading.Tasks.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Threading.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Runtime.Extensions.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Reflection.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.IO.dll
    Thread started: #3
    Thread started: #4
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Linq.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Resources.ResourceManager.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Globalization.dll
    Thread started: #5
    Thread started: #6
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Dynamic.Runtime.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Linq.Expressions.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Xml.ReaderWriter.dll
    Thread started: #7
    Thread started: #8
    Thread started: #9
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Xml.XDocument.dll
    Thread started: #10
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Text.RegularExpressions.dll
    Unhandled Exception:

    Foundation.You_Should_Not_Call_base_In_This_Method: Exception of type 'Foundation.You_Should_Not_Call_base_In_This_Method' was thrown.

  • AndrewFlahertyAndrewFlaherty USMember

    Stack trace

    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/Mono.Dynamic.Interpreter.dll [External]
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Core.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/Xamarin.iOS.dll [External]
    2015-04-24 19:36:45.894 App12iOS[397:42918] warning: Symbol file /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/App12.dll.mdb doesn't match image /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/App12.dll
    Thread started: Finalizer #2
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Xml.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/Xamarin.Forms.Core.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Net.Http.dll [External]
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Runtime.Serialization.dll [External]
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/Xamarin.Forms.Platform.iOS.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/MagTek.iDynamo.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Xml.Linq.dll [External]
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/App12.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/App12iOS.exe
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Runtime.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.ObjectModel.dll
    Resolved pending breakpoint at 'd:\DAta D Drive\SelfDemo\PaymentServiceNetwork_09_04_2015\App12\App12\App12.iOS\AppDelegate.cs:95,1' to void App12.iOS.AppDelegate.dataMagtek () [0x00001].
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Collections.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Threading.Tasks.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Threading.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Runtime.Extensions.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Reflection.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.IO.dll
    Thread started: #3
    Thread started: #4
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Linq.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Resources.ResourceManager.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Globalization.dll
    Thread started: #5
    Thread started: #6
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Dynamic.Runtime.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Linq.Expressions.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Xml.ReaderWriter.dll
    Thread started: #7
    Thread started: #8
    Thread started: #9
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Xml.XDocument.dll
    Thread started: #10
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Text.RegularExpressions.dll
    Unhandled Exception:

    Foundation.You_Should_Not_Call_base_In_This_Method: Exception of type 'Foundation.You_Should_Not_Call_base_In_This_Method' was thrown.

  • AndrewFlahertyAndrewFlaherty USMember

    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/Mono.Dynamic.Interpreter.dll [External]
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Core.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/Xamarin.iOS.dll [External]
    2015-04-24 19:36:45.894 App12iOS[397:42918] warning: Symbol file /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/App12.dll.mdb doesn't match image /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/App12.dll
    Thread started: Finalizer #2
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Xml.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/Xamarin.Forms.Core.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Net.Http.dll [External]
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Runtime.Serialization.dll [External]
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/Xamarin.Forms.Platform.iOS.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/MagTek.iDynamo.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Xml.Linq.dll [External]
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/App12.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/App12iOS.exe
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Runtime.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.ObjectModel.dll
    Resolved pending breakpoint at 'd:\DAta D Drive\SelfDemo\PaymentServiceNetwork_09_04_2015\App12\App12\App12.iOS\AppDelegate.cs:95,1' to void App12.iOS.AppDelegate.dataMagtek () [0x00001].
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Collections.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Threading.Tasks.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Threading.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Runtime.Extensions.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Reflection.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.IO.dll
    Thread started: #3
    Thread started: #4
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Linq.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Resources.ResourceManager.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Globalization.dll
    Thread started: #5
    Thread started: #6
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Dynamic.Runtime.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Linq.Expressions.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Xml.ReaderWriter.dll
    Thread started: #7
    Thread started: #8
    Thread started: #9
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Xml.XDocument.dll
    Thread started: #10
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Text.RegularExpressions.dll
    Unhandled Exception:

    Foundation.You_Should_Not_Call_base_In_This_Method: Exception of type 'Foundation.You_Should_Not_Call_base_In_This_Method' was thrown.

  • AndrewFlahertyAndrewFlaherty USMember

    Stack Trace of application:

    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/Mono.Dynamic.Interpreter.dll [External]
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Core.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/Xamarin.iOS.dll [External]
    2015-04-24 19:36:45.894 App12iOS[397:42918] warning: Symbol file /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/App12.dll.mdb doesn't match image /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/App12.dll
    Thread started: Finalizer #2
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Xml.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/Xamarin.Forms.Core.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Net.Http.dll [External]
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Runtime.Serialization.dll [External]
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/Xamarin.Forms.Platform.iOS.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/MagTek.iDynamo.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Xml.Linq.dll [External]
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/App12.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/App12iOS.exe
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Runtime.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.ObjectModel.dll
    Resolved pending breakpoint at 'd:\DAta D Drive\SelfDemo\PaymentServiceNetwork_09_04_2015\App12\App12\App12.iOS\AppDelegate.cs:95,1' to void App12.iOS.AppDelegate.dataMagtek () [0x00001].
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Collections.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Threading.Tasks.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Threading.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Runtime.Extensions.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Reflection.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.IO.dll
    Thread started: #3
    Thread started: #4
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Linq.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Resources.ResourceManager.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Globalization.dll
    Thread started: #5
    Thread started: #6
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Dynamic.Runtime.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Linq.Expressions.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Xml.ReaderWriter.dll
    Thread started: #7
    Thread started: #8
    Thread started: #9
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Xml.XDocument.dll
    Thread started: #10
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Text.RegularExpressions.dll
    Unhandled Exception:

    Foundation.You_Should_Not_Call_base_In_This_Method: Exception of type 'Foundation.You_Should_Not_Call_base_In_This_Method' was thrown.

  • AndrewFlahertyAndrewFlaherty USMember

    Stack trace

    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/Mono.Dynamic.Interpreter.dll [External]
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Core.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/Xamarin.iOS.dll [External]
    2015-04-24 19:36:45.894 App12iOS[397:42918] warning: Symbol file /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/App12.dll.mdb doesn't match image /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/App12.dll
    Thread started: Finalizer #2
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Xml.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/Xamarin.Forms.Core.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Net.Http.dll [External]
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Runtime.Serialization.dll [External]
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/Xamarin.Forms.Platform.iOS.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/MagTek.iDynamo.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Xml.Linq.dll [External]
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/App12.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/App12iOS.exe
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Runtime.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.ObjectModel.dll
    Resolved pending breakpoint at 'd:\DAta D Drive\SelfDemo\PaymentServiceNetwork_09_04_2015\App12\App12\App12.iOS\AppDelegate.cs:95,1' to void App12.iOS.AppDelegate.dataMagtek () [0x00001].
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Collections.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Threading.Tasks.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Threading.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Runtime.Extensions.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Reflection.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.IO.dll
    Thread started: #3
    Thread started: #4
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Linq.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Resources.ResourceManager.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Globalization.dll
    Thread started: #5
    Thread started: #6
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Dynamic.Runtime.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Linq.Expressions.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Xml.ReaderWriter.dll
    Thread started: #7
    Thread started: #8
    Thread started: #9
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Xml.XDocument.dll
    Thread started: #10
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Text.RegularExpressions.dll
    Unhandled Exception:

    Foundation.You_Should_Not_Call_base_In_This_Method: Exception of type 'Foundation.You_Should_Not_Call_base_In_This_Method' was thrown.

  • AndrewFlahertyAndrewFlaherty USMember

    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/Mono.Dynamic.Interpreter.dll [External]
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Core.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/Xamarin.iOS.dll [External]
    2015-04-24 19:36:45.894 App12iOS[397:42918] warning: Symbol file /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/App12.dll.mdb doesn't match image /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/App12.dll
    Thread started: Finalizer #2
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Xml.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/Xamarin.Forms.Core.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Net.Http.dll [External]
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Runtime.Serialization.dll [External]
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/Xamarin.Forms.Platform.iOS.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/MagTek.iDynamo.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Xml.Linq.dll [External]
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/App12.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/App12iOS.exe
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Runtime.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.ObjectModel.dll
    Resolved pending breakpoint at 'd:\DAta D Drive\SelfDemo\PaymentServiceNetwork_09_04_2015\App12\App12\App12.iOS\AppDelegate.cs:95,1' to void App12.iOS.AppDelegate.dataMagtek () [0x00001].
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Collections.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Threading.Tasks.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Threading.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Runtime.Extensions.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Reflection.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.IO.dll
    Thread started: #3
    Thread started: #4
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Linq.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Resources.ResourceManager.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Globalization.dll
    Thread started: #5
    Thread started: #6
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Dynamic.Runtime.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Linq.Expressions.dll
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Xml.ReaderWriter.dll
    Thread started: #7
    Thread started: #8
    Thread started: #9
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Xml.XDocument.dll
    Thread started: #10
    Loaded assembly: /private/var/mobile/Containers/Bundle/Application/4B1F55D2-2308-4893-897A-A7432FDC44FF/App12iOS.app/.monotouch-64/System.Text.RegularExpressions.dll
    Unhandled Exception:

    Foundation.You_Should_Not_Call_base_In_This_Method: Exception of type 'Foundation.You_Should_Not_Call_base_In_This_Method' was thrown.

  • RolfBjarneKvingeRolfBjarneKvinge USXamarin Team Xamurai

    It looks like the stack trace wasn't printed to the terminal.

    Try adding an exception handler to your Main method, and print out the exception there:

    static void Main (string [] args)
    {
        try {
            UIApplication.Main (...);
        } catch (Exception ex) {
            Console.WriteLine (ex);
        }
    }
    
  • AndrewFlahertyAndrewFlaherty USMember

    I am getting this exception.

    {Foundation.You_Should_Not_Call_base_In_This_Method: Exception of type 'Foundation.You_Should_Not_Call_base_In_This_Method' was thrown.
    at MagTek.iDynamo.MTSCRA.ListenForEvents (MTSCRATransactionEvent events) [0x00000] in :0
    at App12.iOS.AppDelegate.dataMagtek () [0x0002b] in d:\DAta D Drive\SelfDemo\PaymentServiceNetwork_09_04_2015\App12\App12\App12.iOS\AppDelegate.cs:99
    at PaymentServiceNetwork.Views.MakePaymentUnlocked+d__58.MoveNext () [0x009a2] in d:\DAta D Drive\SelfDemo\PaymentServiceNetwork_09_04_2015\App12\App12\App12\Views\MakePaymentUnlocked.cs:1443 }

  • RolfBjarneKvingeRolfBjarneKvinge USXamarin Team Xamurai

    Can you show your ApiDefinition.cs for the MTSCRA class, and the corresponding Objective-C code?

  • AndrewFlahertyAndrewFlaherty USMember

    We are using attached solution and creating the dll in terminal in mac machine.

    /Developer/MonoTouch/usr/bin/btouch -unsafe --outdir=tmp -out:MagTek.iDynamo.dll MagTek.iDynamo.cs enums.cs -x=AssemblyInfo.cs --link-with=libMTSCRA.a,libMTSCRA.a

  • RolfBjarneKvingeRolfBjarneKvinge USXamarin Team Xamurai

    Remove the [Protocol] and [Model] attributes from MTSCRA class:

    [BaseType (typeof (NSObject))]
    interface MTSCRA {
        // ...
    }    
    
  • AndrewFlahertyAndrewFlaherty USMember

    I have already tried to remove [Protocol] and [Model], but i am getting this error.

    Error 7 Native linking failed, undefined Objective-C class: OBJC_CLASS$MTSCRA. If '_OBJC_CLASS$_MTSCRA' is a protocol from a third-party binding, please check that it has the [Protocol] attribute in its api definition file, otherwise verify that all the necessary frameworks have been referenced and native libraries are properly linked in. App12.iOS

  • RolfBjarneKvingeRolfBjarneKvinge USXamarin Team Xamurai

    That's because the native library doesn't contain code for the simulator:

    $ file libMTSCRA.a 
    libMTSCRA.a: Mach-O universal binary with 3 architectures
    libMTSCRA.a (for architecture armv7):   current ar archive random library
    libMTSCRA.a (for architecture arm64):   current ar archive random library
    libMTSCRA.a (for architecture armv7s):  current ar archive random library
    

    You'll need a native library for i386 and x86_64 as well if you want to run in the simulator.

  • AndrewFlahertyAndrewFlaherty USMember

    But we are not running this code in the simulator.

  • RolfBjarneKvingeRolfBjarneKvinge USXamarin Team Xamurai

    The first build log you showed here says otherwise:

    ------ Rebuild All started: Project: MagTekDemo, Configuration: Debug iPhoneSimulator ------

    anyways, can you add -v -v -v -v to the additional mtouch arguments in the main project's iOS Build options, rebuild, and attach the complete build log (you can get it from the Errors pad in Xamarin Studio, by clicking on the "Build Output" button)?

  • AndrewFlahertyAndrewFlaherty USMember

    Please find the attached error file for error log.

  • RolfBjarneKvingeRolfBjarneKvinge USXamarin Team Xamurai

    That is the Application Output, not the Build Output.

    Are you using Xamarin Studio, or Visual Studio? If you're using Visual Studio, can you try using Xamarin Studio instead?

  • AndrewFlahertyAndrewFlaherty USMember

    Hi,

    Please find the attachment for build out from xamarin studio.

  • RolfBjarneKvingeRolfBjarneKvinge USXamarin Team Xamurai

    Can you try upgrading to Xamarin.iOS 8.10 (released yesterday), and if that doesn't work, attach a new build log like the last one?

  • AndrewFlahertyAndrewFlaherty USMember

    After updating the xamarin.ios it is showing the same error.Please find the attached build output

  • RolfBjarneKvingeRolfBjarneKvinge USXamarin Team Xamurai

    Did you remove [Protocol] and [Model] as I previously mentioned for that build?

    You said:

    I have already tried to remove [Protocol] and [Model], but i am getting this error.

    Error 7 Native linking failed, undefined Objective-C class: OBJC_CLASS$MTSCRA. If '_OBJC_CLASS$_MTSCRA' is a protocol > from a third-party binding, please check that it has the [Protocol] attribute in its api definition file, otherwise verify that all > the necessary frameworks have been referenced and native libraries are properly linked in. App12.iOS

    but your build succeeded in the log you attached.

  • TussharTusshar INMember ✭✭

    Hi Rolf,
    I am facing the same issue , and get the same error as Andrew And with this solution I have tried to fix the error , Bu still I am getting same issue.And the Error: Foundation.ModelnotImplemenmtedException.

Sign In or Register to comment.