Describe the bug
Unable to build on IOS I receive this error
Invalidfirebase_in_app_messaging.podspecfile: undefined local variable or methodpubspec' for Pod:Module`
To Reproduce
Steps to reproduce the behavior:
1.Add the plugin on pubspec.yaml firebase_in_app_messaging: ^0.2.0
[!] Failed to load 'firebase_in_app_messaging' podspec:
[!] Invalid `firebase_in_app_messaging.podspec` file: undefined local variable or method `pubspec' for Pod:Module.
# from /Users/mohammadbdair/source/rezqa/ios/.symlinks/plugins/firebase_in_app_messaging/ios/firebase_in_app_messaging.podspec:13
# -------------------------------------------
# firebase_sdk_version = firebase_sdk_version!
> Pod::UI.puts "#{pubspec['name']}: Using Firebase SDK version '#{firebase_sdk_version}' defined in 'firebase_core'"
# end
# -------------------------------------------
Flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.20.1, on Mac OS X 10.15.5 19F101, locale en-JO)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
[✓] Android Studio (version 4.0)
[✓] VS Code (version 1.48.0)
[✓] Connected device (2 available)
• No issues found!
Thanks for the report. I see the issue, will push a fix up later today.
Thanks @Salakar looking forward
@Salakar is it fixed?? how to get the update??
Fix has been merged, will be doing a release in an hour or two.
@Salakar thanks :)
Release with a fix is now published. Latest versions can be seen here.
Thanks again for the bug report :)
Most helpful comment
Fix has been merged, will be doing a release in an hour or two.