Bug 61264 - Objective Sharpie Pod bind exception cause by wrong path to libMonoPosixHelper.dylib
Summary: Objective Sharpie Pod bind exception cause by wrong path to libMonoPosixHelpe...
Status: NEW
Alias: None
Product: Objective Sharpie
Classification: Desktop
Component: General ()
Version: master
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Aaron Bockover [MSFT]
Depends on:
Reported: 2018-03-14 14:33 UTC by Gordon Langford
Modified: 2018-03-14 14:33 UTC (History)
0 users

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report for Bug 61264 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description Gordon Langford 2018-03-14 14:33:55 UTC

I am trying to bind the new PayPalRetailSDKv2.

I am using sharpie pod bind and it create the APIdefinitions, StuctsAndEnum and copies the framework files for the SimpleKeyChain 

However, for the PayPalHereSDKv2 framework it creates the APIdefinitions and StuctsAndEnum files then throws an exception when trying to find "libMonoPosixHelper.dylib" the reason for this is that is trying to find it in the parent folder as per the exception below. 

System.TypeInitializationException: The type initializer for 'Mono.Unix.Native.Syscall' threw an exception. ---> System.DllNotFoundException: /Library/Frameworks/ObjectiveSharpie.framework/Versions/3.4.0/../lib/libMonoPosixHelper.dylib

As this suggest it is looking for the libMonoPosixHelper.dylib. which is not in the parent folder of "ObjectiveSharpie.framework/Versions/3.4.0", when it is inside the folder this directory.


I can work around this for now by copying the libMonoPosixHelper.dylib into the parent folder but it needs fixed.

Once I move passed this issue I got the error: 

CocoaPodTest/Pods/PayPalHereSDKv2/frameworks/PPHR_BLE.framework/Headers/RUAFileVersionInfo.h:13:9: fatal error: 
      'LandiSDK_BLE/LDTmsFileVersionInfo.h' file not found
#import <LandiSDK_BLE/LDTmsFileVersionInfo.h>

Can sharpie pod bind understand framework imports like this or do i need the framework author to change there framework?