{"id":278407,"date":"2021-01-13T06:12:21","date_gmt":"2021-01-12T22:12:21","guid":{"rendered":"http:\/\/4563.org\/?p=278407"},"modified":"2021-01-13T06:12:21","modified_gmt":"2021-01-12T22:12:21","slug":"macos-%e7%bc%96%e8%af%91%e6%97%b6%e9%81%87%e5%88%b0%e7%9a%84-nsitemprovider-%e5%a4%b4%e6%96%87%e4%bb%b6%e6%89%be%e4%b8%8d%e5%88%b0%e9%94%99%e8%af%af","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=278407","title":{"rendered":"macOS \u7f16\u8bd1\u65f6\u9047\u5230\u7684 NSItemProvider \u5934\u6587\u4ef6\u627e\u4e0d\u5230\u9519\u8bef"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  macOS \u7f16\u8bd1\u65f6\u9047\u5230\u7684 NSItemProvider \u5934\u6587\u4ef6\u627e\u4e0d\u5230\u9519\u8bef               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : northeastwolf <\/span>  <span><i><\/i> 1<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\">                        \u5404\u4f4d\u8001\u54e5\u4e0d\u77e5\u9053\u6709\u6ca1\u6709\u9047\u5230\u8fc7\u8fd9\u79cd\u95ee\u9898\uff0c\u7f16\u8bd1 android \u65f6\u62a5 sdk \u5934\u6587\u4ef6\u9519\u8bef<br \/>\u8fd9\u91cc\u6709\u4e2a\u4e00\u6a21\u4e00\u6837\u7684\u95ee\u9898 \u4f46\u662f\u6ca1\u6709\u770b\u5230\u89e3\u51b3\u65b9\u6cd5<br \/>https:\/\/mametesters.org\/view.php?id=7746&amp;nbn=13#bugnotes<\/p>\n<p>\u5177\u4f53\u62a5\u9519 log \u5982\u4e0b\uff1a<br \/>..\/..\/..\/..\/..\/..\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX10.15.sdk\/System\/Library\/Frameworks\/AppKit.framework\/Headers\/NSViewController.h:247:39: error: unknown type name &#8216;NSExtensionContext&#8217;; did you mean &#8216;NSAnimationContext&#8217;?<br \/>@property (nullable, readonly,retain) NSExtensionContext *extensionContext API_AVAILABLE(macos(10.10));<br \/> ^<br \/>..\/..\/..\/..\/..\/..\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX10.15.sdk\/System\/Library\/Frameworks\/AppKit.framework\/Headers\/NSAnimationContext.h:18:12: note: &#8216;NSAnimationContext&#8217; declared here<br \/>@interface NSAnimationContext : NSObject<br \/> ^<br \/>In file included from external\/libchrome\/base\/mac\/sdk_forward_declarations.mm:5:<br \/>In file included from external\/libchrome\/base\/mac\/sdk_forward_declarations.h:14:<br \/>In file included from ..\/..\/..\/..\/..\/..\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX10.15.sdk\/System\/Library\/Frameworks\/AppKit.framework\/Headers\/AppKit.h:99:<br \/>In file included from ..\/..\/..\/..\/..\/..\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX10.15.sdk\/System\/Library\/Frameworks\/AppKit.framework\/Headers\/NSSharingServicePickerTouchBarItem.h:9:<br \/>..\/..\/..\/..\/..\/..\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX10.15.sdk\/System\/Library\/Frameworks\/AppKit.framework\/Headers\/NSSharingService.h:182:119: error: expected a type<br \/>&#8211; (NSCloudKitSharingServiceOptions)optionsForSharingService:(NSSharingService *)cloudKitSharingService shareProvider:(NSItemProvider *)provider;<br \/> ^<br \/>..\/..\/..\/..\/..\/..\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX10.15.sdk\/System\/Library\/Frameworks\/AppKit.framework\/Headers\/NSSharingService.h:197:12: error: cannot find interface declaration for &#8216;NSItemProvider&#8217;<br \/>@interface NSItemProvider (NSCloudKitSharing)<br \/> ^<br \/>In file included from external\/libchrome\/base\/mac\/sdk_forward_declarations.mm:5:<br \/>In file included from external\/libchrome\/base\/mac\/sdk_forward_declarations.h:14:<br \/>In file included from ..\/..\/..\/..\/..\/..\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX10.15.sdk\/System\/Library\/Frameworks\/AppKit.framework\/Headers\/AppKit.h:250:<br \/>..\/..\/..\/..\/..\/..\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX10.15.sdk\/System\/Library\/Frameworks\/AppKit.framework\/Headers\/NSItemProvider.h:16:12: error: cannot find interface declaration for &#8216;NSItemProvider&#8217;<br \/>@interface NSItemProvider (NSItemSourceInfo)      <\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>3<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4926318\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : northeastwolf <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6ca1\u6709\u54ea\u4f4d\u5927\u4f6c\u9047\u5230\u8fc7\u8fd9\u4e2a\u95ee\u9898\u5417\uff1f..                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4926319\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : 1847bell <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u8fd9\u4e2a\u5934\u50cf\u8ddf\u6211\u5fae\u4fe1\u4e00\u6837\uff0c\u6211\u7a81\u7136\u4ee5\u4e3a\u6211\u81ea\u5df1\u4ec0\u4e48\u65f6\u5019\u5728 V2 \u53d1\u4e86\u4e2a\u5e16\u5b50                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4926320\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : northeastwolf <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @1847bell \u54c8\u54c8\u6211\u7684\u5fae\u4fe1\u5934\u50cf\u8ddf\u8fd9\u4e2a\u8fd8\u4e0d\u4e00\u6837<br \/>\u6240\u4ee5\u5927\u4f6c\u6709\u6ca1\u6709\u9047\u5230\u8fc7\u8fd9\u79cd\u7f16\u8bd1\u95ee\u9898\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>macOS \u7f16\u8bd1\u65f6\u9047\u5230\u7684 NSIt&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/278407"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=278407"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/278407\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=278407"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=278407"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=278407"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}