Skip to content

Instantly share code, notes, and snippets.

@ValCanBuild
Created March 3, 2016 11:39
Show Gist options
  • Star 13 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ValCanBuild/89e6bfb23f514b406d0c to your computer and use it in GitHub Desktop.
Save ValCanBuild/89e6bfb23f514b406d0c to your computer and use it in GitHub Desktop.
Using variables in your Podfile
platform :ios, '9.0'
use_frameworks!
$rxVersion = '~> 2.2.0'
target 'MyProject' do
pod 'RxSwift', $rxVersion
pod 'RxCocoa', $rxVersion
end
@axellebot
Copy link

Thanks you !

@arnold-plakolli
Copy link

Thank you

@francos
Copy link

francos commented Apr 18, 2019

@ValCanBuild you don't need to use the $, right? Can the variable simply be called rxVersion?

@rudiluis
Copy link

Thanks 👍

@lukluca
Copy link

lukluca commented Nov 16, 2020

Thanks

@rbarrosoSky
Copy link

Thanks.

@diversityboundless
Copy link

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment