Error during building by XCode - XCode return next error code = 256

I am trying to run a sample RhoMobile application on MAC OS X - 10.6.8

I have iphonesimulator 4.1 installed on mac, so my build.yml has

sdk: "iphonesimulator4.1"

What does this error mean, how do I get rid of this?

Thanks.

Darryn Campbell
A related question -

A related question - sometimes I have seen 'Build Failed' messages when building an app; How do I see the details of the build-failed messages? Being new to iOS and andriod development environments I have no clue of what to look for.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Prashant J
I appreciate if anyone could

I appreciate if anyone could help me solve this, is there any place to look for & troubleshoot common compile errors, build/environment setup errors?

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Dmitry Soldatenkov
send me complete console

send me complete console output produced by "rake run:iphone --trace"

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Prashant J
I have pasted the error below

I have pasted the error below. Thanks for your help.

(in /Users/epteam/Development/Rho-Projects/RhoMobileApplication1)

** Invoke run:iphone (first_time)

** Invoke run:buildsim (first_time)

** Invoke config:iphone (first_time)

** Invoke config:set_iphone_platform (first_time)

** Execute config:set_iphone_platform

** Invoke config:common (first_time)

** Execute config:commona

$app_config['extensions'] : ["json", "another-extension"]

$app_config['capabilities'] : []

** Invoke switch_app (first_time)

** Invoke config:common

** Execute switch_app

** Execute config:iphone

iphonesimulator4.1

Check SDK :

PWD: /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3

CMD: /Developer/usr/bin/xcodebuild -version -sdk iphonesimulator4.1

RET: iPhoneSimulator4.1.sdk - 'Simulator - iOS 4.1' (iphonesimulator4.1)

RET: SDKVersion: 4.1

RET: Path: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk

RET: PlatformPath: /Developer/Platforms/iPhoneSimulator.platform

RET: ProductBuildVersion: 8B117

RET: ProductCopyright: 1983-2010 Apple Inc.

RET: ProductVersion: 4.1

RET: ProductName: iPhone OS

RET:

iPhoneSimulator4.1.sdk - 'Simulator - iOS 4.1' (iphonesimulator4.1)

SDKVersion: 4.1

Path: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk

PlatformPath: /Developer/Platforms/iPhoneSimulator.platform

ProductBuildVersion: 8B117

ProductCopyright: 1983-2010 Apple Inc.

ProductVersion: 4.1

ProductName: iPhone OS

** Invoke build:iphone:rhodes (first_time)

** Invoke config:iphone

** Invoke build:iphone:rhobundle (first_time)

** Invoke config:iphone

** Execute build:iphone:rhobundle

** Execute build:bundle:noxruby

common_bundle_start

init extensions

ext - json

1

add_extension - /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/lib/extensions/json - /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/iphone/bin/RhoBundle/lib

extyml /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/lib/extensions/json/ext.yml

ext - another-extension

1

exception

exts /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/shared/ruby/ext/rho/extensions.c

Running default.rb

Running compileRB

** Execute build:iphone:extensions

extpaths: ["/Users/epteam/Development/Rho-Projects/RhoMobileApplication1/extensions", "/Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/lib/extensions"]

build script in extension not found => pure ruby extension

build script in extension not found => pure ruby extension

build script in extension not found => pure ruby extension

build script in extension not found => pure ruby extension

** Execute build:iphone:rhodes

set name

set name

set bundle identifier

set URL Scheme

set URL name

set icon

set_default_images

PWD: /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/iphone

CMD: /Developer/usr/bin/xcodebuild build -target rhorunner -configuration Release -sdk iphonesimulator4.1 -arch i386

set name

set name

set bundle identifier

set URL Scheme

set URL name

restore_default_images

restore icon

************************************

ERROR during building by XCode !

XCode return next error code = 256

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Dmitry Soldatenkov
This is complete console

This is complete console output ?

I do not see any xcode building output.

Make "rake clean:iphone --trace"

and them "rake run:iphone --trace"

and send me full console output for both commands.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Dmitry Soldatenkov
Where your XCode installed, I

Where your XCode installed, I mean full path ?

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Prashant J
Xcode is @ MacHD\Developer

Xcode is @ MacHD\Developer\Applications\XCode.

rake clean:iphone --trace

(in /Users/epteam/Development/Rho-Projects/RhoMobileApplication1)

** Invoke clean:iphone (first_time)

** Invoke clean:iphone:all (first_time)

** Invoke clean:iphone:rhodes (first_time)

** Invoke config:iphone (first_time)

** Invoke config:set_iphone_platform (first_time)

** Execute config:set_iphone_platform

** Invoke config:common (first_time)

** Execute config:common

$app_config['extensions'] : ["json", "another-extension"]

$app_config['capabilities'] : []

** Invoke switch_app (first_time)

** Invoke config:common

** Execute switch_app

** Execute config:iphone

iphonesimulator4.1

Check SDK :

PWD: /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3

CMD: /Developer/usr/bin/xcodebuild -version -sdk iphonesimulator4.1

RET: iPhoneSimulator4.1.sdk - 'Simulator - iOS 4.1' (iphonesimulator4.1)

RET: SDKVersion: 4.1

RET: Path: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk

RET: PlatformPath: /Developer/Platforms/iPhoneSimulator.platform

RET: ProductBuildVersion: 8B117

RET: ProductCopyright: 1983-2010 Apple Inc.

RET: ProductVersion: 4.1

RET: ProductName: iPhone OS

RET:

iPhoneSimulator4.1.sdk - 'Simulator - iOS 4.1' (iphonesimulator4.1)

SDKVersion: 4.1

Path: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk

PlatformPath: /Developer/Platforms/iPhoneSimulator.platform

ProductBuildVersion: 8B117

ProductCopyright: 1983-2010 Apple Inc.

ProductVersion: 4.1

ProductName: iPhone OS

** Execute clean:iphone:rhodes

PWD: /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/iphone

CMD: /Developer/usr/bin/xcodebuild clean -target rhorunner -configuration Release -sdk iphonesimulator4.1

RET: Build settings from command line:

RET:     PLATFORM_NAME = iphonesimulator

RET:     SDKROOT = /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk

RET:

RET:

RET: === CLEAN NATIVE TARGET rhorubylib OF PROJECT rhorubylib WITH CONFIGURATION Release ===

RET: Check dependencies

RET: Clean.Remove clean ../build/Release-iphonesimulator/librhorubylib.a

RET:     /bin/rm -rf /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/iphone/rhorubylib/../build/Release-iphonesimulator/librhorubylib.a

RET:

RET: Clean.Remove clean ../build/rhorubylib.build/Release-iphonesimulator/rhorubylib.build

RET:     /bin/rm -rf /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/iphone/rhorubylib/../build/rhorubylib.build/Release-iphonesimulator/rhorubylib.build

RET:

RET:

RET: === CLEAN NATIVE TARGET rhosynclib OF PROJECT rhosynclib WITH CONFIGURATION Release ===

RET: Check dependencies

RET: Clean.Remove clean ../build/Release-iphonesimulator/librhosynclib.a

RET:     /bin/rm -rf /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/iphone/rhosynclib/../build/Release-iphonesimulator/librhosynclib.a

RET:

RET: Clean.Remove clean ../build/rhosynclib.build/Release-iphonesimulator/rhosynclib.build

RET:     /bin/rm -rf /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/iphone/rhosynclib/../build/rhosynclib.build/Release-iphonesimulator/rhosynclib.build

RET:

RET:

RET: === CLEAN NATIVE TARGET RhoLib OF PROJECT RhoLib WITH CONFIGURATION Release ===

RET: Check dependencies

RET: Clean.Remove clean ../build/Release-iphonesimulator/librholib.a

RET:     /bin/rm -rf /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/iphone/RhoLib/../build/Release-iphonesimulator/librholib.a

RET:

RET: Clean.Remove clean ../build/RhoLib.build/Release-iphonesimulator/RhoLib.build

RET:     /bin/rm -rf /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/iphone/RhoLib/../build/RhoLib.build/Release-iphonesimulator/RhoLib.build

RET:

RET:

RET: === CLEAN NATIVE TARGET rhoextlib OF PROJECT rhoextlib WITH CONFIGURATION Release ===

RET: Check dependencies

RET: Clean.Remove clean ../build/Release-iphonesimulator/librhoextlib.a

RET:     /bin/rm -rf /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/iphone/rhoextlib/../build/Release-iphonesimulator/librhoextlib.a

RET:

RET: Clean.Remove clean /var/folders/e9/e9NCQii8G3ub47ZdlS3ai++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/rhoextlib_Prefix-gvindhcidjhjmmameqtaynfyeyii/rhoextlib_Prefix.pch.gch

RET:     /bin/rm -rf /var/folders/e9/e9NCQii8G3ub47ZdlS3ai++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/rhoextlib_Prefix-gvindhcidjhjmmameqtaynfyeyii/rhoextlib_Prefix.pch.gch

RET:

RET: Clean.Remove clean /var/folders/e9/e9NCQii8G3ub47ZdlS3ai++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/rhoextlib_Prefix-abxhsquxmzjtqmajsoqosfnrkewv/rhoextlib_Prefix.pch.gch

RET:     /bin/rm -rf /var/folders/e9/e9NCQii8G3ub47ZdlS3ai++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/rhoextlib_Prefix-abxhsquxmzjtqmajsoqosfnrkewv/rhoextlib_Prefix.pch.gch

RET:

RET: Clean.Remove clean ../build/rhoextlib.build/Release-iphonesimulator/rhoextlib.build

RET:     /bin/rm -rf /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/iphone/rhoextlib/../build/rhoextlib.build/Release-iphonesimulator/rhoextlib.build

RET:

RET:

RET: === CLEAN NATIVE TARGET curl OF PROJECT curl WITH CONFIGURATION Release ===

RET: Check dependencies

RET: Clean.Remove clean ../build/Release-iphonesimulator/libcurl.a

RET:     /bin/rm -rf /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/iphone/curl/../build/Release-iphonesimulator/libcurl.a

RET:

RET: Clean.Remove clean ../build/curl.build/Release-iphonesimulator/curl.build

RET:     /bin/rm -rf /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/iphone/curl/../build/curl.build/Release-iphonesimulator/curl.build

RET:

RET:

RET: === CLEAN NATIVE TARGET rhorunner OF PROJECT rhorunner WITH CONFIGURATION Release ===

RET: Check dependencies

RET: Clean.Remove clean build/Release-iphonesimulator/rhorunner.app

RET:     /bin/rm -rf /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/iphone/build/Release-iphonesimulator/rhorunner.app

RET:

RET: Clean.Remove clean /var/folders/e9/e9NCQii8G3ub47ZdlS3ai++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/rhorunner_Prefix-evmoorvqneosqbcwuwjyubgcnkdr/rhorunner_Prefix.pch.gch

RET:     /bin/rm -rf /var/folders/e9/e9NCQii8G3ub47ZdlS3ai++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/rhorunner_Prefix-evmoorvqneosqbcwuwjyubgcnkdr/rhorunner_Prefix.pch.gch

RET:

RET: Clean.Remove clean /var/folders/e9/e9NCQii8G3ub47ZdlS3ai++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/rhorunner_Prefix-hbkqkjwjolwwligkfbwtdejzixzm/rhorunner_Prefix.pch.gch

RET:     /bin/rm -rf /var/folders/e9/e9NCQii8G3ub47ZdlS3ai++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/rhorunner_Prefix-hbkqkjwjolwwligkfbwtdejzixzm/rhorunner_Prefix.pch.gch

RET:

RET: Clean.Remove clean /var/folders/e9/e9NCQii8G3ub47ZdlS3ai++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/rhorunner_Prefix-cxrncxtxeykxypboaragaqujoqxn/rhorunner_Prefix.pch.gch

RET:     /bin/rm -rf /var/folders/e9/e9NCQii8G3ub47ZdlS3ai++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/rhorunner_Prefix-cxrncxtxeykxypboaragaqujoqxn/rhorunner_Prefix.pch.gch

RET:

RET: Clean.Remove clean /var/folders/e9/e9NCQii8G3ub47ZdlS3ai++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/rhorunner_Prefix-dqwzjskizjzvhphclvbmaqfpctzr/rhorunner_Prefix.pch.gch

RET:     /bin/rm -rf /var/folders/e9/e9NCQii8G3ub47ZdlS3ai++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/rhorunner_Prefix-dqwzjskizjzvhphclvbmaqfpctzr/rhorunner_Prefix.pch.gch

RET:

RET: Clean.Remove clean /var/folders/e9/e9NCQii8G3ub47ZdlS3ai++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/rhorunner_Prefix-gvvqllepbetbeqdptxktrdrpkbtb/rhorunner_Prefix.pch.gch

RET:     /bin/rm -rf /var/folders/e9/e9NCQii8G3ub47ZdlS3ai++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/rhorunner_Prefix-gvvqllepbetbeqdptxktrdrpkbtb/rhorunner_Prefix.pch.gch

RET:

RET: Clean.Remove clean /var/folders/e9/e9NCQii8G3ub47ZdlS3ai++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/rhorunner_Prefix-gxktmobpomjqqrainzteecaxiloz/rhorunner_Prefix.pch.gch

RET:     /bin/rm -rf /var/folders/e9/e9NCQii8G3ub47ZdlS3ai++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/rhorunner_Prefix-gxktmobpomjqqrainzteecaxiloz/rhorunner_Prefix.pch.gch

RET:

RET: Clean.Remove clean build/Release-iphonesimulator/rhorunner.app.dSYM

RET:     /bin/rm -rf /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/iphone/build/Release-iphonesimulator/rhorunner.app.dSYM

RET:

RET: Clean.Remove clean build/rhorunner.build/Release-iphonesimulator/rhorunner.build

RET:     /bin/rm -rf /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/iphone/build/rhorunner.build/Release-iphonesimulator/rhorunner.build

RET:

RET: ** CLEAN SUCCEEDED **

RET:

Build settings from command line:

    PLATFORM_NAME = iphonesimulator

    SDKROOT = /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk

=== CLEAN NATIVE TARGET rhorubylib OF PROJECT rhorubylib WITH CONFIGURATION Release ===

Check dependencies

Clean.Remove clean ../build/Release-iphonesimulator/librhorubylib.a

    /bin/rm -rf /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/iphone/rhorubylib/../build/Release-iphonesimulator/librhorubylib.a

Clean.Remove clean ../build/rhorubylib.build/Release-iphonesimulator/rhorubylib.build

    /bin/rm -rf /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/iphone/rhorubylib/../build/rhorubylib.build/Release-iphonesimulator/rhorubylib.build

=== CLEAN NATIVE TARGET rhosynclib OF PROJECT rhosynclib WITH CONFIGURATION Release ===

Check dependencies

Clean.Remove clean ../build/Release-iphonesimulator/librhosynclib.a

    /bin/rm -rf /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/iphone/rhosynclib/../build/Release-iphonesimulator/librhosynclib.a

Clean.Remove clean ../build/rhosynclib.build/Release-iphonesimulator/rhosynclib.build

    /bin/rm -rf /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/iphone/rhosynclib/../build/rhosynclib.build/Release-iphonesimulator/rhosynclib.build

=== CLEAN NATIVE TARGET RhoLib OF PROJECT RhoLib WITH CONFIGURATION Release ===

Check dependencies

Clean.Remove clean ../build/Release-iphonesimulator/librholib.a

    /bin/rm -rf /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/iphone/RhoLib/../build/Release-iphonesimulator/librholib.a

Clean.Remove clean ../build/RhoLib.build/Release-iphonesimulator/RhoLib.build

    /bin/rm -rf /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/iphone/RhoLib/../build/RhoLib.build/Release-iphonesimulator/RhoLib.build

=== CLEAN NATIVE TARGET rhoextlib OF PROJECT rhoextlib WITH CONFIGURATION Release ===

Check dependencies

Clean.Remove clean ../build/Release-iphonesimulator/librhoextlib.a

    /bin/rm -rf /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/iphone/rhoextlib/../build/Release-iphonesimulator/librhoextlib.a

Clean.Remove clean /var/folders/e9/e9NCQii8G3ub47ZdlS3ai++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/rhoextlib_Prefix-gvindhcidjhjmmameqtaynfyeyii/rhoextlib_Prefix.pch.gch

    /bin/rm -rf /var/folders/e9/e9NCQii8G3ub47ZdlS3ai++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/rhoextlib_Prefix-gvindhcidjhjmmameqtaynfyeyii/rhoextlib_Prefix.pch.gch

Clean.Remove clean /var/folders/e9/e9NCQii8G3ub47ZdlS3ai++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/rhoextlib_Prefix-abxhsquxmzjtqmajsoqosfnrkewv/rhoextlib_Prefix.pch.gch

    /bin/rm -rf /var/folders/e9/e9NCQii8G3ub47ZdlS3ai++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/rhoextlib_Prefix-abxhsquxmzjtqmajsoqosfnrkewv/rhoextlib_Prefix.pch.gch

Clean.Remove clean ../build/rhoextlib.build/Release-iphonesimulator/rhoextlib.build

    /bin/rm -rf /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/iphone/rhoextlib/../build/rhoextlib.build/Release-iphonesimulator/rhoextlib.build

=== CLEAN NATIVE TARGET curl OF PROJECT curl WITH CONFIGURATION Release ===

Check dependencies

Clean.Remove clean ../build/Release-iphonesimulator/libcurl.a

    /bin/rm -rf /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/iphone/curl/../build/Release-iphonesimulator/libcurl.a

Clean.Remove clean ../build/curl.build/Release-iphonesimulator/curl.build

    /bin/rm -rf /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/iphone/curl/../build/curl.build/Release-iphonesimulator/curl.build

=== CLEAN NATIVE TARGET rhorunner OF PROJECT rhorunner WITH CONFIGURATION Release ===

Check dependencies

Clean.Remove clean build/Release-iphonesimulator/rhorunner.app

    /bin/rm -rf /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/iphone/build/Release-iphonesimulator/rhorunner.app

Clean.Remove clean /var/folders/e9/e9NCQii8G3ub47ZdlS3ai++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/rhorunner_Prefix-evmoorvqneosqbcwuwjyubgcnkdr/rhorunner_Prefix.pch.gch

    /bin/rm -rf /var/folders/e9/e9NCQii8G3ub47ZdlS3ai++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/rhorunner_Prefix-evmoorvqneosqbcwuwjyubgcnkdr/rhorunner_Prefix.pch.gch

Clean.Remove clean /var/folders/e9/e9NCQii8G3ub47ZdlS3ai++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/rhorunner_Prefix-hbkqkjwjolwwligkfbwtdejzixzm/rhorunner_Prefix.pch.gch

    /bin/rm -rf /var/folders/e9/e9NCQii8G3ub47ZdlS3ai++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/rhorunner_Prefix-hbkqkjwjolwwligkfbwtdejzixzm/rhorunner_Prefix.pch.gch

Clean.Remove clean /var/folders/e9/e9NCQii8G3ub47ZdlS3ai++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/rhorunner_Prefix-cxrncxtxeykxypboaragaqujoqxn/rhorunner_Prefix.pch.gch

    /bin/rm -rf /var/folders/e9/e9NCQii8G3ub47ZdlS3ai++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/rhorunner_Prefix-cxrncxtxeykxypboaragaqujoqxn/rhorunner_Prefix.pch.gch

Clean.Remove clean /var/folders/e9/e9NCQii8G3ub47ZdlS3ai++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/rhorunner_Prefix-dqwzjskizjzvhphclvbmaqfpctzr/rhorunner_Prefix.pch.gch

    /bin/rm -rf /var/folders/e9/e9NCQii8G3ub47ZdlS3ai++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/rhorunner_Prefix-dqwzjskizjzvhphclvbmaqfpctzr/rhorunner_Prefix.pch.gch

Clean.Remove clean /var/folders/e9/e9NCQii8G3ub47ZdlS3ai++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/rhorunner_Prefix-gvvqllepbetbeqdptxktrdrpkbtb/rhorunner_Prefix.pch.gch

    /bin/rm -rf /var/folders/e9/e9NCQii8G3ub47ZdlS3ai++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/rhorunner_Prefix-gvvqllepbetbeqdptxktrdrpkbtb/rhorunner_Prefix.pch.gch

Clean.Remove clean /var/folders/e9/e9NCQii8G3ub47ZdlS3ai++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/rhorunner_Prefix-gxktmobpomjqqrainzteecaxiloz/rhorunner_Prefix.pch.gch

    /bin/rm -rf /var/folders/e9/e9NCQii8G3ub47ZdlS3ai++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/rhorunner_Prefix-gxktmobpomjqqrainzteecaxiloz/rhorunner_Prefix.pch.gch

Clean.Remove clean build/Release-iphonesimulator/rhorunner.app.dSYM

    /bin/rm -rf /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/iphone/build/Release-iphonesimulator/rhorunner.app.dSYM

Clean.Remove clean build/rhorunner.build/Release-iphonesimulator/rhorunner.build

    /bin/rm -rf /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/iphone/build/rhorunner.build/Release-iphonesimulator/rhorunner.build

** CLEAN SUCCEEDED **

** Invoke clean:iphone:rhobundle (first_time)

** Invoke config:iphone

** Execute clean:iphone:rhobundle

** Execute clean:iphone:all

** Execute clean:iphone

rake run:iphone --trace

(in /Users/epteam/Development/Rho-Projects/RhoMobileApplication1)

** Invoke run:iphone (first_time)

** Invoke run:buildsim (first_time)

** Invoke config:iphone (first_time)

** Invoke config:set_iphone_platform (first_time)

** Execute config:set_iphone_platform

** Invoke config:common (first_time)

** Execute config:common

$app_config['extensions'] : ["json", "another-extension"]

$app_config['capabilities'] : []

** Invoke switch_app (first_time)

** Invoke config:common

** Execute switch_app

** Execute config:iphone

iphonesimulator4.1

Check SDK :

PWD: /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3

CMD: /Developer/usr/bin/xcodebuild -version -sdk iphonesimulator4.1

RET: iPhoneSimulator4.1.sdk - 'Simulator - iOS 4.1' (iphonesimulator4.1)

RET: SDKVersion: 4.1

RET: Path: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk

RET: PlatformPath: /Developer/Platforms/iPhoneSimulator.platform

RET: ProductBuildVersion: 8B117

RET: ProductCopyright: 1983-2010 Apple Inc.

RET: ProductVersion: 4.1

RET: ProductName: iPhone OS

RET:

iPhoneSimulator4.1.sdk - 'Simulator - iOS 4.1' (iphonesimulator4.1)

SDKVersion: 4.1

Path: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk

PlatformPath: /Developer/Platforms/iPhoneSimulator.platform

ProductBuildVersion: 8B117

ProductCopyright: 1983-2010 Apple Inc.

ProductVersion: 4.1

ProductName: iPhone OS

** Invoke build:iphone:rhodes (first_time)

** Invoke config:iphone

** Invoke build:iphone:rhobundle (first_time)

** Invoke config:iphone

** Execute build:iphone:rhobundle

** Execute build:bundle:noxruby

common_bundle_start

init extensions

ext - json

1

add_extension - /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/lib/extensions/json - /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/iphone/bin/RhoBundle/lib

extyml /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/lib/extensions/json/ext.yml

ext - another-extension

1

exception

exts /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/shared/ruby/ext/rho/extensions.c

Running default.rb

Running compileRB

** Execute build:iphone:extensions

extpaths: ["/Users/epteam/Development/Rho-Projects/RhoMobileApplication1/extensions", "/Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/lib/extensions"]

build script in extension not found => pure ruby extension

build script in extension not found => pure ruby extension

build script in extension not found => pure ruby extension

build script in extension not found => pure ruby extension

** Execute build:iphone:rhodes

set name

set name

set bundle identifier

set URL Scheme

set URL name

set icon

set_default_images

PWD: /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/iphone

CMD: /Developer/usr/bin/xcodebuild build -target rhorunner -configuration Release -sdk iphonesimulator4.1 -arch i386

set name

set name

set bundle identifier

set URL Scheme

set URL name

restore_default_images

restore icona

************************************

ERROR during building by XCode !

XCode return next error code = 256

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Dmitry Soldatenkov
Hmm...very strange, it seems

Hmm...

very strange, it seems like XCode return immediately after call for building.

Can you check this :

in application folder run:

rake switch_app

rake build:iphone:setup_xcode_project

after it open rhorunner xcode project from XCode (located in /Users/epteam/.gem/ruby/1.8/gems/rhodes-3.3.3/platform/iphone)

and run in XCode rhorunner  run|iphone simulator

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Dmitry Soldatenkov
alos please send me your

alos please send me your application's build.yml

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Prashant J
Thanks I tried that but

Thanks I tried that but seeing 600+ errors when I tried to compile/build in xcode; Looks like something is fundamentally wrong with my setup.

Xcode fails to find some of the basic framework files like rhoruby.h etc

Here's a quick summary of my environment if that will help.

MAC OS X 10.6.8

XCODE v3.2.4

iphonesimulator v4.1

rhodes v3.3.3

rhoelements v2

Used rhostudio to generate a sample rho application

This is my Build.yml

name: "RhoMobileApplication1"

extensions:

  - json

  - another-extension

bbver: "4.6"

wp:

  productid: "9f76e8e0-9dff-012f-3002-34159e138edc"

app_type: "rhoelements"

android:

  version: "2.1"

build: "debug"

applog: "rholog.txt"

version: "1.0"

symbian:

  uid: "0xef8d4a37"

sdkversion: "3.3.3"

vendor: "rhomobile"

iphone:

  provisionprofile:

  BundleURLScheme: "rhomobileapplication1"

  BundleIdentifier: "com.rhomobile.rhomobileapplication1"

  sdk: "iphonesimulator4.1"

  codesignidentity:

  entitlements:

  configuration: "Release"

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Dmitry Soldatenkov
I recommend you remove your

I recommend you remove your current XCode and install XCode 4.2 (latest XCode for Snow Leopard ).

Do not forget install "Command line tools" - after install XCode open preferences and select "Downloads" pane

Also I recommend totally remove your current XCode - see this doc :

http://macdevelopertips.com/xcode/how-to-uninstall-xcode.html

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Prashant J
Looks like XCode 4.2 can be

Looks like XCode 4.2 can be installed on MAC 10.7 or later,but the MAC OS upgrade is not free.

I couldnt find the XCode 4.2 for 10.6.8 - still looking...

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Dmitry Soldatenkov
For Lion(10.7) the new XCode

For Lion(10.7) the new XCode - 4.3, but 4.2 for 10.6.

https://developer.apple.com/devcenter/ios/index.action#downloads

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Prashant J
Thanks Dmitry but if I login

Thanks Dmitry but if I login to developer.apple.com with my apple_id, I dont see a XCode 4.2 download for 10.6, all the XCode 4.X links are for Lion (10.7) only

Searching the website didnt return any results.

Will it list XCode 4.2 for 10.6 only for "paid" users? I just signed up @ developer.apple.com and I havent paid, I neither see any information on how to download 4.2 for MAC OS 10.6

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Darryn Campbell
Sorry, but I am a paid user

Sorry, but I am a paid user and see XCode 4.2 on first page. I do not known about Code 4.2 only for paid.

Vote: 
Vote up!
Vote down!

Points: 1

You voted ‘up’


Prashant J
Based on my research so far,

Based on my research so far, to run a rhoelements application on an iPhone (device) I would need the following

1. Access to iOS developer portal to download tools like XCode 4.2

2. Access to iOS developer portal to provision the iPhone (device)

Will the iOS developer program ($99) be good enough for me to start with? Do you think there are any additional steps (from apple website) other than the ones listed above?

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments