• 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: xcodebuild seems to have trashed my project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xcodebuild seems to have trashed my project


  • Subject: Re: xcodebuild seems to have trashed my project
  • From: Rush Manbert <email@hidden>
  • Date: Fri, 28 May 2010 16:46:26 -0700

On May 28, 2010, at 3:52 PM, Rush Manbert wrote:

> I have been experimenting with an Xcode shell script target that runs, via a script, xcodebuild in order to build a different target in the same project. The reason to do this is to build the target and everything on which it depends with a specific value for SYMROOT that would otherwise be picked up from the xcconfig files that configure all of the projects.
>
> This worked all day yesterday and most of the day today. Then I ran it one time after making some changes to the project and xcodebuild failed with an assert. After that Xcode shows the same assert error every time I try to open the project.
>
> I created a second project and set it up similarly to the first. Xcode was happy with it until I tried to use one target to build the other through xcodebuild. It gave the same assert and now Xcode asserts every time I try to open the second project.
>
> I quit Xcode and ran xcodebuild -list on the command line in the directory where the project is located. It said this:
> RushBigIronMac:TestProject rmanbert$ xcodebuild -list
> 2010-05-28 15:39:44.468 xcodebuild[2256:80b] [MT] ASSERTION FAILURE in /SourceCache/DevToolsBase/DevToolsBase-1648/pbxcore/PBXContainer.m:143
> Details:  Assertion failed: [openContainers objectForKey:path] == nil
> Object:   <PBXProject>
> Method:   +setContainer:forResolvedAbsolutePath:
> Thread:   <NSThread: 0x100a14130>{name = (null), num = 1}
> Backtrace:
>  0  0x000000010035feaf -[XCAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in DevToolsCore)
>  1  0x000000010035fc1a _XCAssertionFailureHandler (in DevToolsCore)
>  2  0x0000000100139be8 +[PBXContainer setContainer:forResolvedAbsolutePath:] (in DevToolsCore)
>  3  0x0000000100138d86 -[PBXProject awakeFromPListUnarchiver:] (in DevToolsCore)
>  4  0x00007fff81deb264 -[NSArray makeObjectsPerformSelector:withObject:] (in CoreFoundation)
>  5  0x000000010012a074 -[PBXPListUnarchiver decodeRootObject] (in DevToolsCore)
>  6  0x0000000100128aa9 +[PBXProject projectWithFile:errorHandler:readOnly:] (in DevToolsCore)
>  7  0x000000010000c208
>  8  0x00000001000014f4
>  9  0x0000000000000002
> 2010-05-28 15:39:44.468 xcodebuild[2256:80b] ASSERTION FAILURE in /SourceCache/DevToolsBase/DevToolsBase-1648/pbxcore/PBXContainer.m:143
> Details:  Assertion failed: [openContainers objectForKey:path] == nil
> Object:   <PBXProject>
> Method:   +setContainer:forResolvedAbsolutePath:
> Thread:   <NSThread: 0x100a14130>{name = (null), num = 1}
> Backtrace:
>  0  0x000000010035feaf -[XCAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in DevToolsCore)
>  1  0x000000010035fc1a _XCAssertionFailureHandler (in DevToolsCore)
>  2  0x0000000100139be8 +[PBXContainer setContainer:forResolvedAbsolutePath:] (in DevToolsCore)
>  3  0x0000000100138d86 -[PBXProject awakeFromPListUnarchiver:] (in DevToolsCore)
>  4  0x00007fff81deb264 -[NSArray makeObjectsPerformSelector:withObject:] (in CoreFoundation)
>  5  0x000000010012a074 -[PBXPListUnarchiver decodeRootObject] (in DevToolsCore)
>  6  0x0000000100128aa9 +[PBXProject projectWithFile:errorHandler:readOnly:] (in DevToolsCore)
>  7  0x000000010000c208
>  8  0x00000001000014f4
>  9  0x0000000000000002
> xcodebuild: Error: couldn't load project /Users/rmanbert/development/trunkHead/client/playground/rush/mmmm/TestProject/TestProject.xcodeproj
>
> I don't know of any restrictions regarding use of xcodebuild from within an Xcode project target, and searching for the error hasn't turned anything up.
>
> I'm hoping one of the Apple guys can help with this. It's Xcode 3.2.2.

It turns out that deleting my user-specific info files within the project bundle (rmanbert.model1v3 and rmanbert.pbxuser) made the problems go away.

- Rush _______________________________________________
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: 
 >xcodebuild seems to have trashed my project (From: Rush Manbert <email@hidden>)

  • Prev by Date: xcodebuild seems to have trashed my project
  • Next by Date: Re: xcodebuild seems to have trashed my project
  • Previous by thread: xcodebuild seems to have trashed my project
  • Next by thread: Re: xcodebuild seems to have trashed my project
  • Index(es):
    • Date
    • Thread