Re: Xcode internal error: _buildSettings is nil
Re: Xcode internal error: _buildSettings is nil
- Subject: Re: Xcode internal error: _buildSettings is nil
- From: Wim Lewis <email@hidden>
- Date: Tue, 06 Sep 2011 13:32:56 -0700
On 6 Sep 2011, at 1:07 PM, Eric Slosser wrote:
> I've managed to get some of my projects into a state such that when I open them, Xcode (3.2.5) says:
>
> Internal Error
> File: /SourceCache/DevToolsBase/DevToolsBase-1763/pbxcore/Target.subproj/PBXBuildStyle.m
> Line: 329
> Object <SXCbuildConfiguration:0x4066d7dc0>
> Method: upgradeBuildSettingsFromArchivedObjectVersion:
>
> _buildSettings should be an instance inheriting from PBXBuildSettingsDictionary, but it is nil
>
> Xcode 4.2 (4D151a) says the same thing, but the source path and line number are different.
>
> Any idea how to fix this? It's breaking our automated builds.
Hm, I haven't had this exact problem but I have had svn merge break my xcodeprojs on occasion. They're usually not too hard to fix if you can diff the broken one against the most-recent working version.
I'd open the project.pbxproj in a text editor (it's an old-style property list file) and make sure that every item that has "isa = XCBuildConfiguration" has a buildSettings key whose value is a dictionary. If one is missing, try adding "buildSettings = { };".
_______________________________________________
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