Skip to content

Commit

Permalink
Fix encodeWithCoder not found
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentDondain committed Jan 10, 2018
1 parent d9ce8eb commit 0f00cb1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/mapkit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -280,11 +280,14 @@ interface MKDirectionsRequest {
[TV (9,2)]
[Mac (10,9, onlyOn64 : true)]
interface MKMapItem
#if !MONOMAC
: NSSecureCoding
#if IOS // #if TARGET_OS_IOS
, NSItemProviderReading, NSItemProviderWriting
: NSItemProviderReading, NSItemProviderWriting
#if ARCH_64 // [FAIL] Selector not found for MapKit.MKMapItem : encodeWithCoder: on 32-bit iOS
, NSSecureCoding
#endif
#endif
#if WATCH || TVOS || MONOMAC && ARCH_64
: NSSecureCoding
#endif
{
[Export ("placemark", ArgumentSemantic.Retain)]
Expand Down

0 comments on commit 0f00cb1

Please sign in to comment.