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.
Xcode Version 16.0 (16A242d)