Skip to content
New issue

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

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

Already on GitHub? # to your account

Podspec file not beings installed causing issues on iOS #198

Open
sharoneh opened this issue Feb 4, 2020 · 5 comments
Open

Podspec file not beings installed causing issues on iOS #198

sharoneh opened this issue Feb 4, 2020 · 5 comments

Comments

@sharoneh
Copy link

sharoneh commented Feb 4, 2020

The podspec file, merged recently (#149), is not being installed through the default installation steps, causing an issue on react-native run-ios

error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65.

I had to put the repository URL in package.json as a temporary fix so I could get the podspec file inside the package folder and be able to run the project:
"react-native-photo-view": "https://github.com/alwx/react-native-photo-view"

I don't know how to solve it but I'd like to know when this is fixed so I could remove the URL from my package.json file. Thanks!

@yogeverez
Copy link

Maybe your pod is pointing to the wrong directory.
Try changing this line in your podfile:
pod 'react-native-photo-view', path: './node_modules/react-native-photo-view'
to this line:
pod 'react-native-photo-view', path: '../node_modules/react-native-photo-view'

@gustavobarca
Copy link

It looks like there is no podspec file in /node_modules/react-native-photo-view.

Captura de Tela 2020-03-18 às 14 52 04

@akyker20
Copy link

Confirming this is an issue I have as well.

@sharoneh
Copy link
Author

@yogeverez I had already changed it when I reported the issue, still didn't solve it.
@gubarca if you put the repository url in your package.json and run npm install again, the podspec file gets installed.

I ended up removing the react-native-photo-view module from my project because, even after having the podspec file and being able to run it, I ran into some issues related to this module when trying to bundle the android package.

@kevinsproles
Copy link

Same issue here. Seems this lib doesn't support autolinking.

Switched to this similar library which seems to work: https://github.com/trabricks-react/react-native-photo-zoom

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

No branches or pull requests

5 participants