Re: Error when opening project in 1.2
Re: Error when opening project in 1.2
- Subject: Re: Error when opening project in 1.2
- From: Glen Low <email@hidden>
- Date: Thu, 29 Apr 2004 08:35:38 +0800
Shaun:
On 28/04/2004, at 11:38 PM, Shaun Wexler wrote:
> On Apr 27, 2004, at 5:16 PM, Glen Low wrote:
>
>>> Well I now know why the errors are coming up, but not what to do
>>> with them.
>>>
>>> In a custom build rule on some targets, I had Process: Source files
>>> with names matching: */xyz
>>>
>>> Apparently Xcode 1.2 doesn't like the asterisk, even though I can't
>>> otherwise get the rule to work. Any solutions?!
>>>
>>
>> Looks like I'm carrying a conversation with myself... as the old
>> Infocom games used to say, "a sign of impending mental doom." :-)
>
> I might have been able to come up with a witty reply to that, but I'm
> currently being eaten by a Grue.
:-)
Me, I'm stuck in a place with twisty passages, all alike.
>> The problem also arises whenever I add a Shell Script Build Phase to
>> the project, even a brand new one!
>
> Have you tried quoting various parts of the Build rule string?
No such luck, quoting the string doesn't prevent the errors. Anything
that *does* disable it also prevents the rule from firing. In fact the
error seems related to shell script itself?
I'm wondering whether it's something peculiar about my configuration.
Can someone try this:
1. Create a new project.
2. Choose Project > New Build Phase > New Shell Script Build Phase.
If you have the bug, it should bite with the following series of dialog
boxes:
File: /SourceCache/DevToolsBase/DevToolsBase-310/pbxcore/
Target.subproj/PBXBuildSettingExpansion.m
Line: 237
Function: PBXFindFirstMacroReferenceInRangeOfCFString
Assertion failed: macroNameRange.length >= 1
File: /SourceCache/DevToolsBase/DevToolsBase-310/pbxcore/
Target.subproj/PBXBuildSettingExpansion.m
Line: 412
Function: PBXExpandMacroReferencesInCFString
Assertion failed: CFRangeMin(macroNameRange) <
CFRangeMax(macroNameRange)
File: /SourceCache/DevToolsBase/DevToolsBase-310/pbxcore/
Target.subproj/PBXDependencyNodeAction.m
Line: 280
Object: <PBXDependencyNodeAction:0x04927670>
Method: addEnvironmentValue:forKey:
key should be a non-empty string, but it's an empty string
etc.
Would be good if one you who had installed Xcode 1.2 on a clean system
that didn't have Xcode before tell me whether you get the above errors
too.
Cheers, Glen Low
---
pixelglow software | simply brilliant stuff
www.pixelglow.com
_______________________________________________
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.