Flutter_blue: [CRASH] - Can't build iOS (debug + release)

Created on 14 Jul 2020  Â·  5Comments  Â·  Source: pauldemarco/flutter_blue

I wanna use this plugin, but I can't use it for iOS:

event sent after app closed: {id: 0, progressId: null, message: Running "flutter pub get" in amptech-app...}
event sent after app closed: {id: 0, progressId: null, finished: true}
Launching lib/main.dart on iPad von App in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: J3W7Z5NLZD
Xcode build done.                                           36,7s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **
Xcode's output:
↳
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Platform/DataStructures/Bag.swift:176:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BagKey' to 'Hashable' by implementing 'hash(into:)' instead
        var hashValue: Int {
            ^
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxBluetoothKit/BluetoothManager.swift:161:65: warning: 'index(where:)' is deprecated: renamed to 'firstIndex(where:)'
                                if let index = strongSelf.scanQueue.index(where: { $0 == scanOperationBox.value! }) {
                                                                    ^
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxBluetoothKit/BluetoothManager.swift:161:65: note: use 'firstIndex(where:)' instead
                                if let index = strongSelf.scanQueue.index(where: { $0 == scanOperationBox.value! }) {
                                                                    ^~~~~
                                                                    firstIndex
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Platform/DataStructures/Bag.swift:176:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BagKey' to 'Hashable' by implementing 'hash(into:)' instead
        var hashValue: Int {
            ^
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxBluetoothKit/BluetoothManager.swift:161:65: warning: 'index(where:)' is deprecated: renamed to 'firstIndex(where:)'
                                if let index = strongSelf.scanQueue.index(where: { $0 == scanOperationBox.value! }) {
                                                                    ^
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxBluetoothKit/BluetoothManager.swift:161:65: note: use 'firstIndex(where:)' instead
                                if let index = strongSelf.scanQueue.index(where: { $0 == scanOperationBox.value! }) {
                                                                    ^~~~~
                                                                    firstIndex
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Completable.swift:27:5: warning: 'public' modifier is redundant for type alias declared in a public extension
        public typealias CompletableObserver = (CompletableEvent) -> ()
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Completable.swift:37:5: warning: 'public' modifier is redundant for static method declared in a public extension
        public static func create(subscribe: @escaping (@escaping CompletableObserver) -> Disposable) -> PrimitiveSequence<TraitType, ElementType> {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Completable.swift:57:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func subscribe(_ observer: @escaping (CompletableEvent) -> ()) -> Disposable {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Completable.swift:81:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func subscribe(onCompleted: (() -> Void)? = nil, onError: ((Swift.Error) -> Void)? = nil) -> Disposable {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Completable.swift:111:5: warning: 'public' modifier is redundant for static method declared in a public extension
        public static func error(_ error: Swift.Error) -> Completable {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Completable.swift:122:5: warning: 'public' modifier is redundant for static method declared in a public extension
        public static func never() -> Completable {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Completable.swift:133:5: warning: 'public' modifier is redundant for static method declared in a public extension
        public static func empty() -> Completable {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Completable.swift:153:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func `do`(onError: ((Swift.Error) throws -> Void)? = nil,
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Completable.swift:178:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func concat(_ second: Completable) -> Completable {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Completable.swift:189:5: warning: 'public' modifier is redundant for static method declared in a public extension
        public static func concat<S: Sequence>(_ sequence: S) -> Completable
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Completable.swift:202:5: warning: 'public' modifier is redundant for static method declared in a public extension
        public static func concat<C: Collection>(_ collection: C) -> Completable
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Completable.swift:215:5: warning: 'public' modifier is redundant for static method declared in a public extension
        public static func concat(_ sources: Completable ...) -> Completable {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Completable.swift:228:5: warning: 'public' modifier is redundant for static method declared in a public extension
        public static func merge<C: Collection>(_ sources: C) -> Completable
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Completable.swift:242:5: warning: 'public' modifier is redundant for static method declared in a public extension
        public static func merge(_ sources: [Completable]) -> Completable {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Completable.swift:255:5: warning: 'public' modifier is redundant for static method declared in a public extension
        public static func merge(_ sources: Completable...) -> Completable {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxBluetoothKit/Logging.swift:157:9: warning: switch covers known cases, but 'CBCharacteristicWriteType' may have additional unknown values, possibly added in future versions
            switch self {
            ^
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxBluetoothKit/Logging.swift:157:9: note: handle unknown values using "@unknown default"
            switch self {
            ^
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:30:5: warning: 'public' modifier is redundant for type alias declared in a public extension
        public typealias MaybeObserver = (MaybeEvent<ElementType>) -> ()
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:40:5: warning: 'public' modifier is redundant for static method declared in a public extension
        public static func create(subscribe: @escaping (@escaping MaybeObserver) -> Disposable) -> PrimitiveSequence<TraitType, ElementType> {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:63:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func subscribe(_ observer: @escaping (MaybeEvent<ElementType>) -> ()) -> Disposable {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:88:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func subscribe(onSuccess: ((ElementType) -> Void)? = nil,
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:123:5: warning: 'public' modifier is redundant for static method declared in a public extension
        public static func just(_ element: ElementType) -> Maybe<ElementType> {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:136:5: warning: 'public' modifier is redundant for static method declared in a public extension
        public static func just(_ element: ElementType, scheduler: ImmediateSchedulerType) -> Maybe<ElementType> {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:147:5: warning: 'public' modifier is redundant for static method declared in a public extension
        public static func error(_ error: Swift.Error) -> Maybe<ElementType> {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:158:5: warning: 'public' modifier is redundant for static method declared in a public extension
        public static func never() -> Maybe<ElementType> {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:169:5: warning: 'public' modifier is redundant for static method declared in a public extension
        public static func empty() -> Maybe<ElementType> {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:188:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func `do`(onNext: ((ElementType) throws -> Void)? = nil,
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:213:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func filter(_ predicate: @escaping (ElementType) throws -> Bool)
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:227:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func map<R>(_ transform: @escaping (ElementType) throws -> R)
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:240:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func flatMap<R>(_ selector: @escaping (ElementType) throws -> Maybe<R>)
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:253:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func ifEmpty(default: ElementType) -> Single<ElementType> {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:265:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func ifEmpty(switchTo other: Maybe<ElementType>) -> Maybe<ElementType> {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:277:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func ifEmpty(switchTo other: Single<ElementType>) -> Single<ElementType> {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:289:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func catchErrorJustReturn(_ element: ElementType)
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxBluetoothKit/Observable+QueueSubscribeOn.swift:51:30: warning: 'index(where:)' is deprecated: renamed to 'firstIndex(where:)'
            if let index = queue.index(where: { $0 === observable }) {
                                 ^
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxBluetoothKit/Observable+QueueSubscribeOn.swift:51:30: note: use 'firstIndex(where:)' instead
            if let index = queue.index(where: { $0 === observable }) {
                                 ^~~~~
                                 firstIndex
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxBluetoothKit/Logging.swift:157:9: warning: switch covers known cases, but 'CBCharacteristicWriteType' may have additional unknown values, possibly added in future versions
            switch self {
            ^
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxBluetoothKit/Logging.swift:157:9: note: handle unknown values using "@unknown default"
            switch self {
            ^
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:30:5: warning: 'public' modifier is redundant for type alias declared in a public extension
        public typealias MaybeObserver = (MaybeEvent<ElementType>) -> ()
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:40:5: warning: 'public' modifier is redundant for static method declared in a public extension
        public static func create(subscribe: @escaping (@escaping MaybeObserver) -> Disposable) -> PrimitiveSequence<TraitType, ElementType> {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:63:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func subscribe(_ observer: @escaping (MaybeEvent<ElementType>) -> ()) -> Disposable {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:88:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func subscribe(onSuccess: ((ElementType) -> Void)? = nil,
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:123:5: warning: 'public' modifier is redundant for static method declared in a public extension
        public static func just(_ element: ElementType) -> Maybe<ElementType> {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:136:5: warning: 'public' modifier is redundant for static method declared in a public extension
        public static func just(_ element: ElementType, scheduler: ImmediateSchedulerType) -> Maybe<ElementType> {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:147:5: warning: 'public' modifier is redundant for static method declared in a public extension
        public static func error(_ error: Swift.Error) -> Maybe<ElementType> {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:158:5: warning: 'public' modifier is redundant for static method declared in a public extension
        public static func never() -> Maybe<ElementType> {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:169:5: warning: 'public' modifier is redundant for static method declared in a public extension
        public static func empty() -> Maybe<ElementType> {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:188:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func `do`(onNext: ((ElementType) throws -> Void)? = nil,
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:213:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func filter(_ predicate: @escaping (ElementType) throws -> Bool)
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:227:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func map<R>(_ transform: @escaping (ElementType) throws -> R)
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:240:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func flatMap<R>(_ selector: @escaping (ElementType) throws -> Maybe<R>)
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:253:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func ifEmpty(default: ElementType) -> Single<ElementType> {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:265:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func ifEmpty(switchTo other: Maybe<ElementType>) -> Maybe<ElementType> {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:277:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func ifEmpty(switchTo other: Single<ElementType>) -> Single<ElementType> {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:289:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func catchErrorJustReturn(_ element: ElementType)
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxBluetoothKit/Observable+QueueSubscribeOn.swift:51:30: warning: 'index(where:)' is deprecated: renamed to 'firstIndex(where:)'
            if let index = queue.index(where: { $0 === observable }) {
                                 ^
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxBluetoothKit/Observable+QueueSubscribeOn.swift:51:30: note: use 'firstIndex(where:)' instead
            if let index = queue.index(where: { $0 === observable }) {
                                 ^~~~~
                                 firstIndex
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxBluetoothKit/Logging.swift:157:9: warning: switch covers known cases, but 'CBCharacteristicWriteType' may have additional unknown values, possibly added in future versions
            switch self {
            ^
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxBluetoothKit/Logging.swift:157:9: note: handle unknown values using "@unknown default"
            switch self {
            ^
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:30:5: warning: 'public' modifier is redundant for type alias declared in a public extension
        public typealias MaybeObserver = (MaybeEvent<ElementType>) -> ()
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:40:5: warning: 'public' modifier is redundant for static method declared in a public extension
        public static func create(subscribe: @escaping (@escaping MaybeObserver) -> Disposable) -> PrimitiveSequence<TraitType, ElementType> {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:63:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func subscribe(_ observer: @escaping (MaybeEvent<ElementType>) -> ()) -> Disposable {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:88:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func subscribe(onSuccess: ((ElementType) -> Void)? = nil,
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:123:5: warning: 'public' modifier is redundant for static method declared in a public extension
        public static func just(_ element: ElementType) -> Maybe<ElementType> {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:136:5: warning: 'public' modifier is redundant for static method declared in a public extension
        public static func just(_ element: ElementType, scheduler: ImmediateSchedulerType) -> Maybe<ElementType> {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:147:5: warning: 'public' modifier is redundant for static method declared in a public extension
        public static func error(_ error: Swift.Error) -> Maybe<ElementType> {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:158:5: warning: 'public' modifier is redundant for static method declared in a public extension
        public static func never() -> Maybe<ElementType> {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:169:5: warning: 'public' modifier is redundant for static method declared in a public extension
        public static func empty() -> Maybe<ElementType> {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:188:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func `do`(onNext: ((ElementType) throws -> Void)? = nil,
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:213:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func filter(_ predicate: @escaping (ElementType) throws -> Bool)
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:227:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func map<R>(_ transform: @escaping (ElementType) throws -> R)
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:240:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func flatMap<R>(_ selector: @escaping (ElementType) throws -> Maybe<R>)
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:253:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func ifEmpty(default: ElementType) -> Single<ElementType> {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:265:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func ifEmpty(switchTo other: Maybe<ElementType>) -> Maybe<ElementType> {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:277:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func ifEmpty(switchTo other: Single<ElementType>) -> Single<ElementType> {
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Traits/Maybe.swift:289:5: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func catchErrorJustReturn(_ element: ElementType)
        ^~~~~~~
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxBluetoothKit/Observable+QueueSubscribeOn.swift:51:30: warning: 'index(where:)' is deprecated: renamed to 'firstIndex(where:)'
            if let index = queue.index(where: { $0 === observable }) {
                                 ^
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxBluetoothKit/Observable+QueueSubscribeOn.swift:51:30: note: use 'firstIndex(where:)' instead
            if let index = queue.index(where: { $0 === observable }) {
                                 ^~~~~
                                 firstIndex
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxBluetoothKit/Peripheral.swift:254:9: warning: switch covers known cases, but 'CBCharacteristicWriteType' may have additional unknown values, possibly added in future versions
            switch type {
            ^
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxBluetoothKit/Peripheral.swift:254:9: note: handle unknown values using "@unknown default"
            switch type {
            ^
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Observables/Zip+arity.swift:74:16: warning: will never be executed
            return false
                   ^
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Observables/Zip+arity.swift:71:13: note: a call to a never-returning function
                rxFatalError("Unhandled case (Function)")
                ^
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Observables/Zip+arity.swift:186:16: warning: will never be executed
            return false
                   ^
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Observables/Zip+arity.swift:183:13: note: a call to a never-returning function
                rxFatalError("Unhandled case (Function)")
                ^
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Observables/Zip+arity.swift:306:16: warning: will never be executed
            return false
                   ^
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Observables/Zip+arity.swift:303:13: note: a call to a never-returning function
                rxFatalError("Unhandled case (Function)")
                ^
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Observables/Zip+arity.swift:434:16: warning: will never be executed
            return false
                   ^
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Observables/Zip+arity.swift:431:13: note: a call to a never-returning function
                rxFatalError("Unhandled case (Function)")
                ^
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Observables/Zip+arity.swift:570:16: warning: will never be executed
            return false
                   ^
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Observables/Zip+arity.swift:567:13: note: a call to a never-returning function
                rxFatalError("Unhandled case (Function)")
                ^
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Observables/Zip+arity.swift:714:16: warning: will never be executed
            return false
                   ^
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Observables/Zip+arity.swift:711:13: note: a call to a never-returning function
                rxFatalError("Unhandled case (Function)")
                ^
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Observables/Zip+arity.swift:866:16: warning: will never be executed
            return false
                   ^
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Pods/MultiplatformBleAdapter/iOS/RxSwift/Observables/Zip+arity.swift:863:13: note: a call to a never-returning function
                rxFatalError("Unhandled case (Function)")
                ^
    /Users/rebar/.pub-cache/hosted/pub.dartlang.org/flutter_blue-0.7.2/ios/Classes/FlutterBluePlugin.m:549:49: warning: 'CBManagerState' is only available on iOS 10.0 or newer [-Wunguarded-availability]
    - (ProtosBluetoothState*)toBluetoothStateProto:(CBManagerState)state {
                                                    ^
    In module 'CoreBluetooth' imported from /Users/rebar/.pub-cache/hosted/pub.dartlang.org/flutter_blue-0.7.2/ios/Classes/FlutterBluePlugin.h:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBManager.h:32:28: note: 'CBManagerState' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
    typedef NS_ENUM(NSInteger, CBManagerState) {
                               ^
    /Users/rebar/.pub-cache/hosted/pub.dartlang.org/flutter_blue-0.7.2/ios/Classes/FlutterBluePlugin.m:549:1: note: annotate 'toBluetoothStateProto:' with an availability attribute to silence this warning
    - (ProtosBluetoothState*)toBluetoothStateProto:(CBManagerState)state {
    ^
                                                                          API_AVAILABLE(ios(10.0))
    /Users/rebar/.pub-cache/hosted/pub.dartlang.org/flutter_blue-0.7.2/ios/Classes/FlutterBluePlugin.m:74:37: warning: 'CBManagerStateUnsupported' is only available on iOS 10.0 or newer [-Wunguarded-availability]
        if(self.centralManager.state != CBManagerStateUnsupported && self.centralManager.state != CBManagerStateUnknown) {
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~
    In module 'CoreBluetooth' imported from /Users/rebar/.pub-cache/hosted/pub.dartlang.org/flutter_blue-0.7.2/ios/Classes/FlutterBluePlugin.h:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBManager.h:32:28: note: 'CBManagerState' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
    typedef NS_ENUM(NSInteger, CBManagerState) {
                               ^
    /Users/rebar/.pub-cache/hosted/pub.dartlang.org/flutter_blue-0.7.2/ios/Classes/FlutterBluePlugin.m:74:37: note: enclose 'CBManagerStateUnsupported' in an @available check to silence this warning
        if(self.centralManager.state != CBManagerStateUnsupported && self.centralManager.state != CBManagerStateUnknown) {
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/rebar/.pub-cache/hosted/pub.dartlang.org/flutter_blue-0.7.2/ios/Classes/FlutterBluePlugin.m:74:95: warning: 'CBManagerStateUnknown' is only available on iOS 10.0 or newer [-Wunguarded-availability]
        if(self.centralManager.state != CBManagerStateUnsupported && self.centralManager.state != CBManagerStateUnknown) {
                                                                                                  ^~~~~~~~~~~~~~~~~~~~~
    In module 'CoreBluetooth' imported from /Users/rebar/.pub-cache/hosted/pub.dartlang.org/flutter_blue-0.7.2/ios/Classes/FlutterBluePlugin.h:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBManager.h:32:28: note: 'CBManagerState' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
    typedef NS_ENUM(NSInteger, CBManagerState) {
                               ^
    /Users/rebar/.pub-cache/hosted/pub.dartlang.org/flutter_blue-0.7.2/ios/Classes/FlutterBluePlugin.m:74:95: note: enclose 'CBManagerStateUnknown' in an @available check to silence this warning
        if(self.centralManager.state != CBManagerStateUnsupported && self.centralManager.state != CBManagerStateUnknown) {
                                                                                                  ^~~~~~~~~~~~~~~~~~~~~
    /Users/rebar/.pub-cache/hosted/pub.dartlang.org/flutter_blue-0.7.2/ios/Classes/FlutterBluePlugin.m:80:37: warning: 'CBManagerStatePoweredOn' is only available on iOS 10.0 or newer [-Wunguarded-availability]
        if(self.centralManager.state == CBManagerStatePoweredOn) {
                                        ^~~~~~~~~~~~~~~~~~~~~~~
    In module 'CoreBluetooth' imported from /Users/rebar/.pub-cache/hosted/pub.dartlang.org/flutter_blue-0.7.2/ios/Classes/FlutterBluePlugin.h:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBManager.h:32:28: note: 'CBManagerState' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
    typedef NS_ENUM(NSInteger, CBManagerState) {
                               ^
    /Users/rebar/.pub-cache/hosted/pub.dartlang.org/flutter_blue-0.7.2/ios/Classes/FlutterBluePlugin.m:80:37: note: enclose 'CBManagerStatePoweredOn' in an @available check to silence this warning
        if(self.centralManager.state == CBManagerStatePoweredOn) {
                                        ^~~~~~~~~~~~~~~~~~~~~~~
    4 warnings generated.
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Runner/AppDelegate.swift:11:9: warning: initialization of variable 'flutter_native_splash' was never used; consider replacing with assignment to '_' or removing it
        var flutter_native_splash = 1
        ~~~~^~~~~~~~~~~~~~~~~~~~~
        _
    While building module 'flutter_blue' imported from /Users/rebar/Documents/AMPTech/amptech-app/ios/Runner/GeneratedPluginRegistrant.m:22:
    In file included from <module-includes>:1:
    /Users/rebar/Documents/AMPTech/amptech-app/build/ios/Debug-iphoneos/flutter_blue/flutter_blue.framework/Headers/flutter_blue-umbrella.h:13:9: fatal error: 'FlutterBluePlugin.h' file not found
    #import "FlutterBluePlugin.h"
            ^~~~~~~~~~~~~~~~~~~~~
    1 error generated.
    /Users/rebar/Documents/AMPTech/amptech-app/ios/Runner/GeneratedPluginRegistrant.m:22:9: fatal error: could not build module 'flutter_blue'
    @import flutter_blue;
     ~~~~~~~^~~~~~~~~~~~
    2 errors generated.
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description
Could not build the precompiled application for the device.

Error launching application on iPad von App.
Exited (sigterm)

Most helpful comment

My problem has been solved (for the time being) click

pic.png

All 5 comments

         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
While building module 'flutter_blue' imported from /Users/limi/Desktop/aar_test/flutter_module_aar/.ios/Flutter/FlutterPluginRegistrant/Classes/GeneratedPluginRegistrant.m:14:
In file included from <module-includes>:1:
In file included from /Users/limi/Desktop/aar_test/flutter_module_aar/.ios/Pods/Target Support Files/flutter_blue/flutter_blue-umbrella.h:14:
/Users/limi/Downloads/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_blue-0.7.2/ios/gen/Flutterblue.pbobjc.h:13:10: fatal error: could not build module 'protobuf'
 #import "GPBProtocolBuffers.h"
  ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
/Users/limi/Desktop/aar_test/flutter_module_aar/.ios/Flutter/FlutterPluginRegistrant/Classes/GeneratedPluginRegistrant.m:14:9: fatal error: could not build module 'flutter_blue'
#import <flutter_blue/FlutterBluePlugin.h>
 ~~~~~~~^
3 errors generated.
note: Using new build system
note: Planning build
note: Constructing build description

the same to me

the same to me

Guys if you got the same problem, please thumbs up the issue to get the maintainers aware of this. Thanks!

My problem has been solved (for the time being) click

pic.png

This solves the compilation but the app is crashing after splashscreen...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ekuleshov picture ekuleshov  Â·  3Comments

saulopef picture saulopef  Â·  4Comments

M3sca picture M3sca  Â·  3Comments

ssaylanc picture ssaylanc  Â·  4Comments

Fleximex picture Fleximex  Â·  5Comments