• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Building "Carbon C++ Standard Application" fails with exit code 71 {*SOLVED*}
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building "Carbon C++ Standard Application" fails with exit code 71 {*SOLVED*}


  • Subject: Re: Building "Carbon C++ Standard Application" fails with exit code 71 {*SOLVED*}
  • From: email@hidden
  • Date: Sat, 06 Dec 2008 08:34:05 -0800 (PST)

I had searched and found others having the same problem and their solutions (thanks to all!!).

Here's MY solution.

Note: the 'copystrings' command file requires RUBY, which was coded to be found at: /usr/bin/ruby.
           I had toyed with ruby1.9 and had moved the executables (see steps below):

=============================

1) copystrings doesn't like the tchrc-shell (my preferred shell):
[/Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources]./copystrings
./copystrings: Command not found.

2) Changing to bash shell:
[/Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources]bash
Hello Ric!

3) Try to launch again:
$/Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources:./copystrings
bash: ./copystrings: /usr/bin/ruby: bad interpreter: No such file or directory

Ah hah!  ... missing ruby!!!

4) Checking for ruby:
[/Users/Ric]ls /usr/bin/ruby
ls: /usr/bin/ruby: No such file or directory

4a)
[/usr/bin]ls ruby*
ruby1.8.6@  <-- I had changed its name so I can work with ruby 1.9

4b) Checking ACTIVE ruby:
[/Users/Ric]which ruby
/usr/local/bin/ruby <--- !!

5) Checking ruby version:
[/Users/Ric]ruby --version
ruby 1.9.0 (2008-06-20 revision 17482) [i686-darwin9.5.0]

6) Decided to use the safer Ruby version 1.8.6:
So... I edited the copystrings file (after making a backup!) via TextMate:

[/Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources]mate copystrings
..

#!/usr/bin/ruby1.8.6  <-- 'ruby' changed this symbolic pointer.
#
#  copystrings [options] SRCFILE ... DSTDIR
#
#  Copyright (c) 2008 Apple Inc.
#  All rights reserved.
..

7) Rebuilt the project... SUCCESS!!!


Ric.

=============================

On 12/06/2008 06:10 email@hidden wrote ..
> Environment: Xcode 3.1.2.
>
> I can't build a virgin "Carbon C++ Standard Application" from the available Xcode
> project templates.
>
> I've read some related on-line info of this.  Perhaps the environment is bad.
> 1) Removed the .MacOS directory from home & attempt to rebuild a virgin Carbon
> C++ Standard App.
> 2) Again Failed because missing 'copystrings'.  The following is resultant build
> message:
>
>     mkdir "/Users/Ric/Desktop/Carbon C++/build/Debug/Carbon C++.app/Contents/Resources/English.lproj"
>     cd "/Users/Ric/Desktop/Carbon C++"
>     setenv ICONV /usr/bin/iconv
>     /Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copystrings
>        --validate
>       --inputencoding UTF-16 --outputencoding UTF-16 English.lproj/InfoPlist.strings
>       --outdir "/Users/Ric/Desktop/Carbon C++/build/Debug/Carbon C++.app/Contents/Resources/English.lproj"
>
>
> error: can't exec '/Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copystrings'
> (No such file or directory)
>
> ==========
>
> I would like to just build a virgin Carbon/C++ project from the Xcode IDE without
> hassles.
>
> Any remedy?
>
> Ric.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Building "Carbon C++ Standard Application" fails with exit code 71 (From: email@hidden)

  • Prev by Date: Re: Using Xcode for *GNUstep* Development
  • Next by Date: Re: Error after upgrading XCode 3 to 3.1.2
  • Previous by thread: Building "Carbon C++ Standard Application" fails with exit code 71
  • Next by thread: Error after upgrading XCode 3 to 3.1.2
  • Index(es):
    • Date
    • Thread