subosito / flutter-action

Flutter environment for use in GitHub Actions. It works on Linux, Windows, and macOS.
MIT License
2.28k stars 202 forks source link

Update XCode to 15.3 #294

Closed saltorre closed 8 months ago

saltorre commented 8 months ago

Flutter doctor returns:

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode_14.2.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.15.2

I get this error when building:

Xcode build done.                                           78.1s
Failed to build iOS app
Swift Compiler Error (Xcode): Value of type 'InAppWebView' has no member 'isInspectable'
/Users/runner/.pub-cache/hosted/pub.dev/flutter_inappwebview_ios-1.0.13/ios/Classes/InAppWebView/InAppWebViewSettings.swift:173:56

Swift Compiler Error (Xcode): Value of type 'WKPreferences' has no member 'shouldPrintBackgrounds'
/Users/runner/.pub-cache/hosted/pub.dev/flutter_inappwebview_ios-1.0.13/ios/Classes/InAppWebView/InAppWebViewSettings.swift:174:83

Uncategorized (Xcode): Command SwiftCompile failed with a nonzero exit code

Encountered error while building for device.

Update of XCode is requested here: https://github.com/pichillilorenzo/flutter_inappwebview/issues/1369

saltorre commented 8 months ago

Nevermind. This was fixed by using macos-14.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode_15.0.1.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.14.3