mockingbot / react-native-zip-archive

Zip archive utility for react-native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-native 0.63.2 cannot build with this lib

reylen opened this issue · comments

Describe the bug
react-native 0.63.2 cannot build with this lib,
After change
s.dependency="React"
to
s.dependency="React-Core",
it runs ok
may be an update of the file podspec need

Are you install the react-native from the cocoapod?

Are you install the react-native from the cocoapod?

I have run
pod install,
and then build my ios project, it failed with some errors,
while I add React.framework to this lib's 'Link Binary With Libraries' , it works, no errors!

So I compare some other third's part library, I found they have changed s.dependency to "React-Core".
I change this lib's s.dependency to React-Core, then pod install again,
rebuild
it works too

this is my Podfile
`
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '10.0'

target 'RnProject_t' do
config = use_native_modules!
use_frameworks!
use_react_native!(:path => config["reactNativePath"])

target 'RnProject_tTests' do
inherit! :complete

end

end
`

@reylen I just published the beta version which should fix this issue, can you try it with yarn add react-native-zip-archive@beta?

@reylen I just published the beta version which should fix this issue, can you try it with yarn add react-native-zip-archive@beta?
It's all right for me.
My project build success with the changed version.