Skip to content

Commit

Permalink
Platform fix (#3)
Browse files Browse the repository at this point in the history
* Removed mutliplatform support from xcodeproj

* Fix indentation in Package.swift
  • Loading branch information
Steven0351 committed May 10, 2019
1 parent 53f73fb commit e5ddbf4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Package.swift
Expand Up @@ -4,9 +4,9 @@ import Foundation

func sources(at relativePath: String) -> [String] {
let currentDirectory = String(cString: getenv("PWD"))
return try! FileManager.default
.contentsOfDirectory(atPath: "\(currentDirectory)/\(relativePath)")
.filter { $0.contains(".swift") }
return try! FileManager.default
.contentsOfDirectory(atPath: "\(currentDirectory)/\(relativePath)")
.filter { $0.contains(".swift") }
}

let librarySources = sources(at: "SwiftyRequest")
Expand Down
4 changes: 2 additions & 2 deletions SwiftyRequest.xcodeproj/project.pbxproj
Expand Up @@ -398,7 +398,7 @@
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos macosx appletvsimulator appletvos watchsimulator watchos";
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
Expand Down Expand Up @@ -429,7 +429,7 @@
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos macosx appletvsimulator appletvos watchsimulator watchos";
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
VALID_ARCHS = "arm64 arm64e armv7 armv7s x86_64 i386";
Expand Down

0 comments on commit e5ddbf4

Please sign in to comment.