Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error to build project after installation of this package #44

Closed
teckbeng-payboy opened this issue Feb 11, 2022 · 5 comments
Closed

Error to build project after installation of this package #44

teckbeng-payboy opened this issue Feb 11, 2022 · 5 comments

Comments

@teckbeng-payboy
Copy link

Version
"react": "17.0.2",
"react-native": "0.67.2",

@alpha0010
Copy link
Owner

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

@Navipro70
Copy link

@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.

@alpha0010
Copy link
Owner

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?

@honzajerabek
Copy link

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

@alpha0010
Copy link
Owner

Should be fixed in v2.2.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants