lightbasenl / react-native-panorama-view

A simple component for displaying panoramic images in your React Native app.
MIT License
130 stars 48 forks source link

Pod Error IOS installation #50

Open chernandezq opened 3 years ago

chernandezq commented 3 years ago

When I'm installing and execute "pod install", I have this error: [!] No podspec found for @lightbase in ../node_modules/@lightbase/react-native-panorama-view

I don't understand the Troubleshooting iOS please you can explain to me how I can run the project without errors

justcodejs commented 3 years ago

I have the same issue....

rodymolenaar commented 3 years ago

Could you try using 1.0.0-canary.1 and see if this issue is still happening for you?

chernandezq commented 3 years ago

Could you try using 1.0.0-canary.1 and see if this issue is still happening for you?

I have this error in the console when execute command pod install [!] The react-native-panorama-view pod failed to validate due to 1 error:

justcodejs commented 3 years ago

Same here...

image

justcodejs commented 3 years ago

I open the node_modules/@lightbase/react-native-panorama-view/react-native-panorama-view.podspec file and found that the s.homepage refer to the package.json in the same folder. When open the package.json file, I don't see any setting for homepage, therefore, I added "homepage": "https://github.com/lightbasenl/react-native-panorama-view" in the package.json file and run pod install again in the iOS folder the pod install complete without issue.

Test run the app and it is working fine :)

justcodejs commented 3 years ago

Now my question is that is it possible to make the image move without user dragging it. Means that when the user move the phone, the image will moving accordingly based on the phone position (base on gyroscope sensor?)

rodymolenaar commented 3 years ago

Have you tried setting enableTouchTracking to false?

chernandezq commented 3 years ago

I open the node_modules/@lightbase/react-native-panorama-view/react-native-panorama-view.podspec file and found that the s.homepage refer to the package.json in the same folder. When open the package.json file, I don't see any setting for homepage, therefore, I added "homepage": "https://github.com/lightbasenl/react-native-panorama-view" in the package.json file and run pod install again in the iOS folder the pod install complete without issue.

Test run the app and it is working fine :)

When you tested the app run directly from xcode? Because When I run the app from xcode the log show me errors