Skip to content

Commit

Permalink
fixing podspec
Browse files Browse the repository at this point in the history
fixes #275
  • Loading branch information
Ron Radtke authored and Ron Radtke committed Jul 25, 2023
1 parent 3047bdb commit 1040174
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-blob-util",
"version": "0.18.4",
"version": "0.18.5",
"description": "A module provides upload, download, and files access API. Supports file stream read/write for process large files.",
"main": "index",
"scripts": {
Expand Down
5 changes: 4 additions & 1 deletion react-native-blob-util.podspec
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
require "json"

fabric_enabled = ENV['RCT_NEW_ARCH_ENABLED'] == '1'
package = JSON.parse(File.read(File.join(__dir__, "package.json")))

Pod::Spec.new do |s|
Expand All @@ -15,6 +16,8 @@ Pod::Spec.new do |s|
s.platforms = { :ios => "11.0" }
s.framework = 'AssetsLibrary'

install_modules_dependencies(s)
if fabric_enabled
install_modules_dependencies(s)
end

end

3 comments on commit 1040174

@billnbell
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am getting:

node_modules/react-native-blob-util/ios/ReactNativeBlobUtil/ReactNativeBlobUtil.h:22:9: 'RCTBridgeModule.h' file not found

#import "RCTBridgeModule.h"
        ^~~~~~~~~~~~~~~~~~~

@RonRadtke
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am getting:

node_modules/react-native-blob-util/ios/ReactNativeBlobUtil/ReactNativeBlobUtil.h:22:9: 'RCTBridgeModule.h' file not found

#import "RCTBridgeModule.h"
        ^~~~~~~~~~~~~~~~~~~

should be fixed

@billnbell
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep latest fixes it.

Please sign in to comment.