• 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
Linker errors resulting from changing a filename
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Linker errors resulting from changing a filename


  • Subject: Linker errors resulting from changing a filename
  • From: Issac Trotts <email@hidden>
  • Date: Wed, 1 Apr 2009 22:37:12 -0700

Hi xcode users,

I just tried renaming a pair of files from the command line:

Dataset2.h -> Dataset.h
Dataset2.m -> Dataset.m

Then I removed the old file references within Xcode, and added the new
ones. Then I updated #import "Dataset2.h" to #import "Dataset.h"
everywhere. The program linked and ran before this change, but after
the change it failed to link any functions from Dataset.m.

So I reverted the change in git, and then redid the name change inside
Xcode. This time it worked. I don't know why.

Issac
 _______________________________________________
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: Linker errors resulting from changing a filename
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re: dyld error that I don't understand
  • Next by Date: Change language from Japanese to English
  • Previous by thread: Re: dyld error that I don't understand
  • Next by thread: Re: Linker errors resulting from changing a filename
  • Index(es):
    • Date
    • Thread