Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Objective Sharpie fails to generate binding for Gigya static library

$
0
0

I am STILL in the process of binding the Gigya IOS library. I was able to create the .a files and now I am stuck generating the binding using Objective Sharpie. When I was in the process of creating the .a file in xamarin, I ran into a protocol exception related to the Google Plus libraries concerning the protocol for the GPPSignInDelegate.

I added the Google Plus framework to the solution and the library was able to build successfully.

Now that I am trying to bind the libraries to C#, I am getting the error again even after I added header references to the Google + headers. Has anyone run into this before with object binding?

Here's the output:

    /Users/xcodeclub/Projects/Gigya/Gigya/Gigya/GSGooglePlusProvider.h:15:58: warning: cannot find protocol definition for 'GPPSignInDelegate'
    @interface GSGooglePlusProvider : GSNativeLoginProvider <GPPSignInDelegate>
                                                             ^
    1 warning generated.
    /Users/xcodeclub/Projects/Gigya/Gigya/Gigya/GSSessionDelegate.h:32:23: error: expected a type
    - (void)userDidLogin:(GSUser *)user;
                          ^
    /Users/xcodeclub/Projects/Gigya/Gigya/Gigya/GSSessionDelegate.h:52:28: error: expected a type
    - (void)userInfoDidChange:(GSUser *)user;
                               ^
    2 errors generated.
    Error while processing /Users/xcodeclub/Projects/Gigya/Gigya/Gigya/GSSessionDelegate.h.
    In file included from /Users/xcodeclub/Projects/Gigya/Gigya/Gigya/Gigya+Internal.h:22:
    /Users/xcodeclub/Projects/Gigya/Gigya/Gigya/GSGooglePlusProvider.h:15:58: warning: cannot find protocol definition for 'GPPSignInDelegate'
    @interface GSGooglePlusProvider : GSNativeLoginProvider <GPPSignInDelegate>
                                                             ^
    1 warning generated.
    sharpie-clang-parser exited with error code: 1
    System.Exception: sharpie-clang-parser exited with error code: 1
      at Sharpie.ObjC.Parser.Parse (System.IO.TextWriter sexpWriter, System.Collections.Generic.List`1 stderrLines) [0x00000] in <filename unknown>:0 
      at Sharpie.Mac.MainWindowController+<GenerateBinding>c__AnonStorey3.<>m__B (System.Object o) [0x00000] in <filename unknown>:0 

Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>