Skip to content

Instantly share code, notes, and snippets.

@prabakarviji
Created January 8, 2018 20:08
Show Gist options
  • Select an option

  • Save prabakarviji/a2d395c6a38819d81638881a75a07085 to your computer and use it in GitHub Desktop.

Select an option

Save prabakarviji/a2d395c6a38819d81638881a75a07085 to your computer and use it in GitHub Desktop.
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
target 'TokBot' do
node_modules_path = '../node_modules'
pod 'yoga', path: "#{node_modules_path}/react-native/ReactCommon/yoga/yoga.podspec"
pod 'React', path: "#{node_modules_path}/react-native"
pod 'RNOpenTok', path: "#{node_modules_path}/react-native-opentok/ios"
end
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == "React"
target.remove_from_project
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment