Closed teckbeng-payboy closed 2 years ago
What is the error you are seeing?
Does the example project work for you?
git clone https://github.com/alpha0010/react-native-file-access.git
cd react-native-file-access
yarn
yarn example android
yarn example ios
@alpha0010 Compiling for iOS 10.0, but module 'ZIPFoundation' has a minimum deployment target of iOS 12.0
I thinks needs up deployment target to 12.
For me, cocoapods automatically chooses compatible dependencies, which in this case resolves to ZIPFoundation 0.9.11, which is minimum iOS 9.0.
Is it giving you a different version of ZIPFoundation?
I have the same problem, cocoapods automatically resolved ZIPFoundation 0.9.13, which is minimum iOS 12.0
but react-native-file-access
has minimum iOS 11.0
.
This leads to build error.
I was able to workaround by manually specifing the older version that @alpha0010 mentioned in my Podfile:
...
pod 'ZIPFoundation', '0.9.11'
...
It doesn't seem right though
Should be fixed in v2.2.2.
Version "react": "17.0.2", "react-native": "0.67.2",