react-native-app-tour: Cannot do pod install or pod repo update

This is working great for me on Android now.

However on iOS I am having problems.

I have linked it already.

I then try to go to cd …/node_modules/react-native-app-tour/ios then I try pod install and that fails with:

Noitidarts-Mac-mini:ios noitidart$ pod install
Analyzing dependencies
[!] Unable to satisfy the following requirements:

- `MaterialShowcase (= 0.5.1)` required by `Podfile`

None of your spec sources contain a spec satisfying the dependency: `MaterialShowcase (= 0.5.1)`.

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.

Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default.

[!] Automatically assigning platform ios with version 8.0 on target RNAppTour because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

So then, per the readme, I try pod repo update first:

But then that fails with:

Noitidarts-Mac-mini:ios noitidart$ pod install --repo-update
Updating local specs repositories
[!] Failed to connect to GitHub to update the CocoaPods/Specs specs repo - Please check if you are offline, or that GitHub is down

This is real weird because I am online, and github is up.

Any ideas please?

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 23 (21 by maintainers)

Most upvoted comments

Thanks for @Noitidart, @prscX ! You are enthusiastic persons! Hope this lib is going to be improved & better 😄 I will come back this lib to support some issues after I finish my rush project.

Thanks, Cong

I have created a youtube video of this. I am going to try to do a production build to make sure I did everything correct - right now a bit stuck - issue #19 - Im updating my macos right now - then when that builds then i have verified this process is correct, then will PR this please - https://youtu.be/iBjsCrEtYW4 😃

Oh @prscX thanks so much for updating readme. I was making PR now, but saw it was already in there. Sorry about the delay, I was trying to verify if it worked for production build too. 😃 Thanks also very very much for mentioning @Noitidart for the video! You are too kind you didn’t have to 😃

Awesome team work. I am so glad to work with you both! Thank you!

I just verified that this video is correct. We should probably mention that they need to update XCode to latest. As when I did that, then the production build worked fine.

Thanks a lot @Noitidart for sharing the video w.r.t iOS installation. It will be very useful for folks facing the iOS installation issues. I will update the README with the video reference.

Definitely @congnguyen91, Looking forward to collaborate/work with you on awesome stuffs 😄.

Thanks </ Pranav >