Skip to content

Commit

Permalink
Refactor iosTest to RN 0.63 style / CocoaPods setup
Browse files Browse the repository at this point in the history
  • Loading branch information
radex committed Mar 24, 2021
1 parent eb8b448 commit 95899ec
Show file tree
Hide file tree
Showing 6 changed files with 414 additions and 782 deletions.
19 changes: 18 additions & 1 deletion native/iosTest/Podfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,25 @@
source 'https://github.com/CocoaPods/Specs.git'
workspace 'WatermelonTester.xcworkspace'

require_relative '../../node_modules/react-native/scripts/react_native_pods'
require_relative '../../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '13.0'

target 'WatermelonTester' do
platform :ios, '13.0'
config = use_native_modules!

use_react_native!(
path: '../../node_modules/react-native',
# hermes_enabled: false
)

pod 'React-jsi', path: '../../node_modules/react-native/ReactCommon/jsi', modular_headers: true
pod 'WatermelonDB', path: '../../'

# post_install do |installer|
# react_native_post_install(installer)
# end

target 'WatermelonTesterTests' do
inherit! :search_paths
Expand Down
Loading

0 comments on commit 95899ec

Please sign in to comment.