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="xstep" data-source="post: 925556" data-attributes="member: 11647"><p>Import the .h file.</p><p></p><p>I think what has happened is that your project already knows to compile the .m file. By including it in another source file, you are asking the compiler to compile it inline with that other source file, so the compiler sees it a second time, hence the duplicate symbol.</p></blockquote><p></p>
[QUOTE="xstep, post: 925556, member: 11647"] Import the .h file. I think what has happened is that your project already knows to compile the .m file. By including it in another source file, you are asking the compiler to compile it inline with that other source file, so the compiler sees it a second time, hence the duplicate symbol. [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
duplicate symbol _OBJC_METACLASS_$
Top