Skip to content

### Command #22959

@leonpurize-boop

Description

@leonpurize-boop

Command

    ```
    /usr/local/Cellar/cocoapods/1.16.2_1/libexec/bin/pod install
    ```
    
    ### Report
    
    * What did you do?
    
    * What did you expect to happen?
    
    * What happened instead?
    
    
    ### Stack
    
    ```
    CocoaPods : 1.16.2
    Ruby : ruby 3.4.1 (2024-12-25 revision 48d4efcb85) +PRISM [x86_64-darwin23]
    RubyGems : 3.6.2
    Host : macOS 15.4.1 (24E263)
    Xcode : 16.4 (16F6)
    Git : git version 2.39.5 (Apple Git-154)
    Ruby lib dir : /usr/local/Cellar/ruby/3.4.1/lib
    Repositories : trunk - CDN - https://cdn.cocoapods.org/
    ```
    
    ### Plugins
    
    ```
    cocoapods-deintegrate : 1.0.5
    cocoapods-plugins     : 1.0.0
    cocoapods-search      : 1.0.1
    cocoapods-trunk       : 1.6.0
    cocoapods-try         : 1.2.0
    ```
    
    ### Podfile
    
    ```ruby
    require_relative '../../node_modules/@capacitor/ios/scripts/pods_helpers'
    
    platform :ios, '14.0'
    use_frameworks!
    
    # workaround to avoid Xcode caching of Pods that requires
    # Product -> Clean Build Folder after new Cordova plugins installed
    # Requires CocoaPods 1.6 or newer
    install! 'cocoapods', :disable_input_output_paths => true
    
    def capacitor_pods
    pod 'Capacitor', :path => '../../node_modules/@capacitor/ios'
    pod 'CapacitorCordova', :path => '../../node_modules/@capacitor/ios'
    pod 'CapacitorCommunityAppleSignIn', :path => '../../node_modules/@capacitor-community/apple-sign-in'
    pod 'CapacitorApp', :path => '../../node_modules/@capacitor/app'
    pod 'CapacitorBrowser', :path => '../../node_modules/@capacitor/browser'
    pod 'CapacitorClipboard', :path => '../../node_modules/@capacitor/clipboard'
    pod 'CapacitorDevice', :path => '../../node_modules/@capacitor/device'
    pod 'CapacitorDialog', :path => '../../node_modules/@capacitor/dialog'
    pod 'CapacitorGeolocation', :path => '../../node_modules/@capacitor/geolocation'
    pod 'CapacitorHaptics', :path => '../../node_modules/@capacitor/haptics'
    pod 'CapacitorKeyboard', :path => '../../node_modules/@capacitor/keyboard'
    pod 'CapacitorPreferences', :path => '../../node_modules/@capacitor/preferences'
    pod 'CapacitorStatusBar', :path => '../../node_modules/@capacitor/status-bar'
    pod 'CapacitorToast', :path => '../../node_modules/@capacitor/toast'
    pod 'CodetrixStudioCapacitorGoogleAuth', :path => '../../node_modules/@codetrix-studio/capacitor-google-auth'
    pod 'CordovaPluginsStatic', :path => '../capacitor-cordova-ios-plugins'
    end
    
    target 'App' do
    capacitor_pods
    # Add your Pods here
    end
    
    post_install do |installer|
    assertDeploymentTarget(installer)
    end
    ```
    
    ### Error
    
    ```
    ArgumentError - [Xcodeproj] Unable to find compatibility version string for object version `70`.
    /usr/local/Cellar/cocoapods/1.16.2_1/libexec/gems/xcodeproj-1.27.0/lib/xcodeproj/project.rb:85:in
    'Xcodeproj::Project#initialize'
    /usr/local/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/lib/cocoapods/project.rb:48:in
    'Pod::Project#initialize'
    /usr/local/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/lib/cocoapods/installer/xcode/pods_project_generator/project_generator.rb:82:in
    'Class#new'
    /usr/local/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/lib/cocoapods/installer/xcode/pods_project_generator/project_generator.rb:82:in
    'Pod::Installer::Xcode::ProjectGenerator#create_project'
    /usr/local/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/lib/cocoapods/installer/xcode/pods_project_generator/project_generator.rb:73:in
    'Pod::Installer::Xcode::ProjectGenerator#generate!'
    /usr/local/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/lib/cocoapods/installer/xcode/single_pods_project_generator.rb:16:in
    'Pod::Installer::Xcode::SinglePodsProjectGenerator#generate!'
    /usr/local/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/lib/cocoapods/installer.rb:320:in 'block in
    Pod::Installer#create_and_save_projects'
    /usr/local/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/lib/cocoapods/user_interface.rb:64:in
    'Pod::UserInterface.section'
    /usr/local/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/lib/cocoapods/installer.rb:315:in
    'Pod::Installer#create_and_save_projects'
    /usr/local/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/lib/cocoapods/installer.rb:307:in
    'Pod::Installer#generate_pods_project'
    /usr/local/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/lib/cocoapods/installer.rb:183:in
    'Pod::Installer#integrate'
    /usr/local/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/lib/cocoapods/installer.rb:170:in
    'Pod::Installer#install!'
    /usr/local/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/lib/cocoapods/command/install.rb:52:in
    'Pod::Command::Install#run'
    /usr/local/Cellar/cocoapods/1.16.2_1/libexec/gems/claide-1.1.0/lib/claide/command.rb:334:in
    'CLAide::Command.run'
    /usr/local/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/lib/cocoapods/command.rb:52:in
    'Pod::Command.run'
    /usr/local/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/bin/pod:55:in '<top (required)>'
    /usr/local/Cellar/cocoapods/1.16.2_1/libexec/bin/pod:25:in 'Kernel#load'
    /usr/local/Cellar/cocoapods/1.16.2_1/libexec/bin/pod:25:in '<main>'
    ```

Originally posted by @aoneahsan in CocoaPods/CocoaPods#12840

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions