[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:
Rolf Bjarne Kvinge 2018-01-29 11:09:18 +01:00 коммит произвёл GitHub
Родитель 779dffcb7c
Коммит b3bb59d42b
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -1950,11 +1950,10 @@ namespace XamCore.Registrar {
header.WriteLine ("#import <WatchKit/WatchKit.h>");
namespaces.Add ("UIKit");
return;
case "CoreNFC":
case "DeviceCheck":
#if !MONOMAC
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
goto default;
case "QTKit":