Skip to content

Commit

Permalink
fix firestore pod name
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Gilbert committed May 26, 2023
1 parent c9a078d commit 172d78e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ios/before_plugin_install.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = function(context) {
if(platforms.includes('ios') && pluginVariables.IOS_USE_PRECOMPILED_FIRESTORE_POD==='true'){
const pluginJSON=parsePluginXml();
const iosPlatform = pluginJSON.plugin.platform.find((platform) => platform._attributes.name === 'ios');
const firestorePod = iosPlatform.podspec.pods.pod.find((pod) => pod._attributes.name === 'Firebase/Firestore');
const firestorePod = iosPlatform.podspec.pods.pod.find((pod) => pod._attributes.name === 'FirebaseFirestore');
firestorePod._attributes.tag = firestorePod._attributes.spec;
firestorePod._attributes.git = 'https://github.com/invertase/firestore-ios-sdk-frameworks.git';
delete firestorePod._attributes.spec;
Expand Down

0 comments on commit 172d78e

Please sign in to comment.