You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running this action on the 'macos-latest' VM and after the release on 1.22.5 I cannot build the iOS app manually because the pod install command fails with the following error:
2020-12-21T08:56:51.7416570Z ##[group]Run pod install
2020-12-21T08:56:51.7417190Z �[36;1mpod install�[0m
2020-12-21T08:56:51.7581660Z shell: /bin/bash -e {0}
2020-12-21T08:56:51.7582170Z env:
2020-12-21T08:56:51.7582670Z K_FLUTTER_CHANNEL: stable
2020-12-21T08:56:51.7583140Z K_JAVA_VERSION: 12.x
2020-12-21T08:56:51.7583620Z K_XCODE_VERSION: 12.2
2020-12-21T08:56:51.7584450Z K_APK_FILE: app-release.apk
2020-12-21T08:56:51.7584970Z K_IPA_FILE: App.ipa
2020-12-21T08:56:51.7585510Z K_IOS_ARTIFACT_NAME: release-ios
2020-12-21T08:56:51.7586120Z K_ANDROID_ARTIFACT_NAME: release-apk
2020-12-21T08:56:51.7586750Z MD_APPLE_SDK_ROOT: /Applications/Xcode_12.2.app
2020-12-21T08:56:51.7587560Z FLUTTER_HOME: /Users/runner/hostedtoolcache/flutter/1.22.5-stable/x64
2020-12-21T08:56:51.7588830Z ##[endgroup]
2020-12-21T08:56:57.1427010Z cp: /Users/runner/hostedtoolcache/flutter/1.22.5-stable/x64/bin/cache/artifacts/engine/ios/Flutter.framework: No such file or directory
2020-12-21T08:56:57.1456040Z cp: /Users/runner/hostedtoolcache/flutter/1.22.5-stable/x64/bin/cache/artifacts/engine/ios/Flutter.podspec: No such file or directory
2020-12-21T08:56:57.3212240Z
2020-12-21T08:56:57.3213100Z Analyzing dependencies
2020-12-21T08:56:57.3214620Z [!] Automatically assigning platform `iOS` with version `9.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.
2020-12-21T08:56:57.3216090Z [!] No podspec found for `Flutter` in `Flutter`
2020-12-21T08:56:57.3312690Z ##[error]Process completed with exit code 1.
When setting the flutter version to 1.22.4, the app builds without issue.
Here is the output of the flutter doctor -v command.
@daniil-shumko as reported here flutter/flutter#55095, you need to run flutter build ios or flutter precache before pod install, so that flutter can lazily download the tools required for building. When you run pod install manually, flutter has no chance to download them.
Why this issue happens in 1.22.5, but not 1.22.4 is still a mystery, though
I am running this action on the 'macos-latest' VM and after the release on 1.22.5 I cannot build the iOS app manually because the
pod install
command fails with the following error:When setting the flutter version to 1.22.4, the app builds without issue.
Here is the output of the
flutter doctor -v
command.The text was updated successfully, but these errors were encountered: