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
{{ message }}
This repository was archived by the owner on Apr 4, 2023. It is now read-only.
My project is in an automated build environment and I noticed that it started to fail today. It appears that this plugin was updated to version 5.3.0 and the way XCode merges the podfile is incorrect. I only have Admob and Messaging enabled in my app. If I look at my podfile, I have the following:
pod 'Firebase', '~> 4.11.0'
pod 'Firebase/Auth'
# Uncomment if you want to enable Realtime DB
#pod 'Firebase/Database'
# Uncomment if you want to enable Cloud Firestore
#pod 'Firebase/Firestore'
# Uncomment if you want to enable Remote Config
#pod 'Firebase/RemoteConfig'
# Uncomment if you want to enable Crash Reporting
#pod 'Firebase/Crash'
# Uncomment if you want to enable Crashlytics
#pod 'Fabric'
#pod 'Crashlytics'
# Crashlytics works best without bitcode
#def post_install4 (installer)
# installer.pods_project.targets.each do |target|
# target.build_configurations.each do |config|
# config.build_settings['ENABLE_BITCODE'] = "NO"
# end
# end
#end
# Uncomment if you want to enable FCM (Firebase Cloud Messaging)
pod 'Firebase/Messaging'
# Uncomment if you want to enable Firebase Storage
#pod 'Firebase/Storage'
# Uncomment if you want to enable AdMob
pod 'Firebase/AdMob'
# Uncomment if you want to enable Invites and/or Dynamic Links
#pod 'Firebase/Invites'
However, in the post_install steps, I have:
post_install do |installer|
post_install1 installer
post_install2 installer
post_install3 installer
post_install4 installer
end
post_install4 should not be there in this case and was causing a build error. I have not had a chance to look into exactly why.
The text was updated successfully, but these errors were encountered:
Here are the steps to duplicate tns create pod-test --ng cd pod-test tns plugin install nativescript-plugin-firebase - Just select messaging and admob tns plugin install @nstudio/nativescript-camera-plus - I think you just need another plugin that has a post install step tns prepare ios
The prepare will fail. If you look at the resulting PodFile, it will have attempted to merge the commented out post install steps for Crashlytics. I'm guessing this is some type of Cocoapod bug. I tried a mult-line ruby comment for the post install steps and it still did the same thing.
It looks like if you are not using Crashlytics, the post install definition remains commented while the invocation is not. You can reproduce this error by setting the Crashlytics property to false in the project firebase config file.
My project is in an automated build environment and I noticed that it started to fail today. It appears that this plugin was updated to version 5.3.0 and the way XCode merges the podfile is incorrect. I only have Admob and Messaging enabled in my app. If I look at my podfile, I have the following:
However, in the post_install steps, I have:
post_install4 should not be there in this case and was causing a build error. I have not had a chance to look into exactly why.
The text was updated successfully, but these errors were encountered: