• 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 error: project should be an instance inheriting from PBXProject, but it is nil
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xcode error: project should be an instance inheriting from PBXProject, but it is nil


  • Subject: Re: xcode error: project should be an instance inheriting from PBXProject, but it is nil
  • From: joshua portway <email@hidden>
  • Date: Tue, 1 Jun 2004 18:46:09 +0100

yes - I'm getting this. See my recent post about subprojects - it seems to relate to including products of sub-projects in a project. I'm not *sure* but it MAY be something to do with the subprojects being converted from old PB projects (this is a wild stab in the dark / hunch kind of feeling, with very little evidence to support it at the moment).

It *ISN'T* just a harmless annoyance, because it seems to be related to my problem that when i include a framework which is a product of an included project, that inclusion is lost when i reload the project. I've looked through the actual saved project files and i can't find any problems with them - -except that the saved projects have an attribute called "remoteRef" which i assume is an object reference to the product in the sub-project, and it doesn't seem to relate to any object ID in that projects save file (but this is all complete guesswork, since the XCode file format is not document as far as i know).

does anyone else have this problem ? I think I will file it as a bug, but I'd like to get as much information as possible first.

josh

On 1 Jun 2004, at 06:17, Tobias Sargeant wrote:

I've been seeing this quite a lot recently. Does anyone know what causes it, and what I can do to fix it? In xcode, I can keep clicking continue until the project loads, and everything appears to be ok, but once it happens, nothing short of removing and readding all the targets will get rid of it.

Thanks,

Toby.

[toby@mac954] 516 $ xcodebuild -activetarget -activebuildstyle -project Aztec.xcode
2004-06-01 15:14:33.152 xcodebuild[995] ASSERTION FAILURE in /SourceCache/DevToolsBase/DevToolsBase-310/pbxcore/Target.subproj/ PBXTarget.m:3762 (object=<PBXNativeTarget:0x003ff760>, selector=buildSettingExpansionDictionaries): project should be an instance inheriting from PBXProject, but it is nil
** INTERNAL ERROR: Uncaught Exception **
Exception: ASSERTION FAILURE in /SourceCache/DevToolsBase/DevToolsBase-310/pbxcore/Target.subproj/ PBXTarget.m:3762 (object=<PBXNativeTarget:0x003ff760>, selector=buildSettingExpansionDictionaries): project should be an instance inheriting from PBXProject, but it is nil
Stack:
0 0x923eacd4 -[TSException raise]
1 0x923df8dc __TSAssertionFailureHandler
2 0x96f5208c -[PBXTarget buildSettingExpansionDictionaries]
3 0x96f51f78 -[PBXTarget expandedValueForString:getRecursiveSettingName:]
4 0x96f51ea8 -[PBXNativeTarget infoPlistFilePath]
5 0x97055ecc -[PBXNativeTarget referenceWasAdded:]
6 0x909f7078 -[NSArray makeObjectsPerformSelector:withObject:]
7 0x96f5d05c -[PBXGroup insertItems:atIndex:]
8 0x96f5cd64 -[PBXGroup insertItem:atIndex:]
9 0x96f89fc0 -[PBXProject productGroupForProjectReference:]
10 0x970af680 -[PBXReferenceProxy isValidReferenceProxy]
11 0x970b0204 -[PBXReferenceProxy awakeFromPListUnarchiver:]
12 0x909f7078 -[NSArray makeObjectsPerformSelector:withObject:]
13 0x96f4c0a4 -[PBXPListUnarchiver decodeRootObject]
14 0x96f4a918 +[PBXProject projectWithFile:errorHandler:readOnly:]
15 0x000095ac
16 0x00006688
17 0x8fe1a554
Abort trap
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Build Variants, building and keeping both versions?
  • Next by Date: Re: dead-code stripping, is it possible?
  • Previous by thread: Build Variants, building and keeping both versions?
  • Next by thread: Re: xcode error: project should be an instance inheriting from PBXProject, but it is nil
  • Index(es):
    • Date
    • Thread