Xcode Apple Mach-O Linker (id) Warning

Viewed 2193

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?

2 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.

It has something to do with Firebase and bitcode. They go away if you set Enable bitcode to false.

enable bitcode

Related