HelpDesk

HelpDesk Support System

DTLive - Flutter App (Android - iOS - Website ) Movies - TV Series - Live TV - OTT - Admin Panel

Q:

ios app not building

Trashed public

hello,


my android apps building okey no problems but when i build or run ios app not running in ios simalator..



here is log of android studio.



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

Running pod install...

Running Xcode build...

Xcode build done.                                           12.1s

Failed to build iOS app

Error output from Xcode build:

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

    { platform:iOS Simulator, id:2E1A282D-47A7-4B07-96DA-4AB580E9CA86, OS:17.5, name:iPhone 15 Pro Max }

    { platform:iOS Simulator, id:2E1A282D-47A7-4B07-96DA-4AB580E9CA86, OS:17.5, name:iPhone 15 Pro Max }

    ** BUILD FAILED **



Xcode's output:

    Writing result bundle at path:

    /var/folders/4x/91f64wg94s5057bgvllb1qhh0000gn/T/flutter_tools.8UXd7v/flutter_ios_build_temp_dirj2igHS/temporary_xcresult_bundle


    /Users/najim/.pub-cache/hosted/pub.dev/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/najim/.pub-cache/hosted/pub.dev/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/najim/.pub-cache/hosted/pub.dev/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/najim/.pub-cache/hosted/pub.dev/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/najim/.pub-cache/hosted/pub.dev/flutter_inappwebview-5.8.0/ios/Classes/Types/URLCredential.swift:14:25: warning: comparing non-optional value of type '[Any]' to 'nil' always returns true

            if certificates != nil {

               ~~~~~~~~~~~~ ^  ~~~

    /Users/najim/.pub-cache/hosted/pub.dev/flutter_inappwebview-5.8.0/ios/Classes/Types/URLProtectionSpace.swift:18:38: warning: 'SecTrustEvaluate' was deprecated in iOS 13.0: renamed to 'SecTrustEvaluateWithError(_:_:)'

            let secTrustEvaluateStatus = SecTrustEvaluate(serverTrust, &secResult);

                                         ^

    /Users/najim/.pub-cache/hosted/pub.dev/flutter_inappwebview-5.8.0/ios/Classes/Types/URLProtectionSpace.swift:18:38: note: use 'SecTrustEvaluateWithError(_:_:)' instead

            let secTrustEvaluateStatus = SecTrustEvaluate(serverTrust, &secResult);

                                         ^~~~~~~~~~~~~~~~

                                         SecTrustEvaluateWithError

    /Users/najim/.pub-cache/hosted/pub.dev/flutter_inappwebview-5.8.0/ios/Classes/Types/URLProtectionSpace.swift:40:9: warning: 'SecTrustEvaluate' was deprecated in iOS 13.0: renamed to 'SecTrustEvaluateWithError(_:_:)'

            SecTrustEvaluate(serverTrust, &secResult);

            ^

    /Users/najim/.pub-cache/hosted/pub.dev/flutter_inappwebview-5.8.0/ios/Classes/Types/URLProtectionSpace.swift:40:9: note: use 'SecTrustEvaluateWithError(_:_:)' instead

            SecTrustEvaluate(serverTrust, &secResult);

            ^~~~~~~~~~~~~~~~

            SecTrustEvaluateWithError

    Command SwiftCompile failed with a nonzero exit code

    /Users/najim/Desktop/dtlive/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 'SAMKeychain' from project 'Pods')

    /Users/najim/Desktop/dtlive/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/najim/Desktop/dtlive/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/najim/Desktop/dtlive/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/najim/Desktop/dtlive/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/najim/Desktop/dtlive/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/najim/Desktop/dtlive/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 'wakelock_plus-thermal' from project 'Pods')

    /Users/najim/Desktop/dtlive/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/najim/Desktop/dtlive/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/najim/Desktop/dtlive/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/najim/Desktop/dtlive/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/najim/Desktop/dtlive/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 'Protobuf-Protobuf_Privacy' from project 'Pods')

    /Users/najim/Desktop/dtlive/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/najim/Desktop/dtlive/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/najim/Desktop/dtlive/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 'Protobuf' from project 'Pods')

    /Users/najim/Desktop/dtlive/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/najim/Desktop/dtlive/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/najim/Desktop/dtlive/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')

    /Users/najim/Desktop/dtlive/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/najim/Desktop/dtlive/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/najim/Desktop/dtlive/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/najim/Desktop/dtlive/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')

    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/najim/Desktop/dtlive/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')


Could not build the application for the simulator.

Error launching application on iPhone 15 Pro Max.


All Replies

Viewing 9 to 12 of total 31 topics

Can you please check now ?

Regards,
Mr. Priyank

Give you update in few hours. We are resolving this "null" message issue.

Regards,
Mr. Priyank

Thank you for trusting us with your server details. We take your trust seriously and will ensure that everything is handled with the utmost care and security.

We're currently looking into the "login time null message" issue, and I will update you as soon as it’s resolved. Your patience is greatly appreciated, and we’ll keep you informed of our progress.

Regards,
Mr. Priyank

1). For the issue shown here https://ibb.co/5MSbjCt, can you please share your server details? We will resolve this "null" message issue and update you.

2). For the launch issue on the iPhone 15 Pro, follow the steps below:

Step 1: Close Xcode and run the following commands one by one:

flutter clean flutter pub get cd ios rm -rf Pods/ rm Podfile.lock pod install pod update

Step 2: Add the device in the Apple Developer console. Follow this link for guidance:
Apple Developer Console

Step 3: After adding the device to the Developer console, open Xcode and run the app.

Regards,
Mr. Priyank

Viewing 9 to 12 of total 31 topics

Support is Online

Office hours

Monday - Friday
10:00 AM - 06:00 PM
IST (GMT +5:30)

  • Office time

    00:00:00 AM

  • Your time

    00:00:0 AM

Explore Our Support Documentation

Whether you're troubleshooting an issue or looking for step-by-step guidance, our resources are designed to empower you with the knowledge you need