-
Re: ld: warning: Linker asked to preserve internal global
mindthefrog Apr 13, 2017 6:12 AM (in response to mindthefrog)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.
-
Re: ld: warning: Linker asked to preserve internal global
JJAZAD LLC Apr 6, 2018 9:35 AM (in response to mindthefrog)Thank you , very helpful.
JZ
-
-
Re: ld: warning: Linker asked to preserve internal global
FlatDog Apr 14, 2017 9:02 AM (in response to mindthefrog)I've got the same problem! Trying to submit a build to Apple now, fingers-crossed!
-
Re: ld: warning: Linker asked to preserve internal global
Groovietunes Apr 14, 2017 11:09 PM (in response to mindthefrog)Would you guys happen to be using Firebase? Curious if this is at all related to the issues they were having with xcodes release of 8.3. http://stackoverflow.com/questions/42268117/how-to-remove-the-xcode-warning-apple-mach-o-linker-warning-pointer-not-aligned/42448144 Warning seem similar. Those errors were fixed the other day with Firebase 3.16, and no errors when I build. I'm only getting these errors when I try to archive.
-
Re: ld: warning: Linker asked to preserve internal global
pkclsoft Apr 15, 2017 11:34 PM (in response to Groovietunes)Yes, I believe it has to be Firebase relaed.
I thought it was related to the way that cocaopods installed it all, so I started fresh, installing the minimum myself manually. All good, all running, and now those 3 warnings are back,
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: 'sharedInstance.sharedInstance'
I haven't been able to solve this myself. I've manually installed Firebase 3.16, but that made no difference.
-
-
Re: ld: warning: Linker asked to preserve internal global
Groovietunes Apr 15, 2017 1:12 AM (in response to mindthefrog)Definitely AdMob related, built a fresh xcode project and the problem did not occur unitl archiving, after pod installing 'Firebase/AdMob'
-
Re: ld: warning: Linker asked to preserve internal global
tatare99 Apr 19, 2017 12:17 PM (in response to Groovietunes)I have the same issue...
-
-
Re: ld: warning: Linker asked to preserve internal global
lml May 11, 2017 2:13 PM (in response to mindthefrog)Same issue here. Updated CocoaPods (Firebase and AdMob) before archiving, and received same build warnings.
-
Re: ld: warning: Linker asked to preserve internal global
roeeNamde May 15, 2017 5:58 AM (in response to mindthefrog)I have the same issue... Anyone have a solution? ?
-
Re: ld: warning: Linker asked to preserve internal global
acbc Jun 9, 2017 6:29 PM (in response to mindthefrog)Same here (possibly firebase). Sending it to review like that. (crossing fingers).
-
Re: ld: warning: Linker asked to preserve internal global
OldNick Jun 29, 2017 1:55 AM (in response to mindthefrog)Hi !
After importing the AdMob SDK, when I archived my project ( workspace), I had the following warning : ld: warning: Linker asked to preserve internal global: '__block_descriptor_tmp'
I've found a way to get rid of it: Target \ Build Settings \ Build Options \ Enable bitcode = NO
Hope this help !
-
Re: ld: warning: Linker asked to preserve internal global
ingconti Jun 8, 2018 10:34 AM (in response to OldNick)I got it onky after adding adMobs
I really want to know WHY google releases such bugged, undocumented and messy SDKs...
-