Xcode 8.3 Linker Warnings

An attempt was made to archive the application before being sent to Apple. Warning limit exceeded - only the first 200 alerts are shown. Examples of warnings:

ld: warning: Linker asked to preserve internal global: 'sharedInstance.sharedInstance'
ld: warning: Linker asked to preserve internal global: '__block_descriptor_tmp'
ld: warning: Linker asked to preserve internal global: '__block_descriptor_tmp'
ld: warning: Linker asked to preserve internal global: '__block_descriptor_tmp'
ld: warning: Linker asked to preserve internal global: '__block_descriptor_tmp'
ld: warning: Linker asked to preserve internal global: '__block_literal_global'
ld: warning: Linker asked to preserve internal global: '__block_descriptor_tmp'
ld: warning: Linker asked to preserve internal global: '__block_descriptor_tmp'
ld: warning: Linker asked to preserve internal global: '__block_descriptor_tmp'

Using Xcode 8.3.3. Swift 3. Relevant Firebase swap entries:

Using Firebase (4.0.2)
Using FirebaseAnalytics (4.0.1)
Using FirebaseAuth (4.0.0)
Using FirebaseCore (4.0.2)
Using FirebaseDatabase (4.0.0)
Using FirebaseInstanceID (2.0.0)
Using FirebaseMessaging (2.0.0)
Using FirebaseStorage (2.0.0)

I had this problem a while ago, and Firebase 3.16 seems to have fixed it, but now the warnings have returned. Warnings only come to the archive. Is anyone else experiencing this situation?

+4
source share
1 answer

After importing the AdMob SDK, when I backed up my project (workspace), I got the following warning:

ld: warning: Linker : '__block_descriptor_tmp'

:

Target \ Build Settings \ Build Options \ Enable bitcode = NO

, !

0

Source: https://habr.com/ru/post/1680843/


All Articles