Re: Fixing a build path after renaming a project
Re: Fixing a build path after renaming a project
- Subject: Re: Fixing a build path after renaming a project
- From: Steve Mills <email@hidden>
- Date: Mon, 06 Apr 2015 17:22:21 -0500
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden