瀏覽代碼

Exclude i386 in addition to armv7. (#166)

Peter Andrews 3 年之前
父節點
當前提交
c455218557

+ 2 - 2
GoogleSignInSwift/Sources/GoogleSignInButton.swift

@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-#if !arch(arm)
+#if !arch(arm) && !arch(i386)
 
 import SwiftUI
 import CoreGraphics
@@ -194,4 +194,4 @@ private extension Font {
   }
 }
 
-#endif // !arch(arm)
+#endif // !arch(arm) && !arch(i386)

+ 2 - 2
GoogleSignInSwift/Sources/GoogleSignInButtonBundleExtensions.swift

@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-#if !arch(arm)
+#if !arch(arm) && !arch(i386)
 
 import Foundation
 
@@ -65,4 +65,4 @@ extension Bundle {
   }
 }
 
-#endif // !arch(arm)
+#endif // !arch(arm) && !arch(i386)

+ 2 - 2
GoogleSignInSwift/Sources/GoogleSignInButtonStrings.swift

@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-#if !arch(arm)
+#if !arch(arm) && !arch(i386)
 
 import Foundation
 
@@ -59,4 +59,4 @@ struct GoogleSignInButtonString {
   }
 }
 
-#endif // !arch(arm)
+#endif // !arch(arm) && !arch(i386)

+ 2 - 2
GoogleSignInSwift/Sources/GoogleSignInButtonStyling.swift

@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-#if !arch(arm)
+#if !arch(arm) && !arch(i386)
 
 import SwiftUI
 
@@ -283,4 +283,4 @@ struct SwiftUIButtonStyle: ButtonStyle {
   }
 }
 
-#endif // !arch(arm)
+#endif // !arch(arm) && !arch(i386)

+ 2 - 2
GoogleSignInSwift/Sources/GoogleSignInButtonViewModel.swift

@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-#if !arch(arm)
+#if !arch(arm) && !arch(i386)
 
 import Combine
 
@@ -50,4 +50,4 @@ public class GoogleSignInButtonViewModel: ObservableObject {
   }
 }
 
-#endif // !arch(arm)
+#endif // !arch(arm) && !arch(i386)