• 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: Xcode 4 strange error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 4 strange error


  • Subject: Re: Xcode 4 strange error
  • From: Owen Hartnett <email@hidden>
  • Date: Mon, 23 May 2011 12:12:25 -0400

On May 21, 2011, at 4:51 PM, Owen Hartnett wrote:

> I'm getting the following error, on just one of my targets.  There are 2 targets, and one works fine, but this one gives me the following error:
>
> ProcessPCH /Users/owen/Library/Developer/Xcode/DerivedData/In2-hjlfesskjzevpghkcarsqytuwoiw/Build/PrecompiledHeaders/In2_Prefix-gvanonhejhexscebudwrgqlzylkq/In2_Prefix.pch.gch In2_Prefix.pch normal armv6 objective-c com.apple.compilers.gcc.4_2
>    cd /loomis/trunk/In2
>    setenv LANG en_US.US-ASCII
>    setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
>    /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -x objective-c-header -arch armv6 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -O0 -Wreturn-type -Wunused-variable -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk -fexceptions -mmacosx-version-min=10.6 -gdwarf-2 -fvisibility=hidden -fobjc-abi-version=2 -fobjc-legacy-dispatch -D__IPHONE_OS_VERSION_MIN_REQUIRED=30103 -iquote /Users/owen/Library/Developer/Xcode/DerivedData/In2-hjlfesskjzevpghkcarsqytuwoiw/Build/Intermediates/In2.build/Debug-iphonesimulator/In2.build/In2-generated-files.hmap -I/Users/owen/Library/Developer/Xcode/DerivedData/In2-hjlfesskjzevpghkcarsqytuwoiw/Build/Intermediates/In2.build/Debug-iphonesimulator/In2.build/In2-own-target-headers.hmap -I/Users/owen/Library/Developer/Xcode/DerivedData/In2-hjlfesskjzevpghkcarsqytuwoiw/Build/Intermediates/In2.build/Debug-iphonesimulator/In2.build/In2-all-target-headers.hmap -iquote /Users/owen/Library/Developer/Xcode/DerivedData/In2-hjlfesskjzevpghkcarsqytuwoiw/Build/Intermediates/In2.build/Debug-iphonesimulator/In2.build/In2-project-headers.hmap -I/Users/owen/Library/Developer/Xcode/DerivedData/In2-hjlfesskjzevpghkcarsqytuwoiw/Build/Products/Debug-iphonesimulator/include -I/Users/owen/Library/Developer/Xcode/DerivedData/In2-hjlfesskjzevpghkcarsqytuwoiw/Build/Intermediates/In2.build/Debug-iphonesimulator/In2.build/DerivedSources/armv6 -I/Users/owen/Library/Developer/Xcode/DerivedData/In2-hjlfesskjzevpghkcarsqytuwoiw/Build/Intermediates/In2.build/Debug-iphonesimulator/In2.build/DerivedSources -F/Users/owen/Library/Developer/Xcode/DerivedData/In2-hjlfesskjzevpghkcarsqytuwoiw/Build/Products/Debug-iphonesimulator -DDEBUG -c /loomis/trunk/In2/In2_Prefix.pch -o /Users/owen/Library/Developer/Xcode/DerivedData/In2-hjlfesskjzevpghkcarsqytuwoiw/Build/PrecompiledHeaders/In2_Prefix-gvanonhejhexscebudwrgqlzylkq/In2_Prefix.pch.gch
>
> gcc-4.2: error trying to exec '/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1': execvp: No such file or directory
> Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 255
>
> _______________
>
> As you can see, it's looking for a strange named file in the bin directory: arm-apple-darwin10-gcc-4.2.1.  I've checked the settings and don't see anything that looks like the error directory call.  In fact, I can't see it referenced in the previous command anywhere.  The target used to build fine, and the other target still does, then I think it failed after using it with instruments, which might have changed something.  I'd file a bug, but I'm not sure if it's a bug, nor how to describe it.
>
> -Owen
>

I have a fix for my own problem, determined through trial and error:  remove all "VALID ARCH" entries from the project file, project.pbxproj.  That seemed to do the trick.

-Owen


 _______________________________________________
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: 
 >Xcode 4 always spinning after opening the project (From: Tito Ciuro <email@hidden>)
 >Re: Xcode 4 always spinning after opening the project (From: "Frederick C. Lee" <email@hidden>)
 >Xcode 4 strange error (From: Owen Hartnett <email@hidden>)

  • Prev by Date: Re: XCode4 - Setup for 2 apps 1 framework
  • Next by Date: Re: XCode4 - Setup for 2 apps 1 framework
  • Previous by thread: Xcode 4 strange error
  • Next by thread: Re: Xcode 4 always spinning after opening the project
  • Index(es):
    • Date
    • Thread