flet-dev / flet

Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.
https://flet.dev
Apache License 2.0
11.56k stars 452 forks source link

IPA build fails with `pod install error` #4168

Closed ndonkoHenri closed 1 month ago

ndonkoHenri commented 1 month ago
Running pod install...                                              3.0s
CocoaPods' output:
↳
      Preparing

    Analyzing dependencies
Error: The plugin "serious_python_darwin" requires a higher minimum iOS deployment version than your application is targeting.

To build, increase your application's deployment target to at least 13.0 as described at https://flutter.dev/to/ios-deploy
Error running pod install

Complete logs here.

To fix it, I had to modify the ios-platform constant in ios/Podfile (in a custom-build-template) from '12.0' to '13.0' as requested in the error message.

We need to update the default build template to this version. Also, will be nice to have a property for this in the pyproject.toml (https://github.com/flet-dev/flet/pull/4166)

FeodorFitsner commented 1 month ago

Template has been updated.