Skip to content

Commit

Permalink
Exclude several modules from watchOS builds
Browse files Browse the repository at this point in the history
  • Loading branch information
taflanidi committed Apr 14, 2023
1 parent 561c5c1 commit ab2c9a0
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Created by Jeorge Taflanidi
//

#if canImport(SwiftUI) && canImport(UIKit)
#if canImport(SwiftUI) && canImport(UIKit) && !os(watchOS)

import UIKit
import SwiftUI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Created by Jeorge Taflanidi
//

#if canImport(SwiftUI)
#if canImport(SwiftUI) && !os(watchOS)

import SwiftUI

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Created by Jeorge Taflanidi
//

#if canImport(UIKit) && canImport(Foundation)
#if canImport(UIKit) && canImport(Foundation) && !os(watchOS)

import Foundation
import UIKit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Created by Jeorge Taflanidi
//

#if canImport(UIKit) && canImport(Foundation)
#if canImport(UIKit) && canImport(Foundation) && !os(watchOS)

import Foundation
import UIKit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Created by Jeorge Taflanidi
//

#if canImport(UIKit) && canImport(Foundation)
#if canImport(UIKit) && canImport(Foundation) && !os(watchOS)

import Foundation

Expand Down
2 changes: 1 addition & 1 deletion Source/InputMask/InputMask/Classes/View/UITextInput.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Created by Jeorge Taflanidi
//

#if canImport(UIKit) && canImport(Foundation)
#if canImport(UIKit) && canImport(Foundation) && !os(watchOS)

import Foundation
import UIKit
Expand Down

0 comments on commit ab2c9a0

Please sign in to comment.