Skip to content

Commit

Permalink
Fix errors when compiling with Swift file on iOS lower than 14
Browse files Browse the repository at this point in the history
  • Loading branch information
maksg committed Apr 15, 2024
1 parent cd2f90d commit 1687299
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion RNLiveMarkdown.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@ Pod::Spec.new do |s|
s.subspec "common" do |ss|
ss.source_files = "cpp/**/*.{cpp,h}"
ss.header_dir = "RNLiveMarkdown"
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/cpp\"" }
end
end
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#pragma once
#if defined(RCT_NEW_ARCH_ENABLED) || defined(ANDROID)

#include <react/renderer/core/ShadowNodeFamily.h>

Expand Down Expand Up @@ -32,3 +33,5 @@ class JSI_EXPORT MarkdownTextInputDecoratorState final {

} // namespace react
} // namespace facebook

#endif
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#pragma once
#if defined(RCT_NEW_ARCH_ENABLED) || defined(ANDROID)

#include "MarkdownTextInputDecoratorShadowNode.h"
#include <react/debug/react_native_assert.h>
Expand All @@ -15,3 +16,5 @@ class MarkdownTextInputDecoratorViewComponentDescriptor final

} // namespace react
} // namespace facebook

#endif

0 comments on commit 1687299

Please sign in to comment.