• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Fixing a build path after renaming a project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Fixing a build path after renaming a project
      • From: "Lobron, David" <email@hidden>
References: 
 >Fixing a build path after renaming a project (From: "Lobron, David" <email@hidden>)
 >Re: Fixing a build path after renaming a project (From: Quincey Morris <email@hidden>)
 >Re: Fixing a build path after renaming a project (From: "Lobron, David" <email@hidden>)
 >Re: Fixing a build path after renaming a project (From: Quincey Morris <email@hidden>)
 >Re: Fixing a build path after renaming a project (From: "Lobron, David" <email@hidden>)

  • Prev by Date: Re: Fixing a build path after renaming a project
  • Next by Date: Re: Unable to set View Tag in IB?
  • Previous by thread: Re: Fixing a build path after renaming a project
  • Next by thread: Re: Fixing a build path after renaming a project
  • Index(es):
    • Date
    • Thread