Build Information
Failed to build Unscreenshottable, reference 1.1.1 (cd8612), with Swift 6.4 for macOS (SPM) on 20 Sep 2026 20:51:26 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/markiv/SwiftUI-Unscreenshottable.git
Reference: 1.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/markiv/SwiftUI-Unscreenshottable
* tag 1.1.1 -> FETCH_HEAD
HEAD is now at cd8612f Support screen rotation
Cloned https://github.com/markiv/SwiftUI-Unscreenshottable.git
Revision (git rev-parse @):
cd8612f7239c4c5a1667759353b1815b39413079
SUCCESS checkout https://github.com/markiv/SwiftUI-Unscreenshottable.git at 1.1.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/markiv/SwiftUI-Unscreenshottable.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] Unscreenshottable
[30 / 97]
[33 / 97]
[41 / 97]
[43 / 97]
[44 / 97]
[49 / 97]
[51 / 97]
[53 / 97]
[56 / 97]
[61 / 97]
[64 / 97]
[66 / 97]
[67 / 97]
[77 / 97]
[79 / 97]
[80 / 97]
[83 / 97]
[85 / 97]
[88 / 97] Unscreenshottable
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line: cd /Users/admin/builder
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:29:35: [1;31merror: [1;39mcannot find type 'UITextField' in scope[0;0m
[0;36m27 |[0;0m struct ProtectedView<Content: View>: UIViewRepresentable {
[0;36m28 |[0;0m let options: ProtectionOptions
[0;36m29 |[0;0m @State private var textField: [4;39mUITextField[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'UITextField' in scope[0;0m
[0;36m30 |[0;0m @State private var secureCanvas: UIView?
[0;36m31 |[0;0m @State private var hostingController: UIHostingController<Content>
macro expansion @State:1:43: [1;31merror: [1;39mcannot find type 'UITextField' in scope[0;0m
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:29:46: [1;39mnote: [1;39mexpanded code originates here[0;0m
[0;36m27 |[0;0m struct ProtectedView<Content: View>: UIViewRepresentable {
[0;36m28 |[0;0m let options: ProtectionOptions
[0;36m29 |[0;0m @State private var [4;39mtextField[0;0m: UITextField
[0;36m|[0;0m `- [1;39mnote: [1;39min expansion of macro 'State' on property 'textField' here[0;0m
[0;36m +--- [0;0mmacro expansion @State [0;36m----------------------------------------[0;0m
[0;36m |[0;0m[0;36m1 |[0;0m private var _textField: SwiftUICore.State<[4;39mUITextField[0;0m>
[0;36m |[0;0m [0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'UITextField' in scope[0;0m
[0;36m |[0;0m[0;36m2 |[0;0m
[0;36m |[0;0m[0;36m3 |[0;0m private var $textField: SwiftUICore.Binding<UITextField> {
[0;36m +---------------------------[0;0m[0;36m----------------------------------------[0;0m
[0;36m30 |[0;0m @State private var secureCanvas: UIView?
[0;36m31 |[0;0m @State private var hostingController: UIHostingController<Content>
macro expansion @State:3:45: [1;31merror: [1;39mcannot find type 'UITextField' in scope[0;0m
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:29:46: [1;39mnote: [1;39mexpanded code originates here[0;0m
[0;36m27 |[0;0m struct ProtectedView<Content: View>: UIViewRepresentable {
[0;36m28 |[0;0m let options: ProtectionOptions
[0;36m29 |[0;0m @State private var [4;39mtextField[0;0m: UITextField
[0;36m|[0;0m `- [1;39mnote: [1;39min expansion of macro 'State' on property 'textField' here[0;0m
[0;36m +--- [0;0mmacro expansion @State [0;36m----------------------------------------[0;0m
[0;36m |[0;0m[0;36m1 |[0;0m private var _textField: SwiftUICore.State<UITextField>
[0;36m |[0;0m[0;36m2 |[0;0m
[0;36m |[0;0m[0;36m3 |[0;0m private var $textField: SwiftUICore.Binding<[4;39mUITextField[0;0m> {
[0;36m |[0;0m [0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'UITextField' in scope[0;0m
[0;36m |[0;0m[0;36m4 |[0;0m _textField.projectedValue
[0;36m |[0;0m[0;36m5 |[0;0m }
[0;36m +---------------------------[0;0m[0;36m----------------------------------------[0;0m
[0;36m30 |[0;0m @State private var secureCanvas: UIView?
[0;36m31 |[0;0m @State private var hostingController: UIHostingController<Content>
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:38: [1;31merror: [1;39mcannot find type 'UIView' in scope[0;0m
[0;36m28 |[0;0m let options: ProtectionOptions
[0;36m29 |[0;0m @State private var textField: UITextField
[0;36m30 |[0;0m @State private var secureCanvas: [4;39mUIView[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'UIView' in scope[0;0m
[0;36m31 |[0;0m @State private var hostingController: UIHostingController<Content>
[0;36m32 |[0;0m // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
macro expansion @State:2:24: [1;31merror: [1;39mcannot find type 'UIView' in scope[0;0m
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:45: [1;39mnote: [1;39mexpanded code originates here[0;0m
[0;36m28 |[0;0m let options: ProtectionOptions
[0;36m29 |[0;0m @State private var textField: UITextField
[0;36m30 |[0;0m @State private var [4;39msecureCanvas[0;0m: UIView?
[0;36m|[0;0m `- [1;39mnote: [1;39min expansion of macro 'State' on property 'secureCanvas' here[0;0m
[0;36m +--- [0;0mmacro expansion @State [0;36m----------------------------------------[0;0m
[0;36m |[0;0m [0;36m1 |[0;0m private var __secureCanvas = SwiftUICore.State._makeStorage(({
[0;36m |[0;0m [0;36m2 |[0;0m let value: [4;39mUIView[0;0m? = nil
[0;36m |[0;0m [0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'UIView' in scope[0;0m
[0;36m |[0;0m [0;36m3 |[0;0m return value
[0;36m |[0;0m [0;36m4 |[0;0m }))
[0;36m +---------------------------[0;0m[0;36m----------------------------------------[0;0m
[0;36m31 |[0;0m @State private var hostingController: UIHostingController<Content>
[0;36m32 |[0;0m // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
macro expansion @State:8:27: [1;31merror: [1;39mcannot find type 'UIView' in scope[0;0m
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:45: [1;39mnote: [1;39mexpanded code originates here[0;0m
[0;36m28 |[0;0m let options: ProtectionOptions
[0;36m29 |[0;0m @State private var textField: UITextField
[0;36m30 |[0;0m @State private var [4;39msecureCanvas[0;0m: UIView?
[0;36m|[0;0m `- [1;39mnote: [1;39min expansion of macro 'State' on property 'secureCanvas' here[0;0m
[0;36m +--- [0;0mmacro expansion @State [0;36m----------------------------------------[0;0m
[0;36m |[0;0m [0;36m6 |[0;0m @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxN1Vuc2NyZWVuc2hvdHRhYmxlMTNQcm90ZWN0ZWRWaWV3VjEyc2VjdXJlQ2FudmFzMzNfMTVFQkU4OTA5ODkwNkYyOEJFOEIwQzA1MUU4M0JERTZMTDVTdGF0ZWZNcF8yMF9pbml0aWFsU3RvcmVkVmFsdWVfZk11Xw==")
[0;36m |[0;0m [0;36m7 |[0;0m private var _secureCanvas: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
[0;36m |[0;0m [0;36m8 |[0;0m SwiftUICore.State<[4;39mUIView[0;0m?>(initialValue: nil)
[0;36m |[0;0m [0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'UIView' in scope[0;0m
[0;36m |[0;0m [0;36m9 |[0;0m })
[0;36m |[0;0m[0;36m10 |[0;0m
[0;36m +---------------------------[0;0m[0;36m----------------------------------------[0;0m
[0;36m31 |[0;0m @State private var hostingController: UIHostingController<Content>
[0;36m32 |[0;0m // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
macro expansion @State:7:46: [1;31merror: [1;39mcould not infer type for placeholder[0;0m
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:45: [1;39mnote: [1;39mexpanded code originates here[0;0m
[0;36m28 |[0;0m let options: ProtectionOptions
[0;36m29 |[0;0m @State private var textField: UITextField
[0;36m30 |[0;0m @State private var [4;39msecureCanvas[0;0m: UIView?
[0;36m|[0;0m `- [1;39mnote: [1;39min expansion of macro 'State' on property 'secureCanvas' here[0;0m
[0;36m +--- [0;0mmacro expansion @State [0;36m----------------------------------------[0;0m
[0;36m |[0;0m [0;36m5 |[0;0m
[0;36m |[0;0m [0;36m6 |[0;0m @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxN1Vuc2NyZWVuc2hvdHRhYmxlMTNQcm90ZWN0ZWRWaWV3VjEyc2VjdXJlQ2FudmFzMzNfMTVFQkU4OTA5ODkwNkYyOEJFOEIwQzA1MUU4M0JERTZMTDVTdGF0ZWZNcF8yMF9pbml0aWFsU3RvcmVkVmFsdWVfZk11Xw==")
[0;36m |[0;0m [0;36m7 |[0;0m private var _secureCanvas: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
[0;36m |[0;0m [0;36m|[0;0m `- [1;31merror: [1;39mcould not infer type for placeholder[0;0m
[0;36m |[0;0m [0;36m8 |[0;0m SwiftUICore.State<UIView?>(initialValue: nil)
[0;36m |[0;0m [0;36m9 |[0;0m })
[0;36m +---------------------------[0;0m[0;36m----------------------------------------[0;0m
[0;36m31 |[0;0m @State private var hostingController: UIHostingController<Content>
[0;36m32 |[0;0m // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
macro expansion @State:12:47: [1;31merror: [1;39mcannot find type 'UIView' in scope[0;0m
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:45: [1;39mnote: [1;39mexpanded code originates here[0;0m
[0;36m28 |[0;0m let options: ProtectionOptions
[0;36m29 |[0;0m @State private var textField: UITextField
[0;36m30 |[0;0m @State private var [4;39msecureCanvas[0;0m: UIView?
[0;36m|[0;0m `- [1;39mnote: [1;39min expansion of macro 'State' on property 'secureCanvas' here[0;0m
[0;36m +--- [0;0mmacro expansion @State [0;36m----------------------------------------[0;0m
[0;36m |[0;0m[0;36m10 |[0;0m
[0;36m |[0;0m[0;36m11 |[0;0m @SwiftUICore._StateProjectedValue
[0;36m |[0;0m[0;36m12 |[0;0m private var $secureCanvas = SwiftUICore.State<[4;39mUIView[0;0m?>(initialValue: nil).projectedValue
[0;36m |[0;0m [0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'UIView' in scope[0;0m
[0;36m |[0;0m[0;36m13 |[0;0m
[0;36m |[0;0m[0;36m14 |[0;0m @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKGluaXRpYWxWYWx1ZTogeyBsZXQgeDogVUlWaWV3PyA9IG5pbApyZXR1cm4geCB9KCkp")
[0;36m +---------------------------[0;0m[0;36m----------------------------------------[0;0m
[0;36m31 |[0;0m @State private var hostingController: UIHostingController<Content>
[0;36m32 |[0;0m // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
macro expansion @State:16:20: [1;31merror: [1;39mcannot find type 'UIView' in scope[0;0m
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:45: [1;39mnote: [1;39mexpanded code originates here[0;0m
[0;36m28 |[0;0m let options: ProtectionOptions
[0;36m29 |[0;0m @State private var textField: UITextField
[0;36m30 |[0;0m @State private var [4;39msecureCanvas[0;0m: UIView?
[0;36m|[0;0m `- [1;39mnote: [1;39min expansion of macro 'State' on property 'secureCanvas' here[0;0m
[0;36m +--- [0;0mmacro expansion @State [0;36m----------------------------------------[0;0m
[0;36m |[0;0m[0;36m14 |[0;0m @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKGluaXRpYWxWYWx1ZTogeyBsZXQgeDogVUlWaWV3PyA9IG5pbApyZXR1cm4geCB9KCkp")
[0;36m |[0;0m[0;36m15 |[0;0m private static var $s17Unscreenshottable13ProtectedViewV12secureCanvas33_15EBE89098906F28BE8B0C051E83BDE6LL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: {
[0;36m |[0;0m[0;36m16 |[0;0m let x: [4;39mUIView[0;0m? = nil
[0;36m |[0;0m [0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'UIView' in scope[0;0m
[0;36m |[0;0m[0;36m17 |[0;0m return x
[0;36m |[0;0m[0;36m18 |[0;0m }()))
[0;36m +---------------------------[0;0m[0;36m----------------------------------------[0;0m
[0;36m31 |[0;0m @State private var hostingController: UIHostingController<Content>
[0;36m32 |[0;0m // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:31:43: [1;31merror: [1;39mcannot find type 'UIHostingController' in scope[0;0m
[0;36m29 |[0;0m @State private var textField: UITextField
[0;36m30 |[0;0m @State private var secureCanvas: UIView?
[0;36m31 |[0;0m @State private var hostingController: [4;39mUIHostingController[0;0m<Content>
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'UIHostingController' in scope[0;0m
[0;36m32 |[0;0m // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
[0;36m33 |[0;0m @Environment(\.horizontalSizeClass) private var horizontalSizeClass
macro expansion @State:1:51: [1;31merror: [1;39mcannot find type 'UIHostingController' in scope[0;0m
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:31:71: [1;39mnote: [1;39mexpanded code originates here[0;0m
[0;36m29 |[0;0m @State private var textField: UITextField
[0;36m30 |[0;0m @State private var secureCanvas: UIView?
[0;36m31 |[0;0m @State private var [4;39mhostingController[0;0m: UIHostingController<Content>
[0;36m|[0;0m `- [1;39mnote: [1;39min expansion of macro 'State' on property 'hostingController' here[0;0m
[0;36m +--- [0;0mmacro expansion @State [0;36m----------------------------------------[0;0m
[0;36m |[0;0m[0;36m1 |[0;0m private var _hostingController: SwiftUICore.State<[4;39mUIHostingController[0;0m<Content>>
[0;36m |[0;0m [0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'UIHostingController' in scope[0;0m
[0;36m |[0;0m[0;36m2 |[0;0m
[0;36m |[0;0m[0;36m3 |[0;0m private var $hostingController: SwiftUICore.Binding<UIHostingController<Content>> {
[0;36m +---------------------------[0;0m[0;36m----------------------------------------[0;0m
[0;36m32 |[0;0m // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
[0;36m33 |[0;0m @Environment(\.horizontalSizeClass) private var horizontalSizeClass
macro expansion @State:3:53: [1;31merror: [1;39mcannot find type 'UIHostingController' in scope[0;0m
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:31:71: [1;39mnote: [1;39mexpanded code originates here[0;0m
[0;36m29 |[0;0m @State private var textField: UITextField
[0;36m30 |[0;0m @State private var secureCanvas: UIView?
[0;36m31 |[0;0m @State private var [4;39mhostingController[0;0m: UIHostingController<Content>
[0;36m|[0;0m `- [1;39mnote: [1;39min expansion of macro 'State' on property 'hostingController' here[0;0m
[0;36m +--- [0;0mmacro expansion @State [0;36m----------------------------------------[0;0m
[0;36m |[0;0m[0;36m1 |[0;0m private var _hostingController: SwiftUICore.State<UIHostingController<Content>>
[0;36m |[0;0m[0;36m2 |[0;0m
[0;36m |[0;0m[0;36m3 |[0;0m private var $hostingController: SwiftUICore.Binding<[4;39mUIHostingController[0;0m<Content>> {
[0;36m |[0;0m [0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'UIHostingController' in scope[0;0m
[0;36m |[0;0m[0;36m4 |[0;0m _hostingController.projectedValue
[0;36m |[0;0m[0;36m5 |[0;0m }
[0;36m +---------------------------[0;0m[0;36m----------------------------------------[0;0m
[0;36m32 |[0;0m // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
[0;36m33 |[0;0m @Environment(\.horizontalSizeClass) private var horizontalSizeClass
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:64:42: [1;31merror: [1;39mcannot find type 'UIView' in scope[0;0m
[0;36m62 |[0;0m }
[0;36m63 |[0;0m
[0;36m64 |[0;0m func makeUIView(context: Context) -> [4;39mUIView[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'UIView' in scope[0;0m
[0;36m65 |[0;0m hostingController.view
[0;36m66 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:64:30: [1;31merror: [1;39mcannot find type 'Context' in scope[0;0m
[0;36m62 |[0;0m }
[0;36m63 |[0;0m
[0;36m64 |[0;0m func makeUIView(context: [4;39mContext[0;0m) -> UIView {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'Context' in scope[0;0m
[0;36m65 |[0;0m hostingController.view
[0;36m66 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:68:33: [1;31merror: [1;39mcannot find type 'UIView' in scope[0;0m
[0;36m66 |[0;0m }
[0;36m67 |[0;0m
[0;36m68 |[0;0m func updateUIView(_ uiView: [4;39mUIView[0;0m, context: Context) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'UIView' in scope[0;0m
[0;36m69 |[0;0m guard options.contains(.screenshots), secureCanvas == nil else { return }
[0;36m70 |[0;0m DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:68:50: [1;31merror: [1;39mcannot find type 'Context' in scope[0;0m
[0;36m66 |[0;0m }
[0;36m67 |[0;0m
[0;36m68 |[0;0m func updateUIView(_ uiView: UIView, context: [4;39mContext[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'Context' in scope[0;0m
[0;36m69 |[0;0m guard options.contains(.screenshots), secureCanvas == nil else { return }
[0;36m70 |[0;0m DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:61: [1;31merror: [1;39mcannot find type 'UIView' in scope[0;0m
[0;36m78 |[0;0m
[0;36m79 |[0;0m @available(iOS 16.0, *)
[0;36m80 |[0;0m func sizeThatFits(_ proposal: ProposedViewSize, uiView: [4;39mUIView[0;0m, context: Context) -> CGSize? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'UIView' in scope[0;0m
[0;36m81 |[0;0m let size = CGSize(width: proposal.width ?? .infinity, height: proposal.height ?? .infinity)
[0;36m82 |[0;0m hostingController.view.frame.size = size
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:78: [1;31merror: [1;39mcannot find type 'Context' in scope[0;0m
[0;36m78 |[0;0m
[0;36m79 |[0;0m @available(iOS 16.0, *)
[0;36m80 |[0;0m func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: [4;39mContext[0;0m) -> CGSize? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'Context' in scope[0;0m
[0;36m81 |[0;0m let size = CGSize(width: proposal.width ?? .infinity, height: proposal.height ?? .infinity)
[0;36m82 |[0;0m hostingController.view.frame.size = size
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:35: [1;31merror: [1;39m'ProposedViewSize' is only available in macOS 13.0 or newer[0;0m
[0;36m25 |[0;0m }
[0;36m26 |[0;0m
[0;36m27 |[0;0m struct ProtectedView<Content: View>: UIViewRepresentable {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing generic struct[0;0m
[0;36m28 |[0;0m let options: ProtectionOptions
[0;36m29 |[0;0m @State private var textField: UITextField
[0;36m:[0;0m
[0;36m78 |[0;0m
[0;36m79 |[0;0m @available(iOS 16.0, *)
[0;36m80 |[0;0m func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
[0;36m|[0;0m | `- [1;31merror: [1;39m'ProposedViewSize' is only available in macOS 13.0 or newer[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing instance method[0;0m
[0;36m81 |[0;0m let size = CGSize(width: proposal.width ?? .infinity, height: proposal.height ?? .infinity)
[0;36m82 |[0;0m hostingController.view.frame.size = size
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:38: [1;31merror: [1;39mcannot find type 'UIViewRepresentable' in scope[0;0m
[0;36m25 |[0;0m }
[0;36m26 |[0;0m
[0;36m27 |[0;0m struct ProtectedView<Content: View>: [4;39mUIViewRepresentable[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'UIViewRepresentable' in scope[0;0m
[0;36m28 |[0;0m let options: ProtectionOptions
[0;36m29 |[0;0m @State private var textField: UITextField
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:106:19: [1;31merror: [1;39mcannot find type 'UIView' in scope[0;0m
[0;36m104 |[0;0m }
[0;36m105 |[0;0m
[0;36m106 |[0;0m private extension [4;39mUIView[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'UIView' in scope[0;0m
[0;36m107 |[0;0m func overlay(subview: UIView) {
[0;36m108 |[0;0m subview.translatesAutoresizingMaskIntoConstraints = false
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:119:11: [1;31merror: [1;39mcannot find type 'UITextField' in scope[0;0m
[0;36m117 |[0;0m }
[0;36m118 |[0;0m
[0;36m119 |[0;0m extension [4;39mUITextField[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'UITextField' in scope[0;0m
[0;36m120 |[0;0m /// Extracts a canvas view from a secure `TextField`'s view hierarchy.
[0;36m121 |[0;0m /// The canvas view is a internal view that hides its subviews during a screenshot.
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift -target arm64-apple-macos12.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Unscreenshottable -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm