-
-
Save brentvatne/6a1dcb32f6ca3d478eed4c7dc8fbdd24 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
platform :ios, '10.0' | |
require_relative '../node_modules/@unimodules/core/podfile-macro' | |
# don't just copy and paste this, notice that the target names should align with what is already in your Podfile | |
target 'YourAppNameHere' do | |
pod 'React', :path => '../node_modules/react-native', :subspecs => [ | |
'Core', | |
'CxxBridge', | |
'DevSupport', | |
'RCTText', | |
'RCTNetwork', | |
'RCTWebSocket', | |
'RCTAnimation', | |
'RCTImage', | |
] | |
pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga' | |
pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec' | |
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec' | |
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec' | |
use_unimodules! | |
target 'YourAppNameHereTests' do | |
inherit! :search_paths | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found this gist via https://www.npmjs.com/package/@unimodules/react-native-platform
It may be out of date. I've seen a few different permutations of the unimodule installation process that vary in subtle ways.
For this gist, I believe
require_relative '../node_modules/@unimodules/core/podfile-macro'
should instead berequire_relative '../node_modules/@unimodules/react-native-platform/podfile-macro'
(react-native-platform
instead ofcore
)