Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #10710 Reply

    Mahesh Jagtap

    Hello!
    I downloaded trial version for iOS, and downloaded the .zip from “https://plugpdf.com/sdkfile/PlugPDF_iOS.zip” reanmed the said file with .a
    But while Binding with the “sharpie bind” command with the PlugPDF.framework with sdk 9.1. i got the following error message

    [ERROR] FATAL UNHANDLED EXCEPTION: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> Sharpie.Tooling.Tool+ExitException: Exception of type ‘Sharpie.Tooling.Tool+ExitException’ was thrown.
    at Sharpie.ParseTool+ParseOptionSection.SetTargetSdk (System.String sdkIdentifier) in <filename unknown>:line 0…..

    Can you please help out for the lib creation and formation of c# library(.dll)?

    #10711 Reply

    Dr. Plug
    Moderator

    Hello Mahesh,

    Thank you for your interest in the PlugPDF SDK. Could you give a little more explanation for the line below? What did you do after the download?

    >I downloaded trial version for iOS, and downloaded the .zip from “https://plugpdf.com/sdkfile/PlugPDF_iOS.zip”
    >reanmed the said file with .a

    Best regards,

    Dr. Plug

    #10712 Reply

    Mahesh Jagtap

    Thanx for reply,

    I went through the following process,
    >I downloaded trial version for iOS, and downloaded the .zip from “https://plugpdf.com/sdkfile/PlugPDF_iOS.zip”
    >renamed the said file with .a
    >go in the terminal of MAC and type the “Sharpie” command as
    sharpie bind \
    -framework PlugPDF.framework \
    -sdk iphoneos9.1

    which results in creation of the binding files “ApiDefinition.cs” and “StructsAndEnums.cs”.
    But this command fails, and throws the Error as
    [ERROR] FATAL UNHANDLED EXCEPTION: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> Sharpie.Tooling.Tool+ExitException: Exception of type ‘Sharpie.Tooling.Tool+ExitException’ was thrown.

    > I tried it by replacing the iphone os version with 8.0, 8.1, 9.0 9.1
    > the resulted files are helpful in creating the xamarin iOS Binding Project
    > Am I following the wrong steps? if yes then could you please help on this?

    Thank you in advance.
    Regards,
    Mahesh J.

    #10805 Reply

    Dr. Plug
    Moderator

    Hi Mahesh

    We support a project which makes a dll file.
    If you uses this project, you can make a dll file. Could you test it?
    https://plugpdf.com/sdkfile/PlugPDF_iOS_ForXamarin.zip

    Regards,
    Dr.Plug

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: need help to create c# xamarin binding library?
Your information: