Mapbox plugin - cocapods issue


I want to start using this plugin:

but after adding this plugin, i end up with this: (i’ve tried to update pods etc…)
Does anybody see this issue maybe ? Thanks.


I see the same with Checkbox plugin…

Looks like my OSX issue ?


Ever tried removing the platform and adding it again?

$ tns platform remove android
$ tns platform add android

By doing this, your project will be recompiled.


Caso for IOS:

$ tns platform remove ios
$ tns platform add ios


Hi, Yes, also tns doctor. etc…


Did you run pod repo update (in a Terminal) as the error message suggests? If so, and the problem persists, make sure the Ruby version you’re using for NativeScript is the same one as the one cocoapods uses. I’ve seen that causing issues by someone who frequently switches Ruby versions (using rvm).


Hi @Eddy,
Yes, i’ve run this repo update. But problem still exists…
attached version of coca and ruby.(i never switched ruby versions etc…)


Did you use sudo to install either cocopods or NativeScript? Check that sudo ruby -v etc gives you the same versions as above.

Reinstalling cocopods may also help:


Thanks @Eddy. Maybe i messed a bit - can i ask you if those versions are ok ?
ruby 2.3.3p222
sudo ruby -v - ruby 2.3.3p222
pod --version - 1.50
gem which cocoapods - Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.0/


I’ve updated everything - OSX, cocapods, etc…
Now i see only this issue

[!] Automatically assigning platform ios with version 8.0 on target appdig because no platform was specified. Please specify a platform for this target in your Podfile. See


Good. You can ignore that version warning.


Thanks, but i’ve lost tns run ios by this - this means if i’ll do changes in code, i dont see updated version on simulator…


@Eddy, your suggestions forced me to update all that i can.
Next after all updates, i’ve run tns remove ios and i’ce added project again. looks like it’s working. Thanks!!!
Now im having only this but this don’t affect coding process…


Nice. Yeah that warning is pretty common. No need to worry about it.