Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

StackOverflow Point

StackOverflow Point Navigation

  • Web Stories
  • Badges
  • Tags
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Web Stories
  • Badges
  • Tags
Home/ Questions/Q 3559
Alex Hales
  • 0
Alex HalesTeacher
Asked: June 2, 20222022-06-02T19:09:16+00:00 2022-06-02T19:09:16+00:00

ios – Pod Installation: Skip over platform specific target

  • 0

[ad_1]

So I am currently working on a codebase at work (Xcode project) that has various dependencies in place with a pod file that looks like this:

platform :ios, '11.0'   # <!-- THIS IS CREATING THE INSTALLATION ISSUE
inhibit_all_warnings!
use_frameworks!
workspace 'CompanyCodebase'

def shared_pods
   pod 'Alamofire', '~> 5.4.1'
   pod 'AlamofireImage', '~> 4.1.0'
   pod 'SwiftLint'
end

def app_pods

   shared_pods

   pod 'GoogleAnalytics', '~> 3.17.0'
end

target 'MyTargetToInstall' do

  project 'CompanyCodebase.xcproject'

  app_pods

  stripe_pod

  pod 'DependencyOne', '0.9.14'.     # <!-- INSTALL THIS TO MyTargetToInstall
  pod 'DependencyTwo', '0.9.14'      # <!-- INSTALL THIS TO MyTargetToInstall
 end

The task is I would need to install a dependency as shown under the method MyTargetToInstall to that specific target (MyTargetToInstall), but the issue is that platform :ios, '11.0' is the bottleneck upon attempting to install and I get this error:

[!] CocoaPods could not find compatible versions for pod "DependencyOne":
In Podfile:
DependencyOne (= 0.9.14)

Specs satisfying the `DependencyOne (= 0.9.14)` dependency were found, but they required a higher minimum deployment target.

The thing is we need that platform definition for our other pods that are currently installed. Upon commenting platform :ios, '11.0' out, the installation is successful. So my question is, is there a way to only spot install these 2 dependencies to MyTargetToInstall without having to comment out platform :ios, '11.0' or is there a workaround to this?

[ad_2]

  • 0 0 Answers
  • 4 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report
Leave an answer

Leave an answer
Cancel reply

Browse

Sidebar

Ask A Question

Related Questions

  • xcode - Can you build dynamic libraries for iOS and ...

    • 0 Answers
  • bash - How to check if a process id (PID) ...

    • 8056 Answers
  • database - Oracle: Changing VARCHAR2 column to CLOB

    • 1842 Answers
  • What's the difference between HEAD, working tree and index, in ...

    • 1924 Answers
  • Amazon EC2 Free tier - how many instances can I ...

    • 0 Answers

Stats

  • Questions : 43k

Subscribe

Login

Forgot Password?

Footer

Follow

© 2022 Stackoverflow Point. All Rights Reserved.

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.