Skip to content

Invalid Podfile file: undefined method `enable_user_defined_build_types!'  #10

@amitprk13

Description

@amitprk13

I have installing gem on a Macbook Pro running Big Sur and M1 chip. I have followed the instructions given, added these two line on top of my Podfile

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

then I am running command

sudo gem install 'cocoapods-user-defined-build-types'

and gem is getting installed see below -

Successfully installed cocoapods-user-defined-build-types-0.0.7
Parsing documentation for cocoapods-user-defined-build-types-0.0.7
Done installing documentation for cocoapods-user-defined-build-types after 0 seconds
1 gem installed

Now, as soon as I run pod install , I get this error -

[!] Invalid Podfile file: undefined method `enable_user_defined_build_types!' for #<Pod::Podfile:0x0000000145251098 @defined_in_file=#<Pathname

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions