mapbox / react-native-mapbox-ar

Location based augmented reality components using React Native, Viro and Mapbox
MIT License
225 stars 45 forks source link

pod install failed for iOS #14

Open pushian opened 6 years ago

pushian commented 6 years ago

Following the readme file to run the example project, I found that:

  1. there is a typo for "npm i or yarn instal", which should be "npm i or yarn install"
  2. I got the following error for "pod install" for iOS: Analyzing dependencies Fetching podspec for ViroKit from ../node_modules/react-viro/ios/dist/ViroRenderer/ [!] No podspec found for ViroKit in ../node_modules/react-viro/ios/dist/ViroRenderer/

Please review and comment.

pushian commented 6 years ago

I figured it out by initializing the project using: react-viro init ViroSample --verbose However, there is one library is still missing which is named as RNMapboxARDemo/node_modules/react-native-vector-icons

jafar-albadarneh commented 6 years ago

Having the same issue here! pod install could not be run, with the following error:

[!] No `Podfile' found in the project directory.

I tried to do pod init, the installation went fine. But there was a problem in building the project in Xcode afterward. attached a screenshot

virtualLast commented 5 years ago

@jafar-albadarneh Could you confirm you were in the RNMapboxARDemo/ios folder