Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode Apple Mach-O Linker (id) Warning

I have this app, with 0 errors and warnings when I run it on my device. But when I try to archive it for iTunes Connect I get all these weird Apple Mach-O Linker (id) Warnings.

There are two types of these warnings:

  1. Linker asked to preserve internal global: '__block_descriptor_tmp'
  2. Linker asked to preserve internal global: '__block_literal_global'

And the craziest part is that I get 402 of these warnings! enter image description here

I have a suspicion these errors may come from, or has something to do with the Derived Data folder of my application. I have tried deleting it, but the errors just comes back.

Do you think it will be safe to just ignore the warnings and upload it to the App Store?

like image 666
Peter Avatar asked May 28 '17 18:05

Peter


1 Answers

In case someone runs into the same problem, I just wanted to write an udpate: I haven't found a way to get rid of the warnings, but the app update in question went through the review process and is live on the app store with no reported issues. This is a known issue that's from upstream Firebase.

like image 143
Zeeshan Avatar answered Oct 06 '22 05:10

Zeeshan