Build Information
Failed to build SwiftlySearch with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/thislooksfun/SwiftlySearch.git
Reference: v1.2.5
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/thislooksfun/SwiftlySearch
* tag v1.2.5 -> FETCH_HEAD
HEAD is now at a718441 chore: mark package as deprecated
Cloned https://github.com/thislooksfun/SwiftlySearch.git
Revision (git rev-parse @):
a7184413250a91f012d5d26eed874b5b2fdaeaac
SUCCESS checkout https://github.com/thislooksfun/SwiftlySearch.git at v1.2.5
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/thislooksfun/SwiftlySearch.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module SwiftlySearch
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:26:44: error: 'Binding' is only available in macOS 10.15 or newer
func navigationBarSearch(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:26:10: note: add @available attribute to enclosing instance method
func navigationBarSearch(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:23:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:26:274: error: 'View' is only available in macOS 10.15 or newer
func navigationBarSearch(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:26:10: note: add @available attribute to enclosing instance method
func navigationBarSearch(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:23:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:32:45: error: 'View' is only available in macOS 10.15 or newer
func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:32:10: note: add @available attribute to enclosing instance method
func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:23:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:32:65: error: 'Binding' is only available in macOS 10.15 or newer
func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:32:10: note: add @available attribute to enclosing instance method
func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:23:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:32:288: error: 'ViewBuilder' is only available in macOS 10.15 or newer
func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:32:10: note: add @available attribute to enclosing instance method
func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:23:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:32:360: error: 'View' is only available in macOS 10.15 or newer
func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:32:10: note: add @available attribute to enclosing instance method
func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:23:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:23:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:23:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:38:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:37:8: note: add @available attribute to enclosing generic struct
struct SearchBar<ResultContent: View>: UIViewControllerRepresentable {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:47:16: error: 'Binding' is only available in macOS 10.15 or newer
init(text: Binding<String>, placeholder: String?, hidesNavigationBarDuringPresentation: Bool, hidesSearchBarWhenScrolling: Bool, cancelClicked: @escaping () -> Void, searchClicked: @escaping () -> Void, @ViewBuilder resultContent: @escaping (String) -> ResultContent? = { _ in nil }) {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:47:5: note: add @available attribute to enclosing initializer
init(text: Binding<String>, placeholder: String?, hidesNavigationBarDuringPresentation: Bool, hidesSearchBarWhenScrolling: Bool, cancelClicked: @escaping () -> Void, searchClicked: @escaping () -> Void, @ViewBuilder resultContent: @escaping (String) -> ResultContent? = { _ in nil }) {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:37:8: note: add @available attribute to enclosing generic struct
struct SearchBar<ResultContent: View>: UIViewControllerRepresentable {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:47:209: error: 'ViewBuilder' is only available in macOS 10.15 or newer
init(text: Binding<String>, placeholder: String?, hidesNavigationBarDuringPresentation: Bool, hidesSearchBarWhenScrolling: Bool, cancelClicked: @escaping () -> Void, searchClicked: @escaping () -> Void, @ViewBuilder resultContent: @escaping (String) -> ResultContent? = { _ in nil }) {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:47:5: note: add @available attribute to enclosing initializer
init(text: Binding<String>, placeholder: String?, hidesNavigationBarDuringPresentation: Bool, hidesSearchBarWhenScrolling: Bool, cancelClicked: @escaping () -> Void, searchClicked: @escaping () -> Void, @ViewBuilder resultContent: @escaping (String) -> ResultContent? = { _ in nil }) {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:37:8: note: add @available attribute to enclosing generic struct
struct SearchBar<ResultContent: View>: UIViewControllerRepresentable {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:57:40: error: cannot find type 'Context' in scope
func makeUIViewController(context: Context) -> SearchBarWrapperController {
^~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:61:84: error: cannot find type 'Context' in scope
func updateUIViewController(_ controller: SearchBarWrapperController, context: Context) {
^~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:78:10: error: 'Binding' is only available in macOS 10.15 or newer
@Binding
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:11: note: add @available attribute to enclosing class
class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:11: note: add @available attribute to enclosing class
class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:82:31: error: cannot find type 'UISearchController' in scope
let searchController: UISearchController
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:86:20: error: 'Binding' is only available in macOS 10.15 or newer
init(text: Binding<String>, placeholder: String?, hidesNavigationBarDuringPresentation: Bool, resultContent: (String) -> ResultContent?, cancelClicked: @escaping () -> Void, searchClicked: @escaping () -> Void) {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:86:9: note: add @available attribute to enclosing initializer
init(text: Binding<String>, placeholder: String?, hidesNavigationBarDuringPresentation: Bool, resultContent: (String) -> ResultContent?, cancelClicked: @escaping () -> Void, searchClicked: @escaping () -> Void) {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:11: note: add @available attribute to enclosing class
class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:115:56: error: cannot find type 'UISearchController' in scope
func updateSearchResults(for searchController: UISearchController) {
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:128:56: error: cannot find type 'UISearchBar' in scope
func searchBarCancelButtonClicked(_ searchBar: UISearchBar) {
^~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:131:56: error: cannot find type 'UISearchBar' in scope
func searchBarSearchButtonClicked(_ searchBar: UISearchBar) {
^~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:34: error: cannot find type 'UISearchResultsUpdating' in scope
class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
^~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:59: error: cannot find type 'UISearchBarDelegate' in scope
class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:139:22: error: value of type 'SearchBar<ResultContent>.SearchBarWrapperController' has no member 'parent'
self.parent?.navigationItem.searchController?.searchBar.text = text
~~~~ ^~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:143:31: error: cannot find type 'UISearchController' in scope
var searchController: UISearchController? {
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:145:22: error: value of type 'SearchBar<ResultContent>.SearchBarWrapperController' has no member 'parent'
self.parent?.navigationItem.searchController = searchController
~~~~ ^~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:151:22: error: value of type 'SearchBar<ResultContent>.SearchBarWrapperController' has no member 'parent'
self.parent?.navigationItem.hidesSearchBarWhenScrolling = hidesSearchBarWhenScrolling
~~~~ ^~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:155:23: error: method does not override any method from its superclass
override func viewWillAppear(_ animated: Bool) {
~~~~~~~~ ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:158:23: error: method does not override any method from its superclass
override func viewDidAppear(_ animated: Bool) {
~~~~~~~~ ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:136:39: error: cannot find type 'UIViewController' in scope
class SearchBarWrapperController: UIViewController {
^~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:37:40: error: cannot find type 'UIViewControllerRepresentable' in scope
struct SearchBar<ResultContent: View>: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:37:33: error: 'View' is only available in macOS 10.15 or newer
struct SearchBar<ResultContent: View>: UIViewControllerRepresentable {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:37:8: note: add @available attribute to enclosing generic struct
struct SearchBar<ResultContent: View>: UIViewControllerRepresentable {
^
[4/4] Compiling SwiftlySearch SwiftlySearch.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:26:44: error: 'Binding' is only available in macOS 10.15 or newer
func navigationBarSearch(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:26:10: note: add @available attribute to enclosing instance method
func navigationBarSearch(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:23:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:26:274: error: 'View' is only available in macOS 10.15 or newer
func navigationBarSearch(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:26:10: note: add @available attribute to enclosing instance method
func navigationBarSearch(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:23:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:32:45: error: 'View' is only available in macOS 10.15 or newer
func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:32:10: note: add @available attribute to enclosing instance method
func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:23:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:32:65: error: 'Binding' is only available in macOS 10.15 or newer
func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:32:10: note: add @available attribute to enclosing instance method
func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:23:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:32:288: error: 'ViewBuilder' is only available in macOS 10.15 or newer
func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:32:10: note: add @available attribute to enclosing instance method
func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:23:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:32:360: error: 'View' is only available in macOS 10.15 or newer
func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:32:10: note: add @available attribute to enclosing instance method
func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:23:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:23:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:23:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:38:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:37:8: note: add @available attribute to enclosing generic struct
struct SearchBar<ResultContent: View>: UIViewControllerRepresentable {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:47:16: error: 'Binding' is only available in macOS 10.15 or newer
init(text: Binding<String>, placeholder: String?, hidesNavigationBarDuringPresentation: Bool, hidesSearchBarWhenScrolling: Bool, cancelClicked: @escaping () -> Void, searchClicked: @escaping () -> Void, @ViewBuilder resultContent: @escaping (String) -> ResultContent? = { _ in nil }) {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:47:5: note: add @available attribute to enclosing initializer
init(text: Binding<String>, placeholder: String?, hidesNavigationBarDuringPresentation: Bool, hidesSearchBarWhenScrolling: Bool, cancelClicked: @escaping () -> Void, searchClicked: @escaping () -> Void, @ViewBuilder resultContent: @escaping (String) -> ResultContent? = { _ in nil }) {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:37:8: note: add @available attribute to enclosing generic struct
struct SearchBar<ResultContent: View>: UIViewControllerRepresentable {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:47:209: error: 'ViewBuilder' is only available in macOS 10.15 or newer
init(text: Binding<String>, placeholder: String?, hidesNavigationBarDuringPresentation: Bool, hidesSearchBarWhenScrolling: Bool, cancelClicked: @escaping () -> Void, searchClicked: @escaping () -> Void, @ViewBuilder resultContent: @escaping (String) -> ResultContent? = { _ in nil }) {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:47:5: note: add @available attribute to enclosing initializer
init(text: Binding<String>, placeholder: String?, hidesNavigationBarDuringPresentation: Bool, hidesSearchBarWhenScrolling: Bool, cancelClicked: @escaping () -> Void, searchClicked: @escaping () -> Void, @ViewBuilder resultContent: @escaping (String) -> ResultContent? = { _ in nil }) {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:37:8: note: add @available attribute to enclosing generic struct
struct SearchBar<ResultContent: View>: UIViewControllerRepresentable {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:57:40: error: cannot find type 'Context' in scope
func makeUIViewController(context: Context) -> SearchBarWrapperController {
^~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:61:84: error: cannot find type 'Context' in scope
func updateUIViewController(_ controller: SearchBarWrapperController, context: Context) {
^~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:78:10: error: 'Binding' is only available in macOS 10.15 or newer
@Binding
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:11: note: add @available attribute to enclosing class
class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:11: note: add @available attribute to enclosing class
class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:82:31: error: cannot find type 'UISearchController' in scope
let searchController: UISearchController
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:86:20: error: 'Binding' is only available in macOS 10.15 or newer
init(text: Binding<String>, placeholder: String?, hidesNavigationBarDuringPresentation: Bool, resultContent: (String) -> ResultContent?, cancelClicked: @escaping () -> Void, searchClicked: @escaping () -> Void) {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:86:9: note: add @available attribute to enclosing initializer
init(text: Binding<String>, placeholder: String?, hidesNavigationBarDuringPresentation: Bool, resultContent: (String) -> ResultContent?, cancelClicked: @escaping () -> Void, searchClicked: @escaping () -> Void) {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:11: note: add @available attribute to enclosing class
class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:115:56: error: cannot find type 'UISearchController' in scope
func updateSearchResults(for searchController: UISearchController) {
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:128:56: error: cannot find type 'UISearchBar' in scope
func searchBarCancelButtonClicked(_ searchBar: UISearchBar) {
^~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:131:56: error: cannot find type 'UISearchBar' in scope
func searchBarSearchButtonClicked(_ searchBar: UISearchBar) {
^~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:34: error: cannot find type 'UISearchResultsUpdating' in scope
class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
^~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:59: error: cannot find type 'UISearchBarDelegate' in scope
class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:139:22: error: value of type 'SearchBar<ResultContent>.SearchBarWrapperController' has no member 'parent'
self.parent?.navigationItem.searchController?.searchBar.text = text
~~~~ ^~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:143:31: error: cannot find type 'UISearchController' in scope
var searchController: UISearchController? {
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:145:22: error: value of type 'SearchBar<ResultContent>.SearchBarWrapperController' has no member 'parent'
self.parent?.navigationItem.searchController = searchController
~~~~ ^~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:151:22: error: value of type 'SearchBar<ResultContent>.SearchBarWrapperController' has no member 'parent'
self.parent?.navigationItem.hidesSearchBarWhenScrolling = hidesSearchBarWhenScrolling
~~~~ ^~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:155:23: error: method does not override any method from its superclass
override func viewWillAppear(_ animated: Bool) {
~~~~~~~~ ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:158:23: error: method does not override any method from its superclass
override func viewDidAppear(_ animated: Bool) {
~~~~~~~~ ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:136:39: error: cannot find type 'UIViewController' in scope
class SearchBarWrapperController: UIViewController {
^~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:37:40: error: cannot find type 'UIViewControllerRepresentable' in scope
struct SearchBar<ResultContent: View>: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:37:33: error: 'View' is only available in macOS 10.15 or newer
struct SearchBar<ResultContent: View>: UIViewControllerRepresentable {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:37:8: note: add @available attribute to enclosing generic struct
struct SearchBar<ResultContent: View>: UIViewControllerRepresentable {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:27:281: error: value of type 'SearchBar<AnyView>' has no member 'frame'
return overlay(SearchBar<AnyView>(text: searchText, placeholder: placeholder, hidesNavigationBarDuringPresentation: hidesNavigationBarDuringPresentation, hidesSearchBarWhenScrolling: hidesSearchBarWhenScrolling, cancelClicked: cancelClicked, searchClicked: searchClicked).frame(width: 0, height: 0))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:33:302: error: value of type 'SearchBar<ResultContent>' has no member 'frame'
return overlay(SearchBar(text: searchText, placeholder: placeholder, hidesNavigationBarDuringPresentation: hidesNavigationBarDuringPresentation, hidesSearchBarWhenScrolling: hidesSearchBarWhenScrolling, cancelClicked: cancelClicked, searchClicked: searchClicked, resultContent: resultContent).frame(width: 0, height: 0))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:69:71: error: cannot find type 'UIHostingController' in scope
(controller.searchController?.searchResultsController as? UIHostingController<ResultContent>)?.rootView = resultView
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:69:117: error: type of expression is ambiguous without a type annotation
(controller.searchController?.searchResultsController as? UIHostingController<ResultContent>)?.rootView = resultView
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:93:59: error: cannot find 'UIHostingController' in scope
let searchResultController = resultView.map { UIHostingController(rootView: $0) }
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:94:37: error: cannot find 'UISearchController' in scope
self.searchController = UISearchController(searchResultsController: searchResultController)
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:163:18: error: value of type 'SearchBar<ResultContent>.SearchBarWrapperController' has no member 'parent'
self.parent?.navigationItem.searchController = searchController
~~~~ ^~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:164:18: error: value of type 'SearchBar<ResultContent>.SearchBarWrapperController' has no member 'parent'
self.parent?.navigationItem.hidesSearchBarWhenScrolling = hidesSearchBarWhenScrolling
~~~~ ^~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:167:18: error: value of type 'SearchBar<ResultContent>.SearchBarWrapperController' has no member 'parent'
self.parent?.navigationController?.navigationBar.sizeToFit()
~~~~ ^~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module SwiftlySearch
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:26:44: error: 'Binding' is only available in macOS 10.15 or newer
func navigationBarSearch(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:26:10: note: add @available attribute to enclosing instance method
func navigationBarSearch(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:23:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:26:274: error: 'View' is only available in macOS 10.15 or newer
func navigationBarSearch(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:26:10: note: add @available attribute to enclosing instance method
func navigationBarSearch(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:23:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:32:45: error: 'View' is only available in macOS 10.15 or newer
func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:32:10: note: add @available attribute to enclosing instance method
func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:23:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:32:65: error: 'Binding' is only available in macOS 10.15 or newer
func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:32:10: note: add @available attribute to enclosing instance method
func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:23:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:32:288: error: 'ViewBuilder' is only available in macOS 10.15 or newer
func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:32:10: note: add @available attribute to enclosing instance method
func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:23:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:32:360: error: 'View' is only available in macOS 10.15 or newer
func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:32:10: note: add @available attribute to enclosing instance method
func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:23:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:23:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:23:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:38:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:37:8: note: add @available attribute to enclosing generic struct
struct SearchBar<ResultContent: View>: UIViewControllerRepresentable {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:47:16: error: 'Binding' is only available in macOS 10.15 or newer
init(text: Binding<String>, placeholder: String?, hidesNavigationBarDuringPresentation: Bool, hidesSearchBarWhenScrolling: Bool, cancelClicked: @escaping () -> Void, searchClicked: @escaping () -> Void, @ViewBuilder resultContent: @escaping (String) -> ResultContent? = { _ in nil }) {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:47:5: note: add @available attribute to enclosing initializer
init(text: Binding<String>, placeholder: String?, hidesNavigationBarDuringPresentation: Bool, hidesSearchBarWhenScrolling: Bool, cancelClicked: @escaping () -> Void, searchClicked: @escaping () -> Void, @ViewBuilder resultContent: @escaping (String) -> ResultContent? = { _ in nil }) {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:37:8: note: add @available attribute to enclosing generic struct
struct SearchBar<ResultContent: View>: UIViewControllerRepresentable {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:47:209: error: 'ViewBuilder' is only available in macOS 10.15 or newer
init(text: Binding<String>, placeholder: String?, hidesNavigationBarDuringPresentation: Bool, hidesSearchBarWhenScrolling: Bool, cancelClicked: @escaping () -> Void, searchClicked: @escaping () -> Void, @ViewBuilder resultContent: @escaping (String) -> ResultContent? = { _ in nil }) {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:47:5: note: add @available attribute to enclosing initializer
init(text: Binding<String>, placeholder: String?, hidesNavigationBarDuringPresentation: Bool, hidesSearchBarWhenScrolling: Bool, cancelClicked: @escaping () -> Void, searchClicked: @escaping () -> Void, @ViewBuilder resultContent: @escaping (String) -> ResultContent? = { _ in nil }) {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:37:8: note: add @available attribute to enclosing generic struct
struct SearchBar<ResultContent: View>: UIViewControllerRepresentable {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:57:40: error: cannot find type 'Context' in scope
func makeUIViewController(context: Context) -> SearchBarWrapperController {
^~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:61:84: error: cannot find type 'Context' in scope
func updateUIViewController(_ controller: SearchBarWrapperController, context: Context) {
^~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:78:10: error: 'Binding' is only available in macOS 10.15 or newer
@Binding
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:11: note: add @available attribute to enclosing class
class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:11: note: add @available attribute to enclosing class
class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:82:31: error: cannot find type 'UISearchController' in scope
let searchController: UISearchController
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:86:20: error: 'Binding' is only available in macOS 10.15 or newer
init(text: Binding<String>, placeholder: String?, hidesNavigationBarDuringPresentation: Bool, resultContent: (String) -> ResultContent?, cancelClicked: @escaping () -> Void, searchClicked: @escaping () -> Void) {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:86:9: note: add @available attribute to enclosing initializer
init(text: Binding<String>, placeholder: String?, hidesNavigationBarDuringPresentation: Bool, resultContent: (String) -> ResultContent?, cancelClicked: @escaping () -> Void, searchClicked: @escaping () -> Void) {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:11: note: add @available attribute to enclosing class
class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:115:56: error: cannot find type 'UISearchController' in scope
func updateSearchResults(for searchController: UISearchController) {
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:128:56: error: cannot find type 'UISearchBar' in scope
func searchBarCancelButtonClicked(_ searchBar: UISearchBar) {
^~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:131:56: error: cannot find type 'UISearchBar' in scope
func searchBarSearchButtonClicked(_ searchBar: UISearchBar) {
^~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:34: error: cannot find type 'UISearchResultsUpdating' in scope
class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
^~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:59: error: cannot find type 'UISearchBarDelegate' in scope
class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:139:22: error: value of type 'SearchBar<ResultContent>.SearchBarWrapperController' has no member 'parent'
self.parent?.navigationItem.searchController?.searchBar.text = text
~~~~ ^~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:143:31: error: cannot find type 'UISearchController' in scope
var searchController: UISearchController? {
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:145:22: error: value of type 'SearchBar<ResultContent>.SearchBarWrapperController' has no member 'parent'
self.parent?.navigationItem.searchController = searchController
~~~~ ^~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:151:22: error: value of type 'SearchBar<ResultContent>.SearchBarWrapperController' has no member 'parent'
self.parent?.navigationItem.hidesSearchBarWhenScrolling = hidesSearchBarWhenScrolling
~~~~ ^~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:155:23: error: method does not override any method from its superclass
override func viewWillAppear(_ animated: Bool) {
~~~~~~~~ ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:158:23: error: method does not override any method from its superclass
override func viewDidAppear(_ animated: Bool) {
~~~~~~~~ ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:136:39: error: cannot find type 'UIViewController' in scope
class SearchBarWrapperController: UIViewController {
^~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:37:40: error: cannot find type 'UIViewControllerRepresentable' in scope
struct SearchBar<ResultContent: View>: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:37:33: error: 'View' is only available in macOS 10.15 or newer
struct SearchBar<ResultContent: View>: UIViewControllerRepresentable {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:37:8: note: add @available attribute to enclosing generic struct
struct SearchBar<ResultContent: View>: UIViewControllerRepresentable {
^
[3/3] Compiling SwiftlySearch SwiftlySearch.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:26:44: error: 'Binding' is only available in macOS 10.15 or newer
func navigationBarSearch(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:26:10: note: add @available attribute to enclosing instance method
func navigationBarSearch(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:23:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:26:274: error: 'View' is only available in macOS 10.15 or newer
func navigationBarSearch(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:26:10: note: add @available attribute to enclosing instance method
func navigationBarSearch(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:23:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:32:45: error: 'View' is only available in macOS 10.15 or newer
func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:32:10: note: add @available attribute to enclosing instance method
func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:23:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:32:65: error: 'Binding' is only available in macOS 10.15 or newer
func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:32:10: note: add @available attribute to enclosing instance method
func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:23:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:32:288: error: 'ViewBuilder' is only available in macOS 10.15 or newer
func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:32:10: note: add @available attribute to enclosing instance method
func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:23:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:32:360: error: 'View' is only available in macOS 10.15 or newer
func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:32:10: note: add @available attribute to enclosing instance method
func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:23:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:23:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:23:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:38:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:37:8: note: add @available attribute to enclosing generic struct
struct SearchBar<ResultContent: View>: UIViewControllerRepresentable {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:47:16: error: 'Binding' is only available in macOS 10.15 or newer
init(text: Binding<String>, placeholder: String?, hidesNavigationBarDuringPresentation: Bool, hidesSearchBarWhenScrolling: Bool, cancelClicked: @escaping () -> Void, searchClicked: @escaping () -> Void, @ViewBuilder resultContent: @escaping (String) -> ResultContent? = { _ in nil }) {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:47:5: note: add @available attribute to enclosing initializer
init(text: Binding<String>, placeholder: String?, hidesNavigationBarDuringPresentation: Bool, hidesSearchBarWhenScrolling: Bool, cancelClicked: @escaping () -> Void, searchClicked: @escaping () -> Void, @ViewBuilder resultContent: @escaping (String) -> ResultContent? = { _ in nil }) {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:37:8: note: add @available attribute to enclosing generic struct
struct SearchBar<ResultContent: View>: UIViewControllerRepresentable {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:47:209: error: 'ViewBuilder' is only available in macOS 10.15 or newer
init(text: Binding<String>, placeholder: String?, hidesNavigationBarDuringPresentation: Bool, hidesSearchBarWhenScrolling: Bool, cancelClicked: @escaping () -> Void, searchClicked: @escaping () -> Void, @ViewBuilder resultContent: @escaping (String) -> ResultContent? = { _ in nil }) {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:47:5: note: add @available attribute to enclosing initializer
init(text: Binding<String>, placeholder: String?, hidesNavigationBarDuringPresentation: Bool, hidesSearchBarWhenScrolling: Bool, cancelClicked: @escaping () -> Void, searchClicked: @escaping () -> Void, @ViewBuilder resultContent: @escaping (String) -> ResultContent? = { _ in nil }) {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:37:8: note: add @available attribute to enclosing generic struct
struct SearchBar<ResultContent: View>: UIViewControllerRepresentable {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:57:40: error: cannot find type 'Context' in scope
func makeUIViewController(context: Context) -> SearchBarWrapperController {
^~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:61:84: error: cannot find type 'Context' in scope
func updateUIViewController(_ controller: SearchBarWrapperController, context: Context) {
^~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:78:10: error: 'Binding' is only available in macOS 10.15 or newer
@Binding
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:11: note: add @available attribute to enclosing class
class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:11: note: add @available attribute to enclosing class
class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:82:31: error: cannot find type 'UISearchController' in scope
let searchController: UISearchController
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:86:20: error: 'Binding' is only available in macOS 10.15 or newer
init(text: Binding<String>, placeholder: String?, hidesNavigationBarDuringPresentation: Bool, resultContent: (String) -> ResultContent?, cancelClicked: @escaping () -> Void, searchClicked: @escaping () -> Void) {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:86:9: note: add @available attribute to enclosing initializer
init(text: Binding<String>, placeholder: String?, hidesNavigationBarDuringPresentation: Bool, resultContent: (String) -> ResultContent?, cancelClicked: @escaping () -> Void, searchClicked: @escaping () -> Void) {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:11: note: add @available attribute to enclosing class
class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:115:56: error: cannot find type 'UISearchController' in scope
func updateSearchResults(for searchController: UISearchController) {
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:128:56: error: cannot find type 'UISearchBar' in scope
func searchBarCancelButtonClicked(_ searchBar: UISearchBar) {
^~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:131:56: error: cannot find type 'UISearchBar' in scope
func searchBarSearchButtonClicked(_ searchBar: UISearchBar) {
^~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:34: error: cannot find type 'UISearchResultsUpdating' in scope
class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
^~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:59: error: cannot find type 'UISearchBarDelegate' in scope
class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:139:22: error: value of type 'SearchBar<ResultContent>.SearchBarWrapperController' has no member 'parent'
self.parent?.navigationItem.searchController?.searchBar.text = text
~~~~ ^~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:143:31: error: cannot find type 'UISearchController' in scope
var searchController: UISearchController? {
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:145:22: error: value of type 'SearchBar<ResultContent>.SearchBarWrapperController' has no member 'parent'
self.parent?.navigationItem.searchController = searchController
~~~~ ^~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:151:22: error: value of type 'SearchBar<ResultContent>.SearchBarWrapperController' has no member 'parent'
self.parent?.navigationItem.hidesSearchBarWhenScrolling = hidesSearchBarWhenScrolling
~~~~ ^~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:155:23: error: method does not override any method from its superclass
override func viewWillAppear(_ animated: Bool) {
~~~~~~~~ ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:158:23: error: method does not override any method from its superclass
override func viewDidAppear(_ animated: Bool) {
~~~~~~~~ ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:136:39: error: cannot find type 'UIViewController' in scope
class SearchBarWrapperController: UIViewController {
^~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:37:40: error: cannot find type 'UIViewControllerRepresentable' in scope
struct SearchBar<ResultContent: View>: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:37:33: error: 'View' is only available in macOS 10.15 or newer
struct SearchBar<ResultContent: View>: UIViewControllerRepresentable {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:37:8: note: add @available attribute to enclosing generic struct
struct SearchBar<ResultContent: View>: UIViewControllerRepresentable {
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:27:281: error: value of type 'SearchBar<AnyView>' has no member 'frame'
return overlay(SearchBar<AnyView>(text: searchText, placeholder: placeholder, hidesNavigationBarDuringPresentation: hidesNavigationBarDuringPresentation, hidesSearchBarWhenScrolling: hidesSearchBarWhenScrolling, cancelClicked: cancelClicked, searchClicked: searchClicked).frame(width: 0, height: 0))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:33:302: error: value of type 'SearchBar<ResultContent>' has no member 'frame'
return overlay(SearchBar(text: searchText, placeholder: placeholder, hidesNavigationBarDuringPresentation: hidesNavigationBarDuringPresentation, hidesSearchBarWhenScrolling: hidesSearchBarWhenScrolling, cancelClicked: cancelClicked, searchClicked: searchClicked, resultContent: resultContent).frame(width: 0, height: 0))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:69:71: error: cannot find type 'UIHostingController' in scope
(controller.searchController?.searchResultsController as? UIHostingController<ResultContent>)?.rootView = resultView
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:69:117: error: type of expression is ambiguous without a type annotation
(controller.searchController?.searchResultsController as? UIHostingController<ResultContent>)?.rootView = resultView
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:93:59: error: cannot find 'UIHostingController' in scope
let searchResultController = resultView.map { UIHostingController(rootView: $0) }
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:94:37: error: cannot find 'UISearchController' in scope
self.searchController = UISearchController(searchResultsController: searchResultController)
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:163:18: error: value of type 'SearchBar<ResultContent>.SearchBarWrapperController' has no member 'parent'
self.parent?.navigationItem.searchController = searchController
~~~~ ^~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:164:18: error: value of type 'SearchBar<ResultContent>.SearchBarWrapperController' has no member 'parent'
self.parent?.navigationItem.hidesSearchBarWhenScrolling = hidesSearchBarWhenScrolling
~~~~ ^~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:167:18: error: value of type 'SearchBar<ResultContent>.SearchBarWrapperController' has no member 'parent'
self.parent?.navigationController?.navigationBar.sizeToFit()
~~~~ ^~~~~~
error: fatalError
BUILD FAILURE 5.10 macosSpm