Building Yandex Mobile Ads Example for iOS

According to the official repository docs I tried to install CocaPods:

 sudo gem install cocoapods

but got the following error:

ERROR:  Error installing cocoapods:
        The last version of drb (>= 0) to support your Ruby & RubyGems was 2.0.6. Try installing it with `gem install drb -v 2.0.6` and then running the current command again
        drb requires Ruby version >= 2.7.0. The current ruby version is 2.6.10.210.

Installed some dependencies and the installation of CocoaPods succeeded:

sudo gem install drb -v 2.0.6
sudo gem install activesupport -v 6.1.7.8
sudo gem install cocoapods
Fetching nap-1.1.0.gem
Fetching public_suffix-4.0.7.gem
Fetching ruby-macho-2.5.1.gem
Fetching fourflusher-2.3.1.gem
Fetching colored2-3.1.2.gem
Fetching addressable-2.8.7.gem
Fetching gh_inspector-1.1.3.gem
Fetching escape-0.0.4.gem
Fetching rexml-3.2.9.gem
Fetching nanaimo-0.3.0.gem
Fetching claide-1.1.0.gem
Fetching atomos-0.1.3.gem
Fetching xcodeproj-1.24.0.gem
Fetching molinillo-0.8.0.gem
Fetching cocoapods-try-1.2.0.gem
Fetching netrc-0.11.0.gem
Fetching cocoapods-trunk-1.6.0.gem
Fetching cocoapods-search-1.0.1.gem
Fetching cocoapods-plugins-1.0.0.gem
Fetching cocoapods-downloader-2.1.gem
Fetching cocoapods-deintegrate-1.0.5.gem
Fetching ffi-1.17.0-arm64-darwin.gem
Fetching ethon-0.16.0.gem
Fetching typhoeus-1.4.1.gem
Fetching concurrent-ruby-1.3.3.gem
Fetching httpclient-2.8.3.gem
Fetching algoliasearch-1.27.5.gem
Fetching fuzzy_match-2.0.4.gem
Fetching drb-2.2.1.gem
Fetching base64-0.2.0.gem
Fetching connection_pool-2.4.1.gem
Fetching tzinfo-2.0.6.gem
Fetching i18n-1.14.5.gem
Fetching activesupport-7.1.3.4.gem
Fetching cocoapods-core-1.15.2.gem
Fetching cocoapods-1.15.2.gem
Successfully installed public_suffix-4.0.7
Successfully installed addressable-2.8.7
Successfully installed ruby-macho-2.5.1
Successfully installed nap-1.1.0
Successfully installed gh_inspector-1.1.3
Successfully installed fourflusher-2.3.1
Successfully installed escape-0.0.4
Successfully installed colored2-3.1.2
Successfully installed rexml-3.2.9
Successfully installed nanaimo-0.3.0
Successfully installed claide-1.1.0
Successfully installed atomos-0.1.3
Successfully installed xcodeproj-1.24.0
Successfully installed molinillo-0.8.0
Successfully installed cocoapods-try-1.2.0
Successfully installed netrc-0.11.0
Successfully installed cocoapods-trunk-1.6.0
Successfully installed cocoapods-search-1.0.1
Successfully installed cocoapods-plugins-1.0.0
Successfully installed cocoapods-downloader-2.1
Successfully installed cocoapods-deintegrate-1.0.5
Successfully installed ffi-1.17.0-arm64-darwin
Successfully installed ethon-0.16.0
Successfully installed typhoeus-1.4.1
Successfully installed concurrent-ruby-1.3.3
Successfully installed httpclient-2.8.3
A new major version is available for Algolia! Please now use the https://rubygems.org/gems/algolia gem to get the latest features.
Successfully installed algoliasearch-1.27.5
Successfully installed fuzzy_match-2.0.4
ERROR:  Error installing cocoapods:
        The last version of drb (>= 0) to support your Ruby & RubyGems was 2.0.6. Try installing it with `gem install drb -v 2.0.6` and then running the current command again
        drb requires Ruby version >= 2.7.0. The current ruby version is 2.6.10.210.
admin@son YandexMobileAdsExample %
admin@son YandexMobileAdsExample % gem install drb -v 2.0.6
Fetching ruby2_keywords-0.0.5.gem
Fetching drb-2.0.6.gem
ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory.
admin@son YandexMobileAdsExample % sudo gem install drb -v 2.0.6
Password:
Fetching ruby2_keywords-0.0.5.gem
Fetching drb-2.0.6.gem
Successfully installed ruby2_keywords-0.0.5
Successfully installed drb-2.0.6
Parsing documentation for ruby2_keywords-0.0.5
Installing ri documentation for ruby2_keywords-0.0.5
Parsing documentation for drb-2.0.6
Installing ri documentation for drb-2.0.6
Done installing documentation for ruby2_keywords, drb after 0 seconds
2 gems installed
admin@son YandexMobileAdsExample %  sudo gem install cocoapods
Successfully installed base64-0.2.0
Successfully installed connection_pool-2.4.1
Successfully installed tzinfo-2.0.6
Successfully installed i18n-1.14.5
ERROR:  Error installing cocoapods:
        The last version of activesupport (>= 5.0, < 8) to support your Ruby & RubyGems was 6.1.7.8. Try installing it with `gem install activesupport -v 6.1.7.8` and then running the current command again
        activesupport requires Ruby version >= 2.7.0. The current ruby version is 2.6.10.210.
admin@son YandexMobileAdsExample % gem install activesupport -v 6.1.7.8
Fetching activesupport-6.1.7.8.gem
Fetching zeitwerk-2.6.17.gem
ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory.
admin@son YandexMobileAdsExample % sudo gem install activesupport -v 6.1.7.8
Password:
Fetching zeitwerk-2.6.17.gem
Fetching activesupport-6.1.7.8.gem
Successfully installed zeitwerk-2.6.17
Successfully installed activesupport-6.1.7.8
Parsing documentation for zeitwerk-2.6.17
Installing ri documentation for zeitwerk-2.6.17
Parsing documentation for activesupport-6.1.7.8
Installing ri documentation for activesupport-6.1.7.8
Done installing documentation for zeitwerk, activesupport after 2 seconds
2 gems installed
admin@son YandexMobileAdsExample %  sudo gem install cocoapods
Password:
Successfully installed cocoapods-core-1.15.2
Successfully installed cocoapods-1.15.2
Parsing documentation for cocoapods-core-1.15.2
Installing ri documentation for cocoapods-core-1.15.2
Parsing documentation for cocoapods-1.15.2
Installing ri documentation for cocoapods-1.15.2
Done installing documentation for cocoapods-core, cocoapods after 3 seconds
2 gems installed

Then I tried to the following command:

git clone https://github.com/yandexmobile/yandex-ads-sdk-ios.git
cd Examples/YandexMobileAdsExample
pod install --repo-update

but it failed with the following errors:

admin@son YandexMobileAdsExample % pod install --repo-update
Updating local specs repositories
Cloning spec repo `cocoapods` from `https://github.com/CocoaPods/Specs.git`
Analyzing dependencies
Downloading dependencies
Installing AppLovinSDK (12.5.0)
Installing AppLovinYandexMobileAdsAdapters (12.5.0.4)
Installing AppMetricaCore (5.7.0)
Installing AppMetricaCoreExtension (5.7.0)
Installing AppMetricaCoreUtils (5.7.0)
Installing AppMetricaCrashes (5.7.0)
Installing AppMetricaEncodingUtils (5.7.0)
Installing AppMetricaFMDB (5.7.0)
Installing AppMetricaHostState (5.7.0)
Installing AppMetricaLog (5.7.0)
Installing AppMetricaNetwork (5.7.0)
Installing AppMetricaPlatform (5.7.0)
Installing AppMetricaProtobuf (5.7.0)
Installing AppMetricaProtobufUtils (5.7.0)
Installing AppMetricaStorageUtils (5.7.0)
Installing BigoADS (4.2.3)
Installing BigoADSYandexMobileAdsAdapters (4.2.3.4)
Installing ChartboostSDK (9.7.0)
Installing ChartboostYandexMobileAdsAdapters (9.7.0.7)
Installing DivKit (30.11.0)
Installing DivKit_LayoutKit (30.11.0)
Installing DivKit_LayoutKitInterface (30.11.0)
Installing DivKit_Serialization (30.11.0)
Installing Google-Mobile-Ads-SDK (11.3.0)
Installing GoogleUserMessagingPlatform (2.5.0)
Installing GoogleYandexMobileAdsAdapters (11.3.0.4)
Installing InMobiSDK-Swift (10.7.4)
Installing InMobiYandexMobileAdsAdapters (10.7.4.2)
Installing IronSourceSDK (8.2.0.0)
Installing IronSourceYandexMobileAdsAdapters (8.2.0.1)
Installing KSCrash (1.17.4)
Installing MintegralAdSDK (7.6.9)
Installing MintegralYandexMobileAdsAdapters (7.6.7.2)
Installing MyTargetYandexMobileAdsAdapters (5.21.5.1)
Installing StartAppSDK (4.10.4)
Installing StartAppYandexMobileAdsAdapters (4.10.3.4)
Installing UnityAds (4.12.1)
Installing UnityAdsYandexMobileAdsAdapters (4.12.1.2)
Installing VGSL (6.4.0)
Installing VGSLFundamentals (6.4.0)
Installing VGSLNetworking (6.4.0)
Installing VGSLUI (6.4.0)
Installing VungleAds (7.4.0)
Installing VungleYandexMobileAdsAdapters (7.4.0.2)
Installing YandexMobileAds (7.3.1)
Installing YandexMobileAdsAdMobAdapters (7.3.1.0)
Installing YandexMobileAdsInstream (0.33.0)
Installing YandexMobileAdsIronSourceAdapters (7.3.1.0)
Installing YandexMobileAdsMediation (7.3.1)
Installing myTargetSDK (5.21.6)
Installing myTrackerSDK (3.1.13)
Generating Pods project
Integrating client project

――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

### Command

```
/usr/local/bin/pod install --repo-update
```

### Report

* What did you do?

* What did you expect to happen?

* What happened instead?


### Stack

```
   CocoaPods : 1.15.2
        Ruby : ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.x86_64-darwin23]
    RubyGems : 3.0.3.1
        Host : macOS 14.4.1 (23E224)
       Xcode : 15.4 (15F31d)
         Git : git version 2.39.3 (Apple Git-146)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib
Repositories : cocoapods - git - https://github.com/CocoaPods/Specs.git @ 7ceeec038189ca5c9121dbf853fa327720a5ebf9

```

### 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
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, :deployment_target => '13.0'

target 'YandexMobileAdsExample' do
  pod 'YandexMobileAdsAdMobAdapters'
  pod 'YandexMobileAdsIronSourceAdapters'
  pod 'YandexMobileAdsMediation'
  pod 'YandexMobileAdsInstream'
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
    end
  end
end
```

### Error

```
REXML::ParseException - #<TypeError: wrong argument type String (expected Regexp)>
/Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/source.rb:220:in `scan'
/Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/source.rb:220:in `match'
/Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/parsers/baseparser.rb:227:in `pull_event'
/Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/parsers/baseparser.rb:207:in `pull'
/Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/parsers/treeparser.rb:23:in `parse'
/Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/document.rb:448:in `build'
/Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/document.rb:101:in `initialize'
/Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.24.0/lib/xcodeproj/workspace.rb:83:in `new'
/Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.24.0/lib/xcodeproj/workspace.rb:83:in `from_s'
/Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.24.0/lib/xcodeproj/workspace.rb:66:in `new_from_xcworkspace'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/user_project_integrator.rb:102:in `create_workspace'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/user_project_integrator.rb:71:in `integrate!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:929:in `block in integrate_user_project'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:925:in `integrate_user_project'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:185:in `integrate'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:170:in `install!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/command/install.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:23:in `load'
/usr/local/bin/pod:23:in `<main>'
...
wrong argument type String (expected Regexp)
Line: 1
Position: 38
Last 80 unconsumed characters:
<?xml version="1.0" encoding="UTF-8"?>
/Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/parsers/treeparser.rb:96:in `rescue in parse'
/Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/parsers/treeparser.rb:21:in `parse'
/Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/document.rb:448:in `build'
/Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/document.rb:101:in `initialize'
/Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.24.0/lib/xcodeproj/workspace.rb:83:in `new'
/Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.24.0/lib/xcodeproj/workspace.rb:83:in `from_s'
/Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.24.0/lib/xcodeproj/workspace.rb:66:in `new_from_xcworkspace'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/user_project_integrator.rb:102:in `create_workspace'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/user_project_integrator.rb:71:in `integrate!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:929:in `block in integrate_user_project'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:925:in `integrate_user_project'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:185:in `integrate'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:170:in `install!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/command/install.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:23:in `load'
/usr/local/bin/pod:23:in `<main>'
```

――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

[!] Oh no, an error occurred.

Search for existing GitHub issues similar to yours:
https://github.com/CocoaPods/CocoaPods/search?q=%23%3CTypeError%3A+wrong+argument+type+String+%28expected+Regexp%29%3E%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Frexml-3.2.9%2Flib%2Frexml%2Fsource.rb%3A220%3Ain+%60scan%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Frexml-3.2.9%2Flib%2Frexml%2Fsource.rb%3A220%3Ain+%60match%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Frexml-3.2.9%2Flib%2Frexml%2Fparsers%2Fbaseparser.rb%3A227%3Ain+%60pull_event%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Frexml-3.2.9%2Flib%2Frexml%2Fparsers%2Fbaseparser.rb%3A207%3Ain+%60pull%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Frexml-3.2.9%2Flib%2Frexml%2Fparsers%2Ftreeparser.rb%3A23%3Ain+%60parse%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Frexml-3.2.9%2Flib%2Frexml%2Fdocument.rb%3A448%3Ain+%60build%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Frexml-3.2.9%2Flib%2Frexml%2Fdocument.rb%3A101%3Ain+%60initialize%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fxcodeproj-1.24.0%2Flib%2Fxcodeproj%2Fworkspace.rb%3A83%3Ain+%60new%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fxcodeproj-1.24.0%2Flib%2Fxcodeproj%2Fworkspace.rb%3A83%3Ain+%60from_s%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fxcodeproj-1.24.0%2Flib%2Fxcodeproj%2Fworkspace.rb%3A66%3Ain+%60new_from_xcworkspace%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fcocoapods-1.15.2%2Flib%2Fcocoapods%2Finstaller%2Fuser_project_integrator.rb%3A102%3Ain+%60create_workspace%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fcocoapods-1.15.2%2Flib%2Fcocoapods%2Finstaller%2Fuser_project_integrator.rb%3A71%3Ain+%60integrate%21%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fcocoapods-1.15.2%2Flib%2Fcocoapods%2Finstaller.rb%3A929%3Ain+%60block+in+integrate_user_project%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fcocoapods-1.15.2%2Flib%2Fcocoapods%2Fuser_interface.rb%3A64%3Ain+%60section%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fcocoapods-1.15.2%2Flib%2Fcocoapods%2Finstaller.rb%3A925%3Ain+%60integrate_user_project%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fcocoapods-1.15.2%2Flib%2Fcocoapods%2Finstaller.rb%3A185%3Ain+%60integrate%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fcocoapods-1.15.2%2Flib%2Fcocoapods%2Finstaller.rb%3A170%3Ain+%60install%21%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fcocoapods-1.15.2%2Flib%2Fcocoapods%2Fcommand%2Finstall.rb%3A52%3Ain+%60run%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fclaide-1.1.0%2Flib%2Fclaide%2Fcommand.rb%3A334%3Ain+%60run%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fcocoapods-1.15.2%2Flib%2Fcocoapods%2Fcommand.rb%3A52%3Ain+%60run%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fcocoapods-1.15.2%2Fbin%2Fpod%3A55%3Ain+%60%3Ctop+%28required%29%3E%27%0A%2Fusr%2Flocal%2Fbin%2Fpod%3A23%3Ain+%60load%27%0A%2Fusr%2Flocal%2Fbin%2Fpod%3A23%3Ain+%60%3Cmain%3E%27%0A...%0Awrong+argument+type+String+%28expected+Regexp%29%0ALine%3A+1%0APosition%3A+38%0ALast+80+unconsumed+characters%3A%0A%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22%3F%3E&type=Issues

If none exists, create a ticket, with the template displayed above, on:
https://github.com/CocoaPods/CocoaPods/issues/new

Be sure to first read the contributing guide for details on how to properly submit a ticket:
https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md

Don't forget to anonymize any private data!

Looking for related issues on cocoapods/cocoapods...
Searching for inspections failed: undefined method `map' for nil:NilClass

16 Responses to Building Yandex Mobile Ads Example for iOS

  1. dmitriano says:

    QML + YandexMapKit
    https://ru.stackoverflow.com/questions/898859/qml-yandexmapkit
    Сейчас нет отдельной сборки MapKit для Qt приложений. MapKit доступен только для Android из Java и Swift/Obj-C на iOS.
    В этом случае можно попытаться использовать веб API карт и отображать его в WebView.

  2. dmitriano says:

    https://github.com/ArboreusSystems/arboreus_examples/tree/master/qt6/CMake/UsingSwift/UsingSwift_v1
    I simply opened arboreus_examples/qt6/CMake/UsingSwift/UsingSwift_v3/CMakeLists.txt in QT Creator and was able to build it and run.

  3. dmitriano says:

    Error running pod install for Qt application (iOS)
    https://github.com/CocoaPods/Xcodeproj/issues/347

  4. dmitriano says:

    See the video that demonstrates how easy it is to embed foreign code and write a complete code with auxiliary functions in less than five minutes.
    https://github.com/qt-pods/qt-pods

  5. dmitriano says:

    Video:
    iOS. Yandex Mobile Ads SDK
    https://www.youtube.com/watch?v=qmcyoicXDPE

    Flutter. Интеграция медиации Яндекса
    https://www.youtube.com/watch?v=hSTnbJL6wGQ

  6. dmitriano says:

    Created an issue on GitHub:
    pod install command failed with YandexMobileAdsExample
    https://github.com/yandexmobile/yandex-ads-sdk-ios/issues/243

  7. dmitriano says:

    How to delete or clear a specific pod from cocoapods cache?
    https://stackoverflow.com/questions/46428752/how-to-clear-or-clean-specific-pod-from-the-local-cocoapods-cache

    Clear CocoaPods cache, re-download and re-install all pods
    https://gist.github.com/mbinna/4202236

    #!/usr/bin/env bash

    rm -rf "${HOME}/Library/Caches/CocoaPods"
    rm -rf "`pwd`/Pods/"
    pod update

  8. dmitriano says:

    Clear CocoaPods cache, Pods and Podfile.lock, then re-install all your pods.
    https://gist.github.com/zrkb/3b868e88daf7e3ff48b7

    #!/usr/bin/env bash

    PODS="Pods/"

    if [ -d "$PODS" ]; then
    rm -rf "${HOME}/Library/Caches/CocoaPods"
    rm -rf "$PODS" & rm -rf Podfile.lock
    pod install
    else
    echo "No existe el directorio $PODS"
    fi

  9. dmitriano says:

    Updating to latest version of CocoaPods?
    https://stackoverflow.com/questions/39481636/updating-to-latest-version-of-cocoapods
    sudo gem install cocoapods

  10. dmitriano says:

    Updating to latest version of CocoaPods?
    https://stackoverflow.com/questions/39481636/updating-to-latest-version-of-cocoapods
    sudo gem install cocoapods
    pod setup
    pod --version

  11. dmitriano says:

    How to install different versions of Ruby and switch between them
    https://www.moncefbelyamani.com/how-to-install-xcode-homebrew-git-rvm-ruby-on-mac/#how-to-install-different-versions-of-ruby-and-switch-between-them

    How was Ruby Installed?
    https://mac.install.guide/ruby/update
    $ which -a ruby
    /usr/bin/ruby

    If you see /usr/bin/ruby, it is the system Ruby which comes pre-installed on macOS to support scripting. See the article Do Not Use the MacOS System Ruby for an explanation (the system Ruby is there for macOS, not you). Don’t try to remove the system Ruby. Leave it in place and use Homebrew or a version manager to install a newer Ruby version. Installation of Homebrew or a version manager will require setting your shell configuration to override or pre-empt the system Ruby.

  12. dmitriano says:

    https://github.com/CocoaPods/CocoaPods/issues/12145
    ERROR: Error installing cocoapods: There are no versions of cocoapods-downloader (>= 2.0) compatible with your Ruby & RubyGems. Maybe try installing an older version of the gem you’re looking for? cocoapods-downloader requires Ruby version >= 2.7.4. The current ruby version is 2.6.10.210.

Leave a Reply

Your email address will not be published. Required fields are marked *