Skip to content

note: 'bringSubview(toFront:)' was obsoleted in Swift 4.2 open func bringSubview(toFront view: UIView) #9

Description

@henry0510

/Users/henry/.pub-cache/hosted/pub.flutter-io.cn/flutter_plugin_qrcode-2.0.0/ios/Classes/ACScanViewController.swift:206:14: error: 'bringSubview(toFront:)' has been renamed to 'bringSubviewToFront(_:)'
view.bringSubview(toFront: self.animalLine)
^~~~~~~~~~~~ ~~~~~~~~~
bringSubviewToFront
UIKit.UIView:17:15: note: 'bringSubview(toFront:)' was obsoleted in Swift 4.2
open func bringSubview(toFront view: UIView)
^
/Users/henry/.pub-cache/hosted/pub.flutter-io.cn/flutter_plugin_qrcode-2.0.0/ios/Classes/ACScanViewController.swift:231:61: error: 'commonModes' has been renamed to 'RunLoop.Mode.common'
RunLoop.main.add(self.timer!, forMode: RunLoop.Mode.commonModes)
^~~~~~~~~~~
RunLoop.Mode.common
Foundation.RunLoop.Mode:9:23: note: 'commonModes' was obsoleted in Swift 4.2
public static let commonModes: RunLoop.Mode
^
While building module 'Bugly' imported from

henry@HenrydeMacBook-Pro ios % flutter doctor -v
[✓] Flutter (Channel stable, 1.22.5, on Mac OS X 10.15.6 19G73
darwin-x64, locale zh-Hans-CN)
• Flutter version 1.22.5 at
/Users/henry/Documents/Flutter/sdk/flutter
• Framework revision 7891006299 (5 周前), 2020-12-10 11:54:40 -0800
• Engine revision ae90085a84
• Dart version 2.10.4
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK
version 30.0.3)
• Android SDK at /Users/henry/Library/Android/sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.3, Build version 12C33
• CocoaPods version 1.10.0

[✓] Android Studio (version 4.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin installed
• Dart plugin version 193.7547
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6222593)

[!] VS Code (version 1.52.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
✗ Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flu
tter

[✓] Connected device (2 available)
• iPhone (mobile) • 00008020-001C346A0288002E
• ios • iOS 14.2
• iPhone 12 Pro Max (mobile) • 4ACC2862-3EEF-4410-9FA1-F32197D35DAC
• ios • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)

! Doctor found issues in 1 category.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions