This is weird. When I create a new app project, build it, change its name using 
the same technique you did, build again, it works. If I then close the project, 
throw out the build folder, open it, and build, it complains when it builds the 
tests target that it can't find:

ld: file not found: 
/Users/tut/Projects/OldName/build/Debug/OldName.app/Contents/MacOS/OldName

Projects/OldName is correct, as the rename doesn't change that part, but the 
two OldName's after that should've been changed during the rename.

So I looked at the project.pbxproj and it has these entries in the "Begin 
PBXNativeTarget section":

        name = NewName;
        productName = Oldname;

But when I look at the target settings in Xcode, the Product Name field clearly 
shows NewName. Something is hosed here, and I can't find any file that would 
cause that to happen.

--
Steve Mills
Drummer, Mac geek


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to