Bug 41286 - Binding HockeyApp Framework for OS X missed main API types with latest
Summary: Binding HockeyApp Framework for OS X missed main API types with latest
Alias: None
Product: Objective Sharpie
Classification: Desktop
Component: General ()
Version: 2.1.3
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Aaron Bockover [MSFT]
Depends on:
Reported: 2016-05-24 13:50 UTC by Chris Hamons
Modified: 2016-06-14 00:45 UTC (History)
1 user (show)

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 on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Chris Hamons 2016-05-24 13:50:07 UTC
Steps to reproduce:
1) Download HockeySDK.framework
2) rm ApiDefinitions.cs && sharpie bind -framework HockeySDK.framework -sdk macosx10.11 && cat ApiDefinitions.cs | grep BITHockeyManager
Comment 2 Aaron Bockover [MSFT] 2016-06-01 02:53:57 UTC
This is fixed in 3.1.
Comment 3 Brian Donovan-Smith 2016-06-14 00:45:21 UTC
Unfortunately, this has not been resolved.

I am currently running with version `3.1.7p 7e78490 7e784906d05deb3ef3900d3a4029da4384f00fb4 2016-05-31 21:48:33` and the output excludes significant details.

I am comparing the out that Chris has produced from a previous release of sharpie.  
This is the first interface I would expect from the ApiDefinitions file.

// @interface BITHockeyManager : NSObject
	[BaseType (typeof (NSObject))]
	interface BITHockeyManager
		// +(BITHockeyManager *)sharedHockeyManager;
		[Export ("sharedHockeyManager")]
		//[Verify (MethodToProperty)]
		BITHockeyManager SharedHockeyManager { get; }

		// -(void)configureWithIdentifier:(NSString *)appIdentifier;
		[Export ("configureWithIdentifier:")]
		void ConfigureWithIdentifier (string appIdentifier);

		// -(void)configureWithIdentifier:(NSString *)appIdentifier delegate:(id<BITHockeyManagerDelegate>)delegate;
		[Export ("configureWithIdentifier:delegate:")]
		void ConfigureWithIdentifier (string appIdentifier, BITHockeyManagerDelegate @delegate);

		// -(void)configureWithIdentifier:(NSString *)appIdentifier companyName:(NSString *)companyName delegate:(id<BITHockeyManagerDelegate>)delegate __attribute__((deprecated("Use configureWithIdentifier:delegate: instead")));
		[Export ("configureWithIdentifier:companyName:delegate:")]
		void ConfigureWithIdentifier (string appIdentifier, string companyName, BITHockeyManagerDelegate @delegate);

		// -(void)startManager;
		[Export ("startManager")]
		void StartManager ();

		[Wrap ("WeakDelegate")]
		BITHockeyManagerDelegate Delegate { get; set; }

		// @property (nonatomic, unsafe_unretained) id<BITHockeyManagerDelegate> delegate;
		[NullAllowed, Export ("delegate", ArgumentSemantic.Assign)]
		NSObject WeakDelegate { get; set; }

		// @property (nonatomic, strong) NSString * serverURL;
		[Export ("serverURL", ArgumentSemantic.Strong)]
		string ServerURL { get; set; }

		// @property (readonly, nonatomic, strong) BITCrashManager * crashManager;
		[Export ("crashManager", ArgumentSemantic.Strong)]
		BITCrashManager CrashManager { get; }

		// @property (getter = isCrashManagerDisabled, nonatomic) BOOL disableCrashManager;
		[Export ("disableCrashManager")]
		bool DisableCrashManager { [Bind ("isCrashManagerDisabled")] get; set; }

		// @property (readonly, nonatomic, strong) BITFeedbackManager * feedbackManager;
		[Export ("feedbackManager", ArgumentSemantic.Strong)]
		BITFeedbackManager FeedbackManager { get; }

		// @property (getter = isFeedbackManagerDisabled, nonatomic) BOOL disableFeedbackManager;
		[Export ("disableFeedbackManager")]
		bool DisableFeedbackManager { [Bind ("isFeedbackManagerDisabled")] get; set; }

		// @property (readonly, nonatomic, strong) BITMetricsManager * metricsManager;
		[Export ("metricsManager", ArgumentSemantic.Strong)]
		BITMetricsManager MetricsManager { get; }

		// @property (getter = isMetricsManagerDisabled, nonatomic) BOOL disableMetricsManager;
		[Export ("disableMetricsManager")]
		bool DisableMetricsManager { [Bind ("isMetricsManagerDisabled")] get; set; }

		// -(void)setUserID:(NSString *)userID;
		[Export ("setUserID:")]
		void SetUserID (string userID);

		// -(void)setUserName:(NSString *)userName;
		[Export ("setUserName:")]
		void SetUserName (string userName);

		// -(void)setUserEmail:(NSString *)userEmail;
		[Export ("setUserEmail:")]
		void SetUserEmail (string userEmail);

		// @property (getter = isDebugLogEnabled, assign, nonatomic) BOOL debugLogEnabled;
		[Export ("debugLogEnabled")]
		bool DebugLogEnabled { [Bind ("isDebugLogEnabled")] get; set; }

		// -(void)testIdentifier;
		[Export ("testIdentifier")]
		void TestIdentifier ();