11 Replies Latest reply on Oct 23, 2013 12:57 PM by Michael Toews

    XCode 5 yields "no such file to load - rhoconnect-client" error

    Rob Richard

      Ok, I FINALLY got my app to run in RMS using both rhosimulator and the iphone sim as well, synchronizing with rhoconnect and all (yay!).  With that success, I ran the two commands to prepare my app for XCode.  I got into XCode5, attempted to build, and it tells me:

       

      "no such file to load - rhoconnect-client"

       

      Huh???  It just ran fine over in iphone sim launched from RMS.  Ideas on this one?

       

      Rob

        • Re: XCode 5 yields "no such file to load - rhoconnect-client" error

          This one's tricky, because when you launch RhoStudio it prompts you for which rvm ruby environment to use.  When XCode launches it will just use the default ruby environment you have, so if the rvm ruby environment you use from RhoStudio/command line doesn't match your default then xcode won't find the installed gems.

           

          -Lars

          1 of 1 people found this helpful
          • Re: XCode 5 yields "no such file to load - rhoconnect-client" error

            I'm seeing the same problem in Xcode (Version 5.0 (5A1413)  and cannot build for iOS. 

            Can't find extension 'rhoconnect-client'. Aborting build.

             

            Any progress on finding the answer?

             

            I've got the lib:

            $gem list rhoconnect-client

            *** LOCAL GEMS ***

             

            rhoconnect-client (4.0.0)

             

            $gem env

            RubyGems Environment:

              - RUBYGEMS VERSION: 2.0.7

              - RUBY VERSION: 1.9.3 (2013-06-27 patchlevel 448) [x86_64-darwin12.4.0]

              - INSTALLATION DIRECTORY: /Users/julia/.rvm/gems/ruby-1.9.3-p448

              - RUBY EXECUTABLE: /Users/julia/.rvm/rubies/ruby-1.9.3-p448/bin/ruby

              - EXECUTABLE DIRECTORY: /Users/julia/.rvm/gems/ruby-1.9.3-p448/bin

              - RUBYGEMS PLATFORMS:

                - ruby

                - x86_64-darwin-12

              - GEM PATHS:

                 - /Users/julia/.rvm/gems/ruby-1.9.3-p448

                 - /Users/julia/.rvm/gems/ruby-1.9.3-p448@global

              - GEM CONFIGURATION:

                 - :update_sources => true

                 - :verbose => true

                 - :backtrace => false

                 - :bulk_threshold => 1000

              - REMOTE SOURCES:

                 - https://rubygems.org/