Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by AndyMorrin · Jan 27 at 01:35 PM · xcode

Thousands of duplicate symbols for architecture arm64 when building from Xcode

Hi,

I am building an AR app from Unity for IOS devices. When I attempt to build my Xcode project to an IOS device, the build fails and I receive an error saying there are duplicate symbols for architecture arm64. Sometimes I don't have this error when building and sometimes I do... Sometimes there are 80k duplicate symbols, but this time round it says there are over 100k duplicate symbols.

The error messages point at the DerivedData folder, but I have cleared that out and attempted so many solutions online. There are no ads in my project, and as I said it works sometimes when Xcode decides it can be bothered. Building through Xcode has proven to be the absolute worst experience and I can't put my finger on the problem, but this is causing a serious issue with my work.

Any help or suggestions would be appreciated.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by AboDabo · Feb 15 at 11:30 PM

Man, I spent the past two days trying to find the answer to this same issue.

Seemingly randomly, Xcode would eventually work... I think I might have figured out what was triggering this to happen.

When I looked in the Classes/Native folder in the latest iOS build folder (where all of the duplicate files were) I noticed that the files were last modified hours prior. When I tried to build the project in Xcode, it made duplicates that had been modified even more hours prior... It all seemed strange to have reused files and then duplicates that were even older...

So, I went into a random C# script and removed a comment so I'd have a reason to save and let Unity reload them.

I then built again and sure enough, the files in the Classes/Native folder were all freshly created.

When I built in Xcode it finally all worked again, without duplicates.

The settings below were also the only things I touched in Xcode before doing this new successful build (not sure if they contributed to the success, as I'd fiddled with them a bunch before also):

Project
Architectures
Build Active Architecture only
iOS (selected iOS rather than "iphoneos")
Deployment
Targeted Device Families: iPad
Apple Clang - Code Generation
No Common Blocks: No

Target
Architecture
Build Active Architecture Only
iOS(selected iOS rather than "iphoneos")
Deployment
Targeted Device Families: iPad


I'm sorry this isn't more definitive or much of a pin-point, but I hated seeing this post go ignored while I was wrestling with the issue for days also. I hope any of this helps!!!

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by ryanloh29 · Feb 25 at 12:33 PM

Hey man I was reading up on solutions for hours and it all didn't help till I found across post. Appreciate it man

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

138 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Xcode Files in Asset Server 1 Answer

xcode - how to make a label appear by pressing a button 0 Answers

How to Start Local MasterServer-2.0? 0 Answers

BuildPlayer and Plugins on Ios 1 Answer

close unity from xcode 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges