Re: Adding subprojects to main project
Re: Adding subprojects to main project
- Subject: Re: Adding subprojects to main project
- From: Steve Mills <email@hidden>
- Date: Fri, 14 Jan 2011 14:46:11 -0600
On Jan 14, 2011, at 13:17:22, Steve Mills wrote:
> I've added the QuickLook project to the app project and added a Copy Files build phase to get it into the right place. But when I go to drag the Spotlight project into the app project, it never shows drop insertion location. If I instead try to use the Add to Project menu item, I can select the Spotlight project and Add is enabled, but clicking Add does nothing; the dlog doesn't even dismiss.
I noticed that when I go to set the app target's dependencies on the QuickLook plugin, the Spotlight plugin also showed up in the list of dependancies that could be added. Bwuh? So I opened the app's project.pbxproj in a text editor to see why it thinks the Spotlight project is known. Sure enough, there is one mention of it in the PBXContainerItemProxy section (I don't understand the layout of a pbxproj, I'm just reporting what I see):
DD3161AE1092074200F1D4D2 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = DD315FC41091ECBF00F1D4D2 /* CreatorSpotlight.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 8D576316048677EA00EA77CD;
remoteInfo = C7Spotlight;
};
There's also this entry in the PBXFileReference section:
DD315FC41091ECBF00F1D4D2 /* CreatorSpotlight.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = CreatorSpotlight.xcodeproj; path = /depot/cmyk/creatortech/desktop/mac/SpotlightImporter/CreatorSpotlight.xcodeproj; sourceTree = "<absolute>"; };
And this in the PBXProject section under projectReferences:
{
ProductGroup = DD3161AB1092074200F1D4D2 /* Products */;
ProjectRef = DD315FC41091ECBF00F1D4D2 /* CreatorSpotlight.xcodeproj */;
},
However, when I search for QuickLook, I find 2 references to it in the PBXContainerItemProxy section, with the only difference being the proxyType:
DD28EDB412E0CFFF00325515 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = DD28EDB012E0CFFF00325515 /* CreatorQuickLook.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 8D576316048677EA00EA77CD;
remoteInfo = CreatorQuickLook;
};
DD6C25E312E0E9B1005F183A /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = DD28EDB012E0CFFF00325515 /* CreatorQuickLook.xcodeproj */;
proxyType = 1;
remoteGlobalIDString = 8D57630D048677EA00EA77CD /* CreatorQuickLook */;
remoteInfo = CreatorQuickLook;
};
And there's also mention of it in the PBXGroup section, in a children list:
DD28EDB012E0CFFF00325515 /* CreatorQuickLook.xcodeproj */,
Should I just delete every thing in the project (via text editor) that mentions the Spotlight project? Xcode has obviously hosed it up somehow.
Steve Mills
Drummer, Mac geek
_______________________________________________
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