iOS Tutorial Error compiling b4i bridge

I get the following error when I try to compile the bridge app

"
B4i version: 2.51
Parsing code. (0.00s)
Compiling code. (0.02s)
Building designer app. (0.01s)
Building Xcode project (0.04s)
Sending data to remote compiler. Error
Error: xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
"

On the Mac it prompted me to download the command line tools, so I did. Same error.

I searched the forums and found Eriel's post about this
http://stackoverflow.com/questions/...ve-developer-directory-error-on-osx-mavericks

None of that helped.

Right now I am re-installing Xcode..

Any other suggestions?
 

karld

Active Member
Licensed User
Longtime User
I finally finished reinstalling xtools.

I still get the following error when trying to compile the bridge

B4i version: 2.51
Parsing code. (0.00s)
Compiling code. (0.02s)
Building designer app. (0.01s)
Building Xcode project (0.04s)
Sending data to remote compiler. Error
Error: xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

I can start the emulator, and I can pull up the access page and it shows the builder is running...

What am I missing here?
 

karld

Active Member
Licensed User
Longtime User
OK.. Got it to work!!!

I did this..

  • re-Install Xcode from the developer.apple.com
  • Point xcode-select to the Xcode Developer Directory

    sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
From http://stackoverflow.com/questions/23519883/rubymotion-error-tool-xcodebuild-requires-xcode

I then was getting an error about having to accept a license agreement for Xcode..

Popped into a terminal window and typed sudo xcodebuild -license
then scrolled down to the bottom and agreed to the terms.
The Bridge compiles and installed on my Iphone.

Now the real fun begins!
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…