Receive an error message when I type rake run:iphone on my Mac terminal

93 Views Asked by At

I'm trying to build a Rhodes application for Iphones and I'm following a tutorial (http://docs.rhomobile.com/en/2.2.0/rhodes/tutorial). When I type in the command rake run:iphone in my terminal I receive an error message.

Error message:

can not found XCode command line tools Install XCode to default location For XCode from 4.3 and later - you should install Command Line Tools package ! Open XCode - Preferences... - Downloads - Components - Command Line Tools

I've installed Xcode several times and installed the command line tools so I'm not sure why I am continuing to receive this error.

2

There are 2 best solutions below

1
David Neuhaus On

Perhaps try bundle exec rake run:iphone

1
CheeseFry On

Have you accepted the Xcode terms of service? In the past that has blocked things for me. You can open command space, type xcode and try to run it to check.