{"record":{"id":"4945e34d7962ecbf","repo":"CocoaPods/CocoaPods","slug":"currently-need-to-specify-a-cocoapods-install-y","errorCode":null,"errorMessage":"Currently need to specify a `cocoapods` install, you chose `#{name}`.","messagePattern":"Currently need to specify a `cocoapods` install, you chose `#(.+?)`\\.","errorType":"exception","errorClass":"Informative","httpStatus":null,"severity":"error","filePath":"lib/cocoapods/installer/installation_options.rb","lineNumber":22,"sourceCode":"  class Installer\n    # Represents the installation options the user can customize via a\n    # `Podfile`.\n    #\n    class InstallationOptions\n      # Parses installation options from a podfile.\n      #\n      # @param  [Podfile] podfile the podfile to parse installation options\n      #         from.\n      #\n      # @raise  [Informative] if `podfile` does not specify a `CocoaPods`\n      #         install.\n      #\n      # @return [Self]\n      #\n      def self.from_podfile(podfile)\n        name, options = podfile.installation_method\n        unless name.downcase == 'cocoapods'\n          raise Informative, \"Currently need to specify a `cocoapods` install, you chose `#{name}`.\"\n        end\n        new(options)\n      end\n\n      # Defines a new installation option.\n      #\n      # @param  [#to_s] name the name of the option.\n      #\n      # @param  default the default value for the option.\n      #\n      # @param [Boolean] boolean whether the option has a boolean value.\n      #\n      # @return [void]\n      #\n      # @!macro [attach] option\n      #\n      #   @note this option defaults to $2.\n      #","sourceCodeStart":4,"sourceCodeEnd":40,"githubUrl":"https://github.com/CocoaPods/CocoaPods/blob/b80e113e28a7e23cd6dbc169f0c923f6b48bf7a2/lib/cocoapods/installer/installation_options.rb#L4-L40","documentation":"Error \"Currently need to specify a `cocoapods` install, you chose `#{name}`.\" thrown in CocoaPods/CocoaPods.","triggerScenarios":"Thrown at lib/cocoapods/installer/installation_options.rb:22 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b80e113e28a7e23cd6dbc169f0c923f6b48bf7a2","analyzedAt":"2026-08-21T15:07:28.652Z","schemaVersion":2},"datasetVersion":"2026-08-21T18:17:14.833Z"}