Skip to content

Commit

Permalink
Merge pull request #21 from thefuntasty/hotfix/ios-scheme-imports
Browse files Browse the repository at this point in the history
Hotfix: iOS scheme imports
  • Loading branch information
mkj-is authored Mar 11, 2019
2 parents 0c1dc81 + e84664e commit 5d01fb5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 4 additions & 1 deletion FTAPIKit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ Pod::Spec.new do |s|
s.tvos.deployment_target = "9.0"
s.source = { :git => "https://github.com/thefuntasty/FTAPIKit.git", :tag => s.version.to_s }
s.source_files = "Sources/**/*"
s.frameworks = "Foundation"
s.framework = "Foundation"
s.ios.framework = "MobileCoreServices"
s.tvos.framework = "MobileCoreServices"
s.watchos.framework = "MobileCoreServices"

s.subspec 'PromiseKit' do |ss|
ss.source_files = Dir['Extensions/PromiseKit/*']
Expand Down
5 changes: 0 additions & 5 deletions Sources/MultipartFormData.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@
//

import Foundation
#if os(iOS) || os(watchOS) || os(tvOS)
import MobileCoreServices
#elseif os(macOS)
import CoreServices
#endif

struct MultipartFormData {

Expand Down
3 changes: 3 additions & 0 deletions Sources/URL+APIAdapter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
//

import Foundation
#if os(iOS) || os(watchOS) || os(tvOS)
import MobileCoreServices
#endif

extension URL {
mutating func appendQuery(parameters: [String: String]) {
Expand Down

0 comments on commit 5d01fb5

Please sign in to comment.