-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while building ios app #2144
Comments
NOTE: This comment is auto-generated. Are you sure you have already searched for the same problem? Some people open new issues but they didn't search for something similar or for the same issue. Please, search for it using the GitHub issue search box or on the official inappwebview.dev website, or, also, using Google, StackOverflow, etc. before posting a new one. You may already find an answer to your problem! If this is really a new issue, then thank you for raising it. I will investigate it and get back to you as soon as possible. Please, make sure you have given me as much context as possible! Also, if you didn't already, post a code example that can replicate this issue. In the meantime, you can already search for some possible solutions online! Because this plugin uses native WebView, you can search online for the same issue adding Following these steps can save you, me, and other people a lot of time, thanks! |
Environment
Device information:
Error is because "flutter_inappwebview_ios 1.0.13" package
Description
Expected behavior:
App must build fine
Current behavior:
an error occured
Steps to reproduce
just building app
Stacktrace/Logcat
Launching lib/main.dart on iPhone 15 Pro Max in debug mode...
Running pod install...
Running Xcode build...
Xcode build done. 331.0s
Failed to build iOS app
Error output from Xcode build:
↳
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:iOS Simulator, id:ECE5A566-5336-41EB-9A0F-6C7D9954E1A7, OS:17.5, name:iPhone 15 Pro Max }
{ platform:iOS Simulator, id:ECE5A566-5336-41EB-9A0F-6C7D9954E1A7, OS:17.5, name:iPhone 15 Pro Max }
** BUILD FAILED **
Xcode's output:
↳
/Users/mac/.pub-cache/hosted/pub.dev/flutter_inappwebview_ios-1.0.13/ios/Classes/Types/URLProtectionSpace.swift:18:38: warning: 'SecTrustEvaluate' was deprecated in iOS 13.0: renamed to 'SecTrustEvaluateWithError(::)'
let secTrustEvaluateStatus = SecTrustEvaluate(serverTrust, &secResult);
^
/Users/mac/.pub-cache/hosted/pub.dev/flutter_inappwebview_ios-1.0.13/ios/Classes/Types/URLProtectionSpace.swift:18:38: note: use 'SecTrustEvaluateWithError(::)' instead
let secTrustEvaluateStatus = SecTrustEvaluate(serverTrust, &secResult);
^~~~~~~~~~~~~~~~
SecTrustEvaluateWithError
/Users/mac/.pub-cache/hosted/pub.dev/flutter_inappwebview_ios-1.0.13/ios/Classes/Types/URLProtectionSpace.swift:40:9: warning: 'SecTrustEvaluate' was deprecated in iOS 13.0: renamed to 'SecTrustEvaluateWithError(::)'
SecTrustEvaluate(serverTrust, &secResult);
^
/Users/mac/.pub-cache/hosted/pub.dev/flutter_inappwebview_ios-1.0.13/ios/Classes/Types/URLProtectionSpace.swift:40:9: note: use 'SecTrustEvaluateWithError(::)' instead
SecTrustEvaluate(serverTrust, &secResult);
^~~~~~~~~~~~~~~~
SecTrustEvaluateWithError
/Users/mac/.pub-cache/hosted/pub.dev/flutter_inappwebview_ios-1.0.13/ios/Classes/Util.swift:86:25: warning: 'spotlightSuggestion' was deprecated in iOS 10.0: renamed to 'WKDataDetectorTypes.lookupSuggestion'
return .spotlightSuggestion
^
/Users/mac/.pub-cache/hosted/pub.dev/flutter_inappwebview_ios-1.0.13/ios/Classes/Types/URLProtectionSpace.swift:18:38: warning: 'SecTrustEvaluate' was deprecated in iOS 13.0: renamed to 'SecTrustEvaluateWithError(::)'
let secTrustEvaluateStatus = SecTrustEvaluate(serverTrust, &secResult);
^
/Users/mac/.pub-cache/hosted/pub.dev/flutter_inappwebview_ios-1.0.13/ios/Classes/Types/URLProtectionSpace.swift:18:38: note: use 'SecTrustEvaluateWithError(::)' instead
let secTrustEvaluateStatus = SecTrustEvaluate(serverTrust, &secResult);
^~~~~~~~~~~~~~~~
SecTrustEvaluateWithError
/Users/mac/.pub-cache/hosted/pub.dev/flutter_inappwebview_ios-1.0.13/ios/Classes/Types/URLProtectionSpace.swift:40:9: warning: 'SecTrustEvaluate' was deprecated in iOS 13.0: renamed to 'SecTrustEvaluateWithError(::)'
SecTrustEvaluate(serverTrust, &secResult);
^
/Users/mac/.pub-cache/hosted/pub.dev/flutter_inappwebview_ios-1.0.13/ios/Classes/Types/URLProtectionSpace.swift:40:9: note: use 'SecTrustEvaluateWithError(::)' instead
SecTrustEvaluate(serverTrust, &secResult);
^~~~~~~~~~~~~~~~
SecTrustEvaluateWithError
Could not build the application for the simulator.
Error launching application on iPhone 15 Pro Max.
The text was updated successfully, but these errors were encountered: