The Swift Package Index logo.Swift Package Index

Build Information

Failed to build UIRotationEffect, reference master (be51ed), with Swift 6.2 for macOS (SPM) on 18 Jun 2025 09:46:36 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DominicHolmes/UIRotationEffect.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/DominicHolmes/UIRotationEffect
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at be51edc typo
Cloned https://github.com/DominicHolmes/UIRotationEffect.git
Revision (git rev-parse @):
be51edc6a0970ad5c2867ba8ceba6617a4605711
SUCCESS checkout https://github.com/DominicHolmes/UIRotationEffect.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/DominicHolmes/UIRotationEffect.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module UIRotationEffect
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:5:18: error: cannot find type 'UIView' in scope
  3 | @available(iOS 13, *)
  4 | struct UIRotationView<Content: View>: UIViewRepresentable {
  5 |     let content: UIView
    |                  `- error: cannot find type 'UIView' in scope
  6 |     let angle: Angle
  7 |     let duration: TimeInterval?
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:9:18: error: cannot find type 'UIView' in scope
  7 |     let duration: TimeInterval?
  8 |     let delay: TimeInterval?
  9 |     let options: UIView.AnimationOptions?
    |                  `- error: cannot find type 'UIView' in scope
 10 |     let completion: ((Bool) -> Void)?
 11 |
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:6:16: error: 'Angle' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 13, *)
  4 | struct UIRotationView<Content: View>: UIViewRepresentable {
    |        `- note: add @available attribute to enclosing generic struct
  5 |     let content: UIView
  6 |     let angle: Angle
    |                `- error: 'Angle' is only available in macOS 10.15 or newer
  7 |     let duration: TimeInterval?
  8 |     let delay: TimeInterval?
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:16:42: error: cannot find type 'UIView' in scope
 14 |     }
 15 |
 16 |     func makeUIView(context: Context) -> UIView {
    |                                          `- error: cannot find type 'UIView' in scope
 17 |         content.transform = CGAffineTransform(rotationAngle: CGFloat(angle.radians))
 18 |         content.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:16:30: error: cannot find type 'Context' in scope
 14 |     }
 15 |
 16 |     func makeUIView(context: Context) -> UIView {
    |                              `- error: cannot find type 'Context' in scope
 17 |         content.transform = CGAffineTransform(rotationAngle: CGFloat(angle.radians))
 18 |         content.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:22:33: error: cannot find type 'UIView' in scope
 20 |     }
 21 |
 22 |     func updateUIView(_ uiView: UIView, context: Context) {
    |                                 `- error: cannot find type 'UIView' in scope
 23 |         UIView.animate(withDuration: duration ?? 0.25, delay: delay ?? 0.0, options: options ?? [], animations: {
 24 |             uiView.transform = CGAffineTransform(rotationAngle: CGFloat(self.angle.radians))
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:22:50: error: cannot find type 'Context' in scope
 20 |     }
 21 |
 22 |     func updateUIView(_ uiView: UIView, context: Context) {
    |                                                  `- error: cannot find type 'Context' in scope
 23 |         UIView.animate(withDuration: duration ?? 0.25, delay: delay ?? 0.0, options: options ?? [], animations: {
 24 |             uiView.transform = CGAffineTransform(rotationAngle: CGFloat(self.angle.radians))
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:4:39: error: cannot find type 'UIViewRepresentable' in scope
  2 |
  3 | @available(iOS 13, *)
  4 | struct UIRotationView<Content: View>: UIViewRepresentable {
    |                                       `- error: cannot find type 'UIViewRepresentable' in scope
  5 |     let content: UIView
  6 |     let angle: Angle
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:4:32: error: 'View' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 13, *)
  4 | struct UIRotationView<Content: View>: UIViewRepresentable {
    |        |                       `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing generic struct
  5 |     let content: UIView
  6 |     let angle: Angle
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:42:18: error: cannot find type 'UIView' in scope
 40 |     let duration: TimeInterval?
 41 |     let delay: TimeInterval?
 42 |     let options: UIView.AnimationOptions?
    |                  `- error: cannot find type 'UIView' in scope
 43 |     let completion: ((Bool) -> Void)?
 44 |
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:39:16: error: 'Angle' is only available in macOS 10.15 or newer
 36 |
 37 | @available(iOS 13, *)
 38 | struct UIRotationViewModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 39 |     let angle: Angle
    |                `- error: 'Angle' is only available in macOS 10.15 or newer
 40 |     let duration: TimeInterval?
 41 |     let delay: TimeInterval?
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:45:41: error: 'View' is only available in macOS 10.15 or newer
 36 |
 37 | @available(iOS 13, *)
 38 | struct UIRotationViewModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 39 |     let angle: Angle
 40 |     let duration: TimeInterval?
    :
 43 |     let completion: ((Bool) -> Void)?
 44 |
 45 |     func body(content: Content) -> some View {
    |          |                              `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 46 |         let c = UIHostingController(rootView: content).view
 47 |         return UIRotationView<Content>(content: c!, angle: angle, duration: duration, delay: delay, options: options, completion: completion)
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:53:111: error: cannot find type 'UIView' in scope
 51 | @available(iOS 13, *)
 52 | public extension View {
 53 |     func uiRotationEffect(_ angle: Angle, duration: TimeInterval? = nil, delay: TimeInterval? = nil, options: UIView.AnimationOptions? = nil, completion: ((Bool) -> Void)? = nil) -> some View {
    |                                                                                                               `- error: cannot find type 'UIView' in scope
 54 |         self.modifier(UIRotationViewModifier(angle: angle, duration: duration, delay: delay, options: options, completion: completion))
 55 |     }
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:53:36: error: 'Angle' is only available in macOS 10.15 or newer
 50 |
 51 | @available(iOS 13, *)
 52 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 53 |     func uiRotationEffect(_ angle: Angle, duration: TimeInterval? = nil, delay: TimeInterval? = nil, options: UIView.AnimationOptions? = nil, completion: ((Bool) -> Void)? = nil) -> some View {
    |          |                         `- error: 'Angle' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 54 |         self.modifier(UIRotationViewModifier(angle: angle, duration: duration, delay: delay, options: options, completion: completion))
 55 |     }
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:53:188: error: 'View' is only available in macOS 10.15 or newer
 50 |
 51 | @available(iOS 13, *)
 52 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 53 |     func uiRotationEffect(_ angle: Angle, duration: TimeInterval? = nil, delay: TimeInterval? = nil, options: UIView.AnimationOptions? = nil, completion: ((Bool) -> Void)? = nil) -> some View {
    |          |                                                                                                                                                                                 `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 54 |         self.modifier(UIRotationViewModifier(angle: angle, duration: duration, delay: delay, options: options, completion: completion))
 55 |     }
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:52:18: error: 'View' is only available in macOS 10.15 or newer
 50 |
 51 | @available(iOS 13, *)
 52 | public extension View {
    |        |         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing extension
 53 |     func uiRotationEffect(_ angle: Angle, duration: TimeInterval? = nil, delay: TimeInterval? = nil, options: UIView.AnimationOptions? = nil, completion: ((Bool) -> Void)? = nil) -> some View {
 54 |         self.modifier(UIRotationViewModifier(angle: angle, duration: duration, delay: delay, options: options, completion: completion))
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:62:31: error: 'View' is only available in macOS 10.15 or newer
 58 | // Example
 59 | @available(iOS 13, *)
 60 | struct UIRotationView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
 61 |
 62 |     static var previews: some View {
    |                |              `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
 63 |         RotationExampleContentView()
 64 |     }
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:68:35: error: 'Angle' is only available in macOS 10.15 or newer
 64 |     }
 65 |
 66 |     struct RotationExampleContentView: View {
    |            `- note: add @available attribute to enclosing struct
 67 |
 68 |         @State private var angle: Angle = .degrees(340)
    |                                   `- error: 'Angle' is only available in macOS 10.15 or newer
 69 |
 70 |         var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:68:10: error: 'State' is only available in macOS 10.15 or newer
 64 |     }
 65 |
 66 |     struct RotationExampleContentView: View {
    |            |- note: add @available attribute to enclosing struct
    |            `- note: add @available attribute to enclosing struct
 67 |
 68 |         @State private var angle: Angle = .degrees(340)
    |          `- error: 'State' is only available in macOS 10.15 or newer
 69 |
 70 |         var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:70:24: error: 'View' is only available in macOS 10.15 or newer
 64 |     }
 65 |
 66 |     struct RotationExampleContentView: View {
    |            `- note: add @available attribute to enclosing struct
 67 |
 68 |         @State private var angle: Angle = .degrees(340)
 69 |
 70 |         var body: some View {
    |             |          `- error: 'View' is only available in macOS 10.15 or newer
    |             `- note: add @available attribute to enclosing property
 71 |             VStack {
 72 |                 Spacer()
[4/4] Compiling UIRotationEffect UIRotationEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:5:18: error: cannot find type 'UIView' in scope
  3 | @available(iOS 13, *)
  4 | struct UIRotationView<Content: View>: UIViewRepresentable {
  5 |     let content: UIView
    |                  `- error: cannot find type 'UIView' in scope
  6 |     let angle: Angle
  7 |     let duration: TimeInterval?
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:9:18: error: cannot find type 'UIView' in scope
  7 |     let duration: TimeInterval?
  8 |     let delay: TimeInterval?
  9 |     let options: UIView.AnimationOptions?
    |                  `- error: cannot find type 'UIView' in scope
 10 |     let completion: ((Bool) -> Void)?
 11 |
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:6:16: error: 'Angle' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 13, *)
  4 | struct UIRotationView<Content: View>: UIViewRepresentable {
    |        `- note: add @available attribute to enclosing generic struct
  5 |     let content: UIView
  6 |     let angle: Angle
    |                `- error: 'Angle' is only available in macOS 10.15 or newer
  7 |     let duration: TimeInterval?
  8 |     let delay: TimeInterval?
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:16:42: error: cannot find type 'UIView' in scope
 14 |     }
 15 |
 16 |     func makeUIView(context: Context) -> UIView {
    |                                          `- error: cannot find type 'UIView' in scope
 17 |         content.transform = CGAffineTransform(rotationAngle: CGFloat(angle.radians))
 18 |         content.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:16:30: error: cannot find type 'Context' in scope
 14 |     }
 15 |
 16 |     func makeUIView(context: Context) -> UIView {
    |                              `- error: cannot find type 'Context' in scope
 17 |         content.transform = CGAffineTransform(rotationAngle: CGFloat(angle.radians))
 18 |         content.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:22:33: error: cannot find type 'UIView' in scope
 20 |     }
 21 |
 22 |     func updateUIView(_ uiView: UIView, context: Context) {
    |                                 `- error: cannot find type 'UIView' in scope
 23 |         UIView.animate(withDuration: duration ?? 0.25, delay: delay ?? 0.0, options: options ?? [], animations: {
 24 |             uiView.transform = CGAffineTransform(rotationAngle: CGFloat(self.angle.radians))
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:22:50: error: cannot find type 'Context' in scope
 20 |     }
 21 |
 22 |     func updateUIView(_ uiView: UIView, context: Context) {
    |                                                  `- error: cannot find type 'Context' in scope
 23 |         UIView.animate(withDuration: duration ?? 0.25, delay: delay ?? 0.0, options: options ?? [], animations: {
 24 |             uiView.transform = CGAffineTransform(rotationAngle: CGFloat(self.angle.radians))
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:4:39: error: cannot find type 'UIViewRepresentable' in scope
  2 |
  3 | @available(iOS 13, *)
  4 | struct UIRotationView<Content: View>: UIViewRepresentable {
    |                                       `- error: cannot find type 'UIViewRepresentable' in scope
  5 |     let content: UIView
  6 |     let angle: Angle
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:4:32: error: 'View' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 13, *)
  4 | struct UIRotationView<Content: View>: UIViewRepresentable {
    |        |                       `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing generic struct
  5 |     let content: UIView
  6 |     let angle: Angle
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:42:18: error: cannot find type 'UIView' in scope
 40 |     let duration: TimeInterval?
 41 |     let delay: TimeInterval?
 42 |     let options: UIView.AnimationOptions?
    |                  `- error: cannot find type 'UIView' in scope
 43 |     let completion: ((Bool) -> Void)?
 44 |
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:39:16: error: 'Angle' is only available in macOS 10.15 or newer
 36 |
 37 | @available(iOS 13, *)
 38 | struct UIRotationViewModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 39 |     let angle: Angle
    |                `- error: 'Angle' is only available in macOS 10.15 or newer
 40 |     let duration: TimeInterval?
 41 |     let delay: TimeInterval?
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:45:41: error: 'View' is only available in macOS 10.15 or newer
 36 |
 37 | @available(iOS 13, *)
 38 | struct UIRotationViewModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 39 |     let angle: Angle
 40 |     let duration: TimeInterval?
    :
 43 |     let completion: ((Bool) -> Void)?
 44 |
 45 |     func body(content: Content) -> some View {
    |          |                              `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 46 |         let c = UIHostingController(rootView: content).view
 47 |         return UIRotationView<Content>(content: c!, angle: angle, duration: duration, delay: delay, options: options, completion: completion)
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:53:111: error: cannot find type 'UIView' in scope
 51 | @available(iOS 13, *)
 52 | public extension View {
 53 |     func uiRotationEffect(_ angle: Angle, duration: TimeInterval? = nil, delay: TimeInterval? = nil, options: UIView.AnimationOptions? = nil, completion: ((Bool) -> Void)? = nil) -> some View {
    |                                                                                                               `- error: cannot find type 'UIView' in scope
 54 |         self.modifier(UIRotationViewModifier(angle: angle, duration: duration, delay: delay, options: options, completion: completion))
 55 |     }
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:53:36: error: 'Angle' is only available in macOS 10.15 or newer
 50 |
 51 | @available(iOS 13, *)
 52 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 53 |     func uiRotationEffect(_ angle: Angle, duration: TimeInterval? = nil, delay: TimeInterval? = nil, options: UIView.AnimationOptions? = nil, completion: ((Bool) -> Void)? = nil) -> some View {
    |          |                         `- error: 'Angle' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 54 |         self.modifier(UIRotationViewModifier(angle: angle, duration: duration, delay: delay, options: options, completion: completion))
 55 |     }
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:53:188: error: 'View' is only available in macOS 10.15 or newer
 50 |
 51 | @available(iOS 13, *)
 52 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 53 |     func uiRotationEffect(_ angle: Angle, duration: TimeInterval? = nil, delay: TimeInterval? = nil, options: UIView.AnimationOptions? = nil, completion: ((Bool) -> Void)? = nil) -> some View {
    |          |                                                                                                                                                                                 `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 54 |         self.modifier(UIRotationViewModifier(angle: angle, duration: duration, delay: delay, options: options, completion: completion))
 55 |     }
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:52:18: error: 'View' is only available in macOS 10.15 or newer
 50 |
 51 | @available(iOS 13, *)
 52 | public extension View {
    |        |         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing extension
 53 |     func uiRotationEffect(_ angle: Angle, duration: TimeInterval? = nil, delay: TimeInterval? = nil, options: UIView.AnimationOptions? = nil, completion: ((Bool) -> Void)? = nil) -> some View {
 54 |         self.modifier(UIRotationViewModifier(angle: angle, duration: duration, delay: delay, options: options, completion: completion))
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:62:31: error: 'View' is only available in macOS 10.15 or newer
 58 | // Example
 59 | @available(iOS 13, *)
 60 | struct UIRotationView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
 61 |
 62 |     static var previews: some View {
    |                |              `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
 63 |         RotationExampleContentView()
 64 |     }
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:68:35: error: 'Angle' is only available in macOS 10.15 or newer
 64 |     }
 65 |
 66 |     struct RotationExampleContentView: View {
    |            `- note: add @available attribute to enclosing struct
 67 |
 68 |         @State private var angle: Angle = .degrees(340)
    |                                   `- error: 'Angle' is only available in macOS 10.15 or newer
 69 |
 70 |         var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:68:10: error: 'State' is only available in macOS 10.15 or newer
 64 |     }
 65 |
 66 |     struct RotationExampleContentView: View {
    |            |- note: add @available attribute to enclosing struct
    |            `- note: add @available attribute to enclosing struct
 67 |
 68 |         @State private var angle: Angle = .degrees(340)
    |          `- error: 'State' is only available in macOS 10.15 or newer
 69 |
 70 |         var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:70:24: error: 'View' is only available in macOS 10.15 or newer
 64 |     }
 65 |
 66 |     struct RotationExampleContentView: View {
    |            `- note: add @available attribute to enclosing struct
 67 |
 68 |         @State private var angle: Angle = .degrees(340)
 69 |
 70 |         var body: some View {
    |             |          `- error: 'View' is only available in macOS 10.15 or newer
    |             `- note: add @available attribute to enclosing property
 71 |             VStack {
 72 |                 Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:18:36: error: cannot infer contextual base in reference to member 'clear'
 16 |     func makeUIView(context: Context) -> UIView {
 17 |         content.transform = CGAffineTransform(rotationAngle: CGFloat(angle.radians))
 18 |         content.backgroundColor = .clear
    |                                    `- error: cannot infer contextual base in reference to member 'clear'
 19 |         return content
 20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:23:9: error: cannot find 'UIView' in scope
 21 |
 22 |     func updateUIView(_ uiView: UIView, context: Context) {
 23 |         UIView.animate(withDuration: duration ?? 0.25, delay: delay ?? 0.0, options: options ?? [], animations: {
    |         `- error: cannot find 'UIView' in scope
 24 |             uiView.transform = CGAffineTransform(rotationAngle: CGFloat(self.angle.radians))
 25 |         }, completion: completion)
/Users/admin/builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:46:17: error: cannot find 'UIHostingController' in scope
 44 |
 45 |     func body(content: Content) -> some View {
 46 |         let c = UIHostingController(rootView: content).view
    |                 `- error: cannot find 'UIHostingController' in scope
 47 |         return UIRotationView<Content>(content: c!, angle: angle, duration: duration, delay: delay, options: options, completion: completion)
 48 |     }
BUILD FAILURE 6.2 macosSpm