Skip to content

Pod install error #88

@LauColombini

Description

@LauColombini

RN Version: "0.64.2"
Cocapods Version: 1.11.3

Pasa cuando quiero hacer pod install

Y les dejo el error en si:

Screen Shot 2023-06-14 at 12 35 17 PM

String:

zehto@MacBook-Pro-de-Zehto ios % pod install



[!] Invalid `Podfile` file: undefined method `enable_user_defined_build_types!' for #<Pod::Podfile:0x000000010763fe90 @defined_in_file=#<Pathname:/Users/zehto/Desktop/Proyecto/ios/Podfile>, @internal_hash={"plugins"=>{"cocoapods-user-defined-build-types"=>{}}}, @root_target_definitions=[#<Pod::Podfile::TargetDefinition label=Pods>], @current_target_definition=#<Pod::Podfile::TargetDefinition label=Pods>>.



  from /Users/zehto/Desktop/ios/Podfile:3

   -------------------------------------------

 

  enable_user_defined_build_types!



   -------------------------------------------

Y el Podfile:
Screen Shot 2023-06-14 at 12 36 12 PM

String:

plugin 'cocoapods-user-defined-build-types'

enable_user_defined_build_types!


require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '10.0'

target 'rnwithapollopoc' do
  config = use_native_modules!

  pod 'MercadoPagoSDK', :build_type => :dynamic_framework

  use_react_native!(
    :path => config[:reactNativePath],
    # to enable hermes on iOS, change `false` to `true` and then install pods
    :hermes_enabled => false
  )
 
  # Enables Flipper.
  #
  # Note that if you have use_frameworks! enabled, Flipper will not work and
  # you should disable the next line.
  # use_flipper!()

  post_install do |installer|
    react_native_post_install(installer)
  end
end

target 'OneSignalNotificationServiceExtension' do
  pod 'OneSignalXCFramework', '>= 3.0', '< 4.0'
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions