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
(0 , config_plugins_1.withPodfile) is not a function
in node_modules/@bacons/apple-targets/build/withPodTargetExtension.js:22
Content withPodTargetExtension.js
"use strict";Object.defineProperty(exports,"__esModule",{value: true});exports.withPodTargetExtension=void0;constgenerateCode_1=require("@expo/config-plugins/build/utils/generateCode");constconfig_plugins_1=require("expo/config-plugins");// TODO: This won't always match the correct target name. Need to pull the same algo in.constextension=`# Dynamic loading of target configurationsDir.glob(File.join(__dir__, '..', 'targets', '**', 'pods.rb')).each do |target_file| target_name = File.basename(File.dirname(target_file)) target target_name do # Create a new binding with access to necessary methods and variables target_binding = binding target_binding.local_variable_set(:podfile_properties, podfile_properties) target_binding.local_variable_set(:config, use_native_modules!) # Evaluate the target file content in the new binding eval(File.read(target_file), target_binding, target_file) endend`;/** Inject a helper which matches `pods.rb` files in the target root directory and invokes it as a way to extend the Podfile. */constwithPodTargetExtension=(config)=>(0,config_plugins_1.withPodfile)(config,(config)=>{config.modResults.contents=(0,generateCode_1.mergeContents)({tag: "apple-targets-extension-loader",src: config.modResults.contents,newSrc: extension,// Add at the end of the file.anchor: /Pod::UI\.warn e/,offset: 4,comment: "#",}).contents;returnconfig;});exports.withPodTargetExtension=withPodTargetExtension;
Expo 50.0.21
Any command for
eas cli
(version eas-cli/12.5.2)throws error
Content withPodTargetExtension.js
Can you fix it for Expo 50 ?
P.S.
On version 0.0.5 all works success.
The text was updated successfully, but these errors were encountered: