Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ target 'MmkvExample' do
:app_path => "#{Pod::Config.instance.installation_root}/.."
)

pod 'MMKVCore', :modular_headers => true

post_install do |installer|
# https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202
react_native_post_install(
Expand Down
4 changes: 4 additions & 0 deletions packages/react-native-mmkv/NitroMmkv.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ Pod::Spec.new do |s|
s.libraries = 'z', 'c++'
s.dependency 'MMKVCore', '>= 2.2.3'

s.pod_target_xcconfig = {
"CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES" => "YES"
}

load 'nitrogen/generated/ios/NitroMmkv+autolinking.rb'
add_nitrogen_files(s)

Expand Down
Loading