Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
duplicate symbol _OBJC_METACLASS_$
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Bracer" data-source="post: 925536" data-attributes="member: 125415"><p>I created a basic command line Foundation Class Based object using the build in template.</p><p></p><p>I proceed to add a new "MyClass.m" & "MyClass.h" and everything compiles fine.</p><p></p><p>Now when I try to #import "MyClass.m" in the main file it says:</p><p>ld: duplicate symbol _OBJC_METACLASS_$_MyClass in MyClass.o and Link.o...</p><p></p><p>Please Help.</p><p>Thanks.</p></blockquote><p></p>
[QUOTE="Bracer, post: 925536, member: 125415"] I created a basic command line Foundation Class Based object using the build in template. I proceed to add a new "MyClass.m" & "MyClass.h" and everything compiles fine. Now when I try to #import "MyClass.m" in the main file it says: ld: duplicate symbol _OBJC_METACLASS_$_MyClass in MyClass.o and Link.o... Please Help. Thanks. [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
duplicate symbol _OBJC_METACLASS_$
Top