Rhodes 4.0 with Xcode 5

256 views
Skip to first unread message

Subramanya Yash

unread,
Feb 14, 2014, 12:25:23 AM2/14/14
to rhom...@googlegroups.com

Hi All,

Rhodes is upgraded to 4.0 and XCode 5.0 which required for iOS7. But i am having an issue while building the app in XCode5.0. below are the log generated when the app is build in XCode5. Please help me on this. Thanks in advance.

extpaths: ["/Users/starsoft/workspace/RhoMobileApplication8/extensions", "/Users/starsoft/.rvm/gems/ruby-1.9.3-p448/gems/rhodes-4.0.0/lib/commonAPI", "/Users/starsoft/.rvm/gems/ruby-1.9.3-p448/gems/rhodes-4.0.0/lib/extensions", "/Users/starsoft/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/gems/1.9.1/gems/rhoconnect-client-4.0.0/lib/../ext"]
$SHELL ./build
build script in extension already executable : /Users/starsoft/.rvm/gems/ruby-1.9.3-p448/gems/rhodes-4.0.0/lib/commonAPI/coreapi/ext/build
** Invoke default (first_time)
** Invoke build:all (first_time)
** Invoke build:config (first_time)
** Execute build:config
** Execute build:all
rm -rf build
rm -rf /Users/starsoft/.rvm/gems/ruby-1.9.3-p448/gems/rhodes-4.0.0/platform/iphone/build/rhorunner.build/Debug-iphoneos/rhorunner.build/libCoreAPI.a
CoreAPI extension !
PWD: /Users/starsoft/.rvm/gems/ruby-1.9.3-p448/gems/rhodes-4.0.0/lib/commonAPI/coreapi/ext/platform/iphone
CMD: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild build -target CoreAPI -configuration Debug -sdk iphoneos7.0
xcodebuild: error: SDK "iphoneos7.0" cannot be located.
cp ./build/Debug-iphoneos/libCoreAPI.a /Users/starsoft/.rvm/gems/ruby-1.9.3-p448/gems/rhodes-4.0.0/platform/iphone/build/rhorunner.build/Debug-iphoneos/rhorunner.build/libCoreAPI.a
rake aborted!
No such file or directory - ./build/Debug-iphoneos/libCoreAPI.a
/Users/starsoft/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/fileutils.rb:1515:in stat'
/Users/starsoft/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/fileutils.rb:1515:in
block in fu_each_src_dest'
/Users/starsoft/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/fileutils.rb:1531:in fu_each_src_dest0'
/Users/starsoft/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/fileutils.rb:1513:in
fu_each_src_dest'
/Users/starsoft/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/fileutils.rb:395:in cp'
/Users/starsoft/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/file_utils_ext.rb:37:in
cp'
/Users/starsoft/.rvm/gems/ruby-1.9.3-p448/gems/rhodes-4.0.0/lib/commonAPI/coreapi/ext/platform/iphone/Rakefile:72:inblock (2 levels) in <top (required)>'
/Users/starsoft/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:246:in
call'
/Users/starsoft/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:246:inblock in execute'
/Users/starsoft/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:241:in
each'
/Users/starsoft/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:241:inexecute'
/Users/starsoft/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:184:in
block in invoke_with_call_chain'
/Users/starsoft/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/monitor.rb:211:in mon_synchronize'
/Users/starsoft/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:177:in
invoke_with_call_chain'
/Users/starsoft/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:205:inblock in invoke_prerequisites'
/Users/starsoft/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:203:in
each'
/Users/starsoft/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:203:ininvoke_prerequisites'
/Users/starsoft/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:183:in
block in invoke_with_call_chain'
/Users/starsoft/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/monitor.rb:211:in mon_synchronize'
/Users/starsoft/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:177:in
invoke_with_call_chain'
/Users/starsoft/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:170:ininvoke'
/Users/starsoft/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:143:in
invoke_task'
/Users/starsoft/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:101:in block (2 levels) in top_level'
/Users/starsoft/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:101:in
each'
/Users/starsoft/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:101:in block in top_level'
/Users/starsoft/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:110:in
run_with_threads'
/Users/starsoft/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:95:in top_level'
/Users/starsoft/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:73:in
block in run'
/Users/starsoft/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:160:in standard_exception_handling'
/Users/starsoft/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:70:in
run'
/Users/starsoft/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/gems/1.9.1/gems/rake-10.0.4/bin/rake:33:in<top (required)>'
/Users/starsoft/.rvm/gems/ruby-1.9.3-p448/bin/rake:23:in
load'
/Users/starsoft/.rvm/gems/ruby-1.9.3-p448/bin/rake:23:in <main>'
/Users/starsoft/.rvm/gems/ruby-1.9.3-p448/bin/ruby_noexec_wrapper:14:in
eval'
/Users/starsoft/.rvm/gems/ruby-1.9.3-p448/bin/ruby_noexec_wrapper:14:in `'
Tasks: TOP => default => build:all

rake aborted!
Command failed with status (1): [$SHELL ./build...]
/Users/starsoft/.rvm/gems/ruby-1.9.3-p448/gems/rhodes-4.0.0/platform/iphone/rbuild/iphone.rake:813:inbuild_extension_lib'
/Users/starsoft/.rvm/gems/ruby-1.9.3-p448/gems/rhodes-4.0.0/platform/iphone/rbuild/iphone.rake:871:in
block in build_extension_libs'
/Users/starsoft/.rvm/gems/ruby-1.9.3-p448/gems/rhodes-4.0.0/platform/iphone/rbuild/iphone.rake:832:ineach'
/Users/starsoft/.rvm/gems/ruby-1.9.3-p448/gems/rhodes-4.0.0/platform/iphone/rbuild/iphone.rake:832:in
build_extension_libs'
/Users/starsoft/.rvm/gems/ruby-1.9.3-p448/gems/rhodes-4.0.0/platform/iphone/rbuild/iphone.rake:983:inblock (3 levels) in <top (required)>'
/Users/starsoft/.rvm/gems/ruby-1.9.3-p448/gems/rhodes-4.0.0/platform/iphone/rbuild/iphone.rake:658:in
block (3 levels) in '
/Users/starsoft/.rvm/gems/ruby-1.9.3-p448/bin/ruby_noexec_wrapper:14:in eval'
/Users/starsoft/.rvm/gems/ruby-1.9.3-p448/bin/ruby_noexec_wrapper:14:in
'
Tasks: TOP => build:iphone:rhobundle
(See full trace by running task with --trace)
Showing first 200 notices only
Command /bin/sh failed with exit code 1

Stephen Benner

unread,
Mar 4, 2014, 5:59:47 AM3/4/14
to rhom...@googlegroups.com
To fix the problem you will probably want to read up on 'stack traces' so you can follow the errors in the code. In this case your problem is ocurring in the Rhodes rake build task, specifically:

No such file or directory - ./build/Debug-iphoneos/libCoreAPI.a

So you are clearly missing this file on your file system, OR the bash script is failing for some reason. The command that fails, as you can see from the line above, is a bash copy command. Look at the paths where it is trying to copy files from and to, for starters.
Reply all
Reply to author
Forward
0 new messages