Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically assigning platform iOS with version 15.0 on target ... because no platform was specified. Please specify a platform for this target in your Podfile. See https://guides.cocoapods.org/syntax/podfile.html#platform. #12358

Open
1 task done
gerchicov-vg opened this issue Apr 19, 2024 · 0 comments

Comments

@gerchicov-vg
Copy link

gerchicov-vg commented Apr 19, 2024

Report

What did you do?

Run pod install

What did you expect to happen?

Everything completed with no significant warnings.

What happened instead?

Warnings request to specify iOS version.
I also have to fix "libarclite_iphonesimulator.a not found" by specifying iOS version in podfile for the second time:
https://stackoverflow.com/questions/75574268/missing-file-libarclite-iphoneos-a-xcode-14-3
iOS version is specified in .xcodeproj file (3-rd time).

Is it ok that I need to specify "global" iOS version multiple times even in podfile? Commented the related strings

CocoaPods Environment

Stack

   CocoaPods : 1.15.2
        Ruby : ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [arm64-darwin23]
    RubyGems : 3.5.6
        Host : macOS 14.3.1 (23D60)
       Xcode :  ()
         Git : git version 2.39.3 (Apple Git-145)
Ruby lib dir : /opt/homebrew/Cellar/ruby/3.3.0/lib
Repositories : trunk - CDN - https://cdn.cocoapods.org/

Installation Source

Executable Path: /opt/homebrew/opt/ruby/bin/pod

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

# Uncomment the next line to define a global platform for your project
#platform :ios, '15.0'

target '...' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  pod 'Moya'
  #pod 'RealmSwift'
  pod 'AppsFlyerFramework'
  pod 'Firebase'
  pod 'Firebase/Analytics'
  pod 'Firebase/Crashlytics'
  pod 'Firebase/RemoteConfig'
  pod 'FBSDKCoreKit'
  pod 'FBAudienceNetwork'
  pod 'YandexMobileMetrica'
  pod 'Amplitude-iOS'
  
  #Ads
  pod 'Google-Mobile-Ads-SDK'
  pod 'GoogleMobileAdsMediationUnity'
  pod 'AppLovinSDK'
  pod 'AppLovinMediationGoogleAdManagerAdapter'
  pod 'AppLovinMediationInMobiAdapter'
  pod 'AppLovinMediationVungleAdapter'
  pod 'AppLovinMediationAdColonyAdapter'
  pod 'AppLovinMediationFacebookAdapter'
  pod 'AppLovinMediationGoogleAdapter'
  pod 'AppLovinMediationIronSourceAdapter'
  pod 'AppLovinMediationMintegralAdapter'
  pod 'AppLovinMediationByteDanceAdapter'
  pod 'AppLovinMediationTapjoyAdapter'
  pod 'AppLovinMediationUnityAdsAdapter'
  pod 'AppLovinMediationHyprMXAdapter'
  
  pod 'GoogleUserMessagingPlatform'


pod 'BonMot'
pod 'RangeSeekSlider'
pod 'Kingfisher'
pod 'lottie-ios'
pod 'SnapKit'

end
#
## post install
#post_install do |installer|
#  installer.generated_projects.each do |project|
#     project.targets.each do |target|
#       target.build_configurations.each do |config|
#         config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '15.0'
#        end
#     end
#  end
#end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant