• 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: Refactor + moved XIB file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Refactor + moved XIB file


  • Subject: Re: Refactor + moved XIB file
  • From: Quincey Morris <email@hidden>
  • Date: Fri, 11 Sep 2009 09:43:08 -0700

On Sep 11, 2009, at 08:13, Chris Espinosa wrote:

Nothing about Refactoring involves the Build folder.

Please file a bug and include the .xcodeproj wrapper. The way Xcode records references to localized files is a little odd, and it's possible that your project file has two different references to the same file.

Nevertheless, Andy was correct. Deleting the Build folder makes the error go away.


Submitted to bugreporter as #7216211.

FWIW, here's the minimal steps to reproduce:

1. Create a new Xcode project from the Cocoa document application template. Call this project (say) "Basic2".
2. Create a new folder (say) "Basic2 Files" within the Basic2 project folder.
3. Drag the the English.lproj folder from the Basic2 project folder into the "Basic2 Files" subfolder.
4. Move the Basic2-info.plist reference from the Resources group to the Other Sources group.
(Step 4 is needed to prevent the info.plist reference from getting stranded in step 5, and having to be fixed up afterwards.)
5. In the main Xcode project window, Get Info on the Resources group and choose the "Basic2 Files" subfolder as the group's path. It should now be possible to build the application without errors.
6. Open MyDocument.h, select the class name "MyDocument" and choose "Refactor..." from the context menu.
7. Type a new name for the class, (say) "Basic2Document", and click "Preview".


_______________________________________________
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: Refactor + moved XIB file
      • From: Andrew Pontious <email@hidden>
References: 
 >Refactor + moved XIB file (From: Quincey Morris <email@hidden>)
 >Re: Refactor + moved XIB file (From: Andy Lee <email@hidden>)

  • Prev by Date: Xcode Internal Error when saving file
  • Next by Date: Re: Xcode Internal Error when saving file
  • Previous by thread: Re: Refactor + moved XIB file
  • Next by thread: Re: Refactor + moved XIB file
  • Index(es):
    • Date
    • Thread