Duplicate Symbols for Architecture Arm64

Duplicate Symbols for Architecture arm64

From the errors, it would appear that the FacebookSDK.framework already includes the Bolts.framework classes. Try removing the additional Bolts.framework from the project.

1 duplicate symbol for architecture arm64 - Xcode - running out of ideas

This is a typical error that appears during link time due to multiple files exporting the same symbols.

In particular for this particular problem, you seem to have two files in your project that declare the main function:

  • Countdown_WidgetApp,
  • and the oddly named Wtarget-fb79391fc42d00bcc0af801429653506c80531174bbc6c7603c27c78464dee8a

Take a look at the contents of those files and either remove one from the project, or remove the main declaration from one of them.

Duplicate symbols for architecture x86_64

Adding x86_64 to the Excluded Architectures solved the issue.

Sample Image

Duplicate symbols for architecture x86_64 under Xcode

75 duplicate symbols for architecture x86_64

Means that you have loaded same functions twice.
As the issue disappear after removing -ObjC from Other Linker Flags,
this means that this option result that functions loads twice:

from Technical Q&A

This flag causes the linker to load every object file in the library
that defines an Objective-C class or category. While this option will
typically result in a larger executable (due to additional object code
loaded into the application), it will allow the successful creation of
effective Objective-C static libraries that contain categories on
existing classes.

https://developer.apple.com/library/content/qa/qa1490/_index.html



Related Topics



Leave a reply



Submit