diff --git a/Examples/APIGateway+LambdaAuthorizer/Package.swift b/Examples/APIGateway+LambdaAuthorizer/Package.swift index 1373758e..03117835 100644 --- a/Examples/APIGateway+LambdaAuthorizer/Package.swift +++ b/Examples/APIGateway+LambdaAuthorizer/Package.swift @@ -5,12 +5,6 @@ import PackageDescription // needed for CI to test the local version of the library import struct Foundation.URL -#if os(macOS) -let platforms: [PackageDescription.SupportedPlatform]? = [.macOS(.v15)] -#else -let platforms: [PackageDescription.SupportedPlatform]? = nil -#endif - let package = Package( name: "swift-aws-lambda-runtime-example", platforms: [.macOS(.v15)], diff --git a/Examples/HelloJSON/Package.swift b/Examples/HelloJSON/Package.swift index 506f0678..4ec236fd 100644 --- a/Examples/HelloJSON/Package.swift +++ b/Examples/HelloJSON/Package.swift @@ -5,15 +5,9 @@ import PackageDescription // needed for CI to test the local version of the library import struct Foundation.URL -#if os(macOS) -let platforms: [PackageDescription.SupportedPlatform]? = [.macOS(.v15)] -#else -let platforms: [PackageDescription.SupportedPlatform]? = nil -#endif - let package = Package( name: "swift-aws-lambda-runtime-example", - platforms: platforms, + platforms: [.macOS(.v15)], products: [ .executable(name: "HelloJSON", targets: ["HelloJSON"]) ],