Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Error install on IOS #656

Closed
agumack opened this issue Oct 6, 2016 · 21 comments
Closed

Error install on IOS #656

agumack opened this issue Oct 6, 2016 · 21 comments

Comments

@agumack
Copy link

agumack commented Oct 6, 2016

rnpm-link ERR! It seems something went wrong while linking. Error: ENOENT: no such file or directory, open '/Users/macpro/Desktop/mbizvietnam/mobile/mBizPlus/node_modules/react-native-maps/ios/AirGoogleMaps.xcodeproj/project.pbxproj' 
Please file an issue here: https://github.com/rnpm/rnpm/issues 

"react-native-maps": "0.10.0",

@olegdeezus
Copy link

Have same issue.

rnpm-install ERR! It seems something went wrong while linking. Error: ENOENT: no such file or directory, open '/Users/olegdizus/vezde-app/node_modules/react-native-maps/ios/AirGoogleMaps.xcodeproj/project.pbxproj' 
Please file an issue here: https://github.com/facebook/react-native/issues 
  "dependencies": {
    "react": "15.3.2",
    "react-native": "0.34.1",
    "react-native-maps": "^0.10.0"
  }

@ricardokdz
Copy link

I have same issue.

"react-native-maps": "^0.10.0"

@jjzazuet
Copy link

jjzazuet commented Oct 6, 2016

Same here :(.

@gavinlynch
Copy link

and same again

@Denys-Bushulyak
Copy link

Join too, have the same.

@spksoft
Copy link

spksoft commented Oct 9, 2016

Me too.

@gilbox
Copy link
Contributor

gilbox commented Oct 9, 2016

Please paste the full output, including the command you are running.

@spksoft
Copy link

spksoft commented Oct 10, 2016

Full output :

Sippakorns-MacBook-Air:AwesomeProject spksoft$ npm install --save react-native-maps
AwesomeProject@0.0.1 /Users/spksoft/Projects/React Map Test/AwesomeProject
└── react-native-maps@0.10.0 

Sippakorns-MacBook-Air:AwesomeProject spksoft$ react-native link
rnpm-install info Linking react-native-maps android dependency 
rnpm-install info Android module react-native-maps has been successfully linked 
rnpm-install info Linking react-native-maps ios dependency 
rnpm-install ERR! It seems something went wrong while linking. Error: ENOENT: no such file or directory, open '/Users/spksoft/Projects/React Map Test/AwesomeProject/node_modules/react-native-maps/ios/AirGoogleMaps.xcodeproj/project.pbxproj' 
Please file an issue here: https://github.com/facebook/react-native/issues 

ENOENT: no such file or directory, open '/Users/spksoft/Projects/React Map Test/AwesomeProject/node_modules/react-native-maps/ios/AirGoogleMaps.xcodeproj/project.pbxproj'

@gilbox
Copy link
Contributor

gilbox commented Oct 10, 2016

Excuse my ignorance, but why are you using react-native link? We don't use it for the included example project (AirMapExplorer), nor do we use it at Airbnb.

@gilbox
Copy link
Contributor

gilbox commented Oct 10, 2016

OK, I looked at the documentation for rnpm. Because of the way we support GoogleMaps, rnpm is not supported right now. Please follow the instructions for setting up your project, and have a look at the included example if you use Option 1.

@stephanemaillard
Copy link

I used react-native link because the installation guide suggest to use it https://github.com/airbnb/react-native-maps/blob/master/docs/installation.md

Also rnpm worked until the version 0.8.2 and this could be a problem because if react-native linkis used with another library the command will return an error.

@gilbox
Copy link
Contributor

gilbox commented Oct 10, 2016

I used react-native link because the installation guide suggest to use it

So it does! We should look into that.

if react-native link is used with another library the command will return an error.

eek!

@gilbox
Copy link
Contributor

gilbox commented Oct 10, 2016

I was looking at ios/ dir in master branch thinking it was the same as v0.10.0. However, it's not. Also, my bad for not pushing a tag with v0.10.0. When we make another release, AirGoogleMaps.xcodeproj will not exist and this bug will go away.

@joewoodhouse
Copy link

Any ideas when the next release might happen? Or the quickest workaround for now? I seem to have chosen a bad evening to try my google maps hello-world in react-native :) (I want to use google maps on iOS so can't go back too many versions).

@gilbox
Copy link
Contributor

gilbox commented Oct 10, 2016

trying to get it in today
#673

@joewoodhouse
Copy link

Awesome thanks!

@gilbox
Copy link
Contributor

gilbox commented Oct 10, 2016

just published v0.10.1 ... hopefully it's fixed now. That said we still need to figure how we can properly support rnpm link. Currently things will be weird if you try to use rnpm link as well as use GoogleMaps.

@ricardokdz
Copy link

ricardokdz commented Oct 11, 2016

@gilbox

v0.10.1 works for me on iOS.

rnpm-install info iOS module react-native-facebook-login is already linked
rnpm-install info Linking react-native-maps ios dependency
rnpm-install info iOS module react-native-maps has been successfully linked

thx!

@christopherdro
Copy link
Collaborator

@ricardokdz Thanks for your solution.

@gilbox
Copy link
Contributor

gilbox commented Oct 16, 2016

Just to clarify my earlier comment, if you follow the instructions to setup react-native-maps with Google maps and use rnpm link, afaik you will end up with AirMaps.xcodeproj linked in your project as well as the AirMaps/ directory in your project. IOW, it is included 2 times. I don't know if there are any drawbacks to this or not.

@kiranraj2k
Copy link

screen shot 2016-12-23 at 6 45 53 pm

@gilbox I am not sure whether this is related to what you have specified in your comment.

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

No branches or pull requests