Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 533 Vote(s) - 3.42 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Duplicate Symbols for Architecture arm64

#11
Below Patch work for me..:)

Step 1: Go to TARGETS -> Build Settings -> No Common Blocks -> No

Step 2: Go to TARGETS -> Build Settings -> enable testability -> No

**Setting it back to NO solved the problem!**



Reply

#12
to solve this problem go to Build phases and search about duplicate file
like (facebookSDK , unityads ) and delete (extension file.o) then build again .
Reply

#13
In my case reason was too stupid :

I had a Constant.h file where I had macros defined.
I thought of doing NSString there. and did this :


NSString const *kGreenColor = @"#00C34E";

this caused the problem of Duplicate Symbols for Architecture arm64
and Linker command failed with exit code 1. **Removing const NSString line worked for me.**
Reply

#14
check your include file, I had this issue because I accidentally #imported "filename.m" instead of "filename.h", autocorrect (tab) put an "m" not "h".
Reply

#15
Using Xcode 8, "Update project to recommended settings" option turned ON 'No Common Blocks' for my project.

Turning it back to OFF fixed everything up.
Reply

#16
Another Solution is to:

> Select **Project** -> **Target** -> **Build phase** -> **Compile source** -> search
> for the file which is mentioned in the 3rd last error line (In your
> case **BFAppLinkReturnToRefererView.o**).

Then you will see either 1 or 2 files in search result.

**Remove** one of them and **compile again**. It should recompile now because there is only one file left and no more conflicts for build.

If that doesnt work the file probably has errors in it and you should remove all of them and then recompile.
It should work again.
Reply

#17
For me, I created a method called `sampleMethod` in ViewController_A and created the same method in ViewController_B too, It caused me this error, then i changed the method name in ViewController_B to `secondSampleMethod`. It fixed the error.

Seems like a Good feature to reduce the code and not to duplicate the same code in many places.

I tried changing the No Common blocks from Yes to No then enabling testability from Yes to No. It didn't worked. I Checked duplicate files also in build phases, but there is no duplicate files.
Reply

#18
I got this issue because I was lazily defining a variable in my .m outside of a method, then in another .m file I was defining another variable with the same name outside a method. This was causing a global variable name duplicate issue.
Reply

#19
The problem for me was I had manually included a framework but then also included that same framework in CocoaPods not knowing I did so. Once I removed one or the other, the problem went away
Reply

#20
I've messed up my pods while downgrading a pod and I've managed to resolve the issue with *duplicate symbols for architecture arm64* by removing the pods and installing them again with:

pod deintegrate
pod install
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through