Skip to content

Commit 90c40e4

Browse files
authored
Merge pull request #464 from DruideInformatiqueInc/fix-tvos-supported-platform
Fix SUPPORTED_PLATFORMS for tvOS
2 parents 3a03cca + ad95d49 commit 90c40e4

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ All notable changes to this project will be documented in this file. Changes not
3939
- Fix compiler warnings in Socket+File.swift for iOS, tvOS, and Linux platforms by using `withUnsafeBytes` rather than `&` to get a scoped UnsafeRawPointer ([#445](https://github.com/httpswift/swifter/pull/445)) by [@kbongort](https://github.com/kbongort).
4040
- Fix tests on linux by importing FoundationNetworking for NSURLSession APIs. ([#446](https://github.com/httpswift/swifter/pull/446)) by [@kbongort](https://github.com/kbongort)
4141
- Replace CircleCI for continuous integration in favor of Github Actions. ([#446](https://github.com/httpswift/swifter/pull/446)) by [@Vkt0r](https://github.com/Vkt0r)
42+
- Fix `SUPPORTED_PLATFORMS` for tvOS. This helps Carthage to build only the specified platform when the option `--platform` is used. ([#464](https://github.com/httpswift/swifter/pull/464)) by [@jasminlapalme](https://github.com/jasminlapalme)
4243

4344
# [1.4.7]
4445

XCode/Swifter.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,6 +1038,7 @@
10381038
PRODUCT_NAME = "$(TARGET_NAME)";
10391039
PROVISIONING_PROFILE_SPECIFIER = "";
10401040
SDKROOT = appletvos;
1041+
SUPPORTED_PLATFORMS = "appletvos appletvsimulator";
10411042
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
10421043
SWIFT_VERSION = 5.0;
10431044
TARGETED_DEVICE_FAMILY = 3;
@@ -1067,6 +1068,7 @@
10671068
PRODUCT_NAME = "$(TARGET_NAME)";
10681069
PROVISIONING_PROFILE_SPECIFIER = "";
10691070
SDKROOT = appletvos;
1071+
SUPPORTED_PLATFORMS = "appletvos appletvsimulator";
10701072
SWIFT_VERSION = 5.0;
10711073
TARGETED_DEVICE_FAMILY = 3;
10721074
TVOS_DEPLOYMENT_TARGET = 12.1;
@@ -1095,6 +1097,7 @@
10951097
PRODUCT_NAME = Swifter;
10961098
SDKROOT = appletvos;
10971099
SKIP_INSTALL = YES;
1100+
SUPPORTED_PLATFORMS = "appletvos appletvsimulator";
10981101
SWIFT_VERSION = 5.0;
10991102
TARGETED_DEVICE_FAMILY = 3;
11001103
TVOS_DEPLOYMENT_TARGET = 9.0;
@@ -1126,6 +1129,7 @@
11261129
PRODUCT_NAME = Swifter;
11271130
SDKROOT = appletvos;
11281131
SKIP_INSTALL = YES;
1132+
SUPPORTED_PLATFORMS = "appletvos appletvsimulator";
11291133
SWIFT_VERSION = 5.0;
11301134
TARGETED_DEVICE_FAMILY = 3;
11311135
TVOS_DEPLOYMENT_TARGET = 9.0;

0 commit comments

Comments
 (0)