#
An error occurred when running iOS content in Visual Studio.

Launching lib/main.dart on iPhone 15 Pro Max in debug mode...

Xcode build done.                                           13.2s

Failed to build iOS app

Error output from Xcode build:

    --- xcodebuild: WARNING: Using the first of multiple matching destinations:

    { platform:iOS Simulator, id:0814D63B-A3FA-4709-8FF4-8B26570328EE, OS:17.5, name:iPhone 15 Pro Max }

    { platform:iOS Simulator, id:0814D63B-A3FA-4709-8FF4-8B26570328EE, OS:17.5, name:iPhone 15 Pro Max }

    ** BUILD FAILED **

Xcode's output:

    Writing result bundle at path:

    /var/folders/cp/g0_bv6s54fb3jpylmk2xc4800000gn/T/flutter_tools.GSkonk/flutter_ios_build_temp_dirmtpGgE/temporary_xcresult_bundle

    /Users/zhujian/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/flutter_inappwebview-5.8.0/ios/Classes/InAppWebView/InAppWebView.swift:1226:26: error: method does not override any method from its superclass

        public override func evaluateJavaScript(_ javaScriptString: String, completionHandler: ((Any?, Error?) -> Void)? = nil) {

                             ^

    WebKit.WKWebView:46:15: note: potential overridden instance method 'evaluateJavaScript(_:completionHandler:)' here

        open func evaluateJavaScript(_ javaScriptString: String, completionHandler: (@MainActor @Sendable (Any?, (any Error)?) -> Void)? = nil)

                  ^

    /Users/zhujian/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/flutter_inappwebview-5.8.0/ios/Classes/InAppWebView/InAppWebView.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WebKit'

    import WebKit

    ^

    @preconcurrency

    /Users/zhujian/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/flutter_inappwebview-5.8.0/ios/Classes/InAppWebView/InAppWebView.swift:1226:26: error: method does not override any method from its superclass

        public override func evaluateJavaScript(_ javaScriptString: String, completionHandler: ((Any?, Error?) -> Void)? = nil) {

                             ^

    WebKit.WKWebView:46:15: note: potential overridden instance method 'evaluateJavaScript(_:completionHandler:)' here

        open func evaluateJavaScript(_ javaScriptString: String, completionHandler: (@MainActor @Sendable (Any?, (any Error)?) -> Void)? = nil)

                  ^

    /Users/zhujian/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/flutter_inappwebview-5.8.0/ios/Classes/InAppWebView/InAppWebView.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WebKit'

    import WebKit

    ^

    @preconcurrency

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'permission_handler_apple-permission_handler_apple_privacy' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'nanopb-nanopb_Privacy' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 11.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'firebase_messaging-firebase_messaging_Privacy' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'Try' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'SwiftyGif-SwiftyGif' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'ScreenProtectorKit' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'SDWebImage-SDWebImage' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 11.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'RecaptchaInterop' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'PromisesObjC-FBLPromises_Privacy' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'OrderedSet' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'GTMSessionFetcher-GTMSessionFetcher_Full_Privacy' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'GTMSessionFetcher-GTMSessionFetcher_Core_Privacy' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'FirebaseAppCheckInterop' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'AppAuth-AppAuthCore_Privacy' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'GoogleUtilities' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'GTMAppAuth' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'nanopb' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'razorpay-pod' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'DKPhotoGallery-DKPhotoGallery' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'DKImagePickerController-DKImagePickerController' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 11.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'Firebase' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'FirebaseInstallations' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'PromisesObjC' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 11.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'FirebaseAuth-FirebaseAuth_Privacy' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 11.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'FirebaseMessaging' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'FirebaseCoreInternal-FirebaseCoreInternal_Privacy' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'GTMSessionFetcher' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'GoogleDataTransport-GoogleDataTransport_Privacy' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'FirebaseInstallations-FirebaseInstallations_Privacy' from project 'Pods')

    note: Run script build phase 'Run Script' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'Runner' from project 'Runner')

    note: Run script build phase 'Thin Binary' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'Runner' from project 'Runner')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'fluttertoast-fluttertoast_privacy' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'GoogleDataTransport' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'SwiftyGif' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 11.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'FirebaseMessaging-FirebaseMessaging_Privacy' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'SDWebImage' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'FirebaseCore-FirebaseCore_Privacy' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 11.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'FirebaseAuth' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'DKImagePickerController' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'GoogleSignIn-GoogleSignIn' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'GoogleSignIn' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 11.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'OneSignalXCFramework' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'DKPhotoGallery' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'GoogleUtilities-GoogleUtilities_Privacy' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'GTMAppAuth-GTMAppAuth_Privacy' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'FirebaseCore' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'FirebaseCoreInternal' from project 'Pods')

    /Users/zhujian/Desktop/raynovel/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'AppAuth' from project 'Pods')

Could not build the application for the simulator.

Error launching application on iPhone 15 Pro Max.

Exited (1).

Asked 4 days ago on October 13, 2024 5:02 PM Comments 0 times


Recent Tickets
Issues 4 months ago on June 11, 2024 2:33 AM An error occurred when ru... 4 days ago on October 13, 2024 5:02 PM Error when importing a pr... 1 month ago on August 24, 2024 2:28 AM Help for App 1 month ago on August 22, 2024 9:43 AM Errors setting up on andr... 1 month ago on August 20, 2024 5:29 PM Novels section doesnt app... 2 months ago on August 16, 2024 2:07 AM Web version 2 months ago on August 16, 2024 1:56 AM app issues on playstore... 2 months ago on August 6, 2024 6:58 AM I can't generate apk... 3 months ago on July 4, 2024 10:32 AM CODE USSUE 4 months ago on June 9, 2024 9:59 AM