Increasing plugin podspec minimum ios version causes compilation fatal error: module not found #56935
Labels
platform-ios
iOS applications specifically
r: fixed
Issue is closed as already fixed in a newer version
t: xcode
"xcodebuild" on iOS and general Xcode project management
tool
Affects the "flutter" command-line tool. See also t: labels.
There is a huge problem in one of our packages, which had set it's iOS platform to 11.3 within the ios/*.podspec file.
It causes the main app build to fail when combined with e2e plugin, for example.
Here is the sample repo:
https://github.com/ened/flt_perf_09_e2e_plugin
The repository was created using:
Using the Flutter version below.
If you checkout the repository above and run the following:
This indicates the e2e module can not be resolved.
Now, go back 1 commit, to ened/flt_perf_09_e2e_plugin@7b976e5. The only change here is the revert of the .podspec's platform version and the Podfile platform.
The application can now build. Unless there is a requirement somewhere to never touch the .podspec file in a plugins ios folder (then this issue should track the addition of a "DO NOT TOUCH" comment), this may be a bug in Flutters iOS build system.
Flutter doctor
The text was updated successfully, but these errors were encountered: