XCode 4 project failed «PBXVariantGroup» issue
XCode 4 project failed «PBXVariantGroup» issue
- Subject: XCode 4 project failed «PBXVariantGroup» issue
- From: Martin-Gilles Lavoie <email@hidden>
- Date: Fri, 11 Mar 2011 10:25:32 -0800 (PST)
I have a project that compiled just fine in XCode 3.2.6 which is having issues in XCode 4.
I get an error during the copy file build phase where it`s not finding a file:
/Volumes/Oracle/X-Data/Users/lavoie/Library/Developer/Xcode/DerivedData/Communicator-fxdolpqzlwbmvhhhmywcddnbnggn/Build/Products/Debug-iphonesimulator/../../Resources/en.lproj/Localizable.strings:0: error: The file “Localizable.strings” couldn’t be opened because there is no such file.
I have examined the Derived Data hierarchy and indeed, there is no
(...) Debug-iphonesimulator/../../Resources*
directory. Instead, there is a
(...) Debug-iphonesimulator/MyApp.app/en.lproj/Localizable.strings
I examined the project file iself (ie, MyProj.xcodeproj/project.pbxproj) and found this blurb:
/* Begin PBXVariantGroup section */
A2D7CD071060046B00CD4AA0 /* Localizable.strings */ = {
isa = PBXVariantGroup;
children = (
A22B9EBA1060251D004D3C2E /* en */,
D8EE9630107D70C4006DEFB5 /* de */,
D8883CF41060AB26001708B7 /* es */,
A22B9EF410602700004D3C2E /* fr */,
A22B9EF3106026E5004D3C2E /* it */,
A22B9EF2106026D5004D3C2E /* ja */,
A22B9EF1106026C3004D3C2E /* ko */,
D80DA03E1085603100B87FEC /* pt */,
A22B9EEF10602697004D3C2E /* zh_CN */,
A2D7CD4F10600BA400CD4AA0 /* zh_TW */,
);
name = Localizable.strings;
path = ../..;
sourceTree = BUILT_PRODUCTS_DIR;
};
/* End PBXVariantGroup section */
The path property in there looks suspicious.
Anyone else has gotten this error?
Any clues as to how to resolve this?
Martin-Gilles Lavoie _______________________________________________
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