diff --git a/Sources/NSTask+AnyPromise.h b/Sources/NSTask+AnyPromise.h index 29c2c03..6036897 100644 --- a/Sources/NSTask+AnyPromise.h +++ b/Sources/NSTask+AnyPromise.h @@ -1,4 +1,4 @@ -#if TARGET_OS_MAC && !TARGET_OS_EMBEDDED && !TARGET_OS_SIMULATOR +#if TARGET_OS_MAC && !TARGET_OS_EMBEDDED && !TARGET_OS_SIMULATOR && !TARGET_OS_UIKITFORMAC #import #import diff --git a/Sources/NSTask+AnyPromise.m b/Sources/NSTask+AnyPromise.m index beae277..fa291d3 100644 --- a/Sources/NSTask+AnyPromise.m +++ b/Sources/NSTask+AnyPromise.m @@ -4,7 +4,7 @@ #import #import -#if TARGET_OS_MAC && !TARGET_OS_EMBEDDED && !TARGET_OS_SIMULATOR +#if TARGET_OS_MAC && !TARGET_OS_EMBEDDED && !TARGET_OS_SIMULATOR && !TARGET_OS_UIKITFORMAC #import "NSTask+AnyPromise.h"