[registrar] Don't skip CoreNFC types. (#3332)
It seems Apple started shipping CoreNFC headers some time (in a later beta) after we first implemented (which was Xcode 9 beta 1). Xcode 9.0, 9.1 and 9.2 all contain the exact same NFC headers (CoreNFC was introduced with Xcode), so no version checks should be needed when removing this exclusion.
This commit is contained in:
Родитель
779dffcb7c
Коммит
b3bb59d42b
|
@ -1950,11 +1950,10 @@ namespace XamCore.Registrar {
|
||||||
header.WriteLine ("#import <WatchKit/WatchKit.h>");
|
header.WriteLine ("#import <WatchKit/WatchKit.h>");
|
||||||
namespaces.Add ("UIKit");
|
namespaces.Add ("UIKit");
|
||||||
return;
|
return;
|
||||||
case "CoreNFC":
|
|
||||||
case "DeviceCheck":
|
case "DeviceCheck":
|
||||||
#if !MONOMAC
|
#if !MONOMAC
|
||||||
if (IsSimulator)
|
if (IsSimulator)
|
||||||
return; // No headers provided for simulator, which makes sense since there is no NFC on it.
|
return; // No headers provided for simulator
|
||||||
#endif
|
#endif
|
||||||
goto default;
|
goto default;
|
||||||
case "QTKit":
|
case "QTKit":
|
||||||
|
|
Загрузка…
Ссылка в новой задаче