0 Replies
      Latest reply on May 26, 2019 1:10 PM by jmbgsa
      jmbgsa Level 1 Level 1 (0 points)

        Hi everybody,

         

        I got a lot of warnings after the build of my app in Xcode 10.2.1:

         

        "linker asked to preserve available_externally global"

         

        Is there anyone of you who could help me understand what this means and how to solve these warnings?

         

        Best regards

        Thank you for excusing my English I am French

         

        Please find below an excerpt from the page containing these warnings:

         

        Ld /Users/margaux/Library/Developer/Xcode/DerivedData/CESA-bzelhyiwzjduguesezqahkgcmqmr/Build/Intermediates.noindex/ArchiveIntermediates/CESA/IntermediateBuildFilesPath/CESA.build/Release-iphoneos/CESA.build/Objects-normal/armv7/CESA normal armv7 (in target: CESA)

            cd /Volumes/CESA.xcode.gen

            export IPHONEOS_DEPLOYMENT_TARGET=8.0

            /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk -L/Users/margaux/Library/Developer/Xcode/DerivedData/CESA-bzelhyiwzjduguesezqahkgcmqmr/Build/Intermediates.noindex/ArchiveIntermediates/CESA/BuildProductsPath/Release-iphoneos -L/Volumes/CESA.xcode.gen/lib -F/Users/margaux/Library/Developer/Xcode/DerivedData/CESA-bzelhyiwzjduguesezqahkgcmqmr/Build/Intermediates.noindex/ArchiveIntermediates/CESA/BuildProductsPath/Release-iphoneos -F/Volumes/CESA.xcode.gen/lib -filelist /Users/margaux/Library/Developer/Xcode/DerivedData/CESA-bzelhyiwzjduguesezqahkgcmqmr/Build/Intermediates.noindex/ArchiveIntermediates/CESA/IntermediateBuildFilesPath/CESA.build/Release-iphoneos/CESA.build/Objects-normal/armv7/CESA.LinkFileList -miphoneos-version-min=8.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/margaux/Library/Developer/Xcode/DerivedData/CESA-bzelhyiwzjduguesezqahkgcmqmr/Build/Intermediates.noindex/ArchiveIntermediates/CESA/IntermediateBuildFilesPath/CESA.build/Release-iphoneos/CESA.build/Objects-normal/armv7/CESA_lto.o -fembed-bitcode -Xlinker -bitcode_verify -Xlinker -bitcode_hide_symbols -Xlinker -bitcode_symbol_map -Xlinker /Users/margaux/Library/Developer/Xcode/DerivedData/CESA-bzelhyiwzjduguesezqahkgcmqmr/Build/Intermediates.noindex/ArchiveIntermediates/CESA/BuildProductsPath/Release-iphoneos -Xlinker -final_output -Xlinker /Applications/CESA.app/CESA -fobjc-link-runtime -framework AudioToolbox -framework AVFoundation -framework MediaPlayer -framework QuartzCore -framework CoreFoundation -framework MapKit -framework WebKit -framework CoreMedia -framework CoreVideo -framework MessageUI -framework AddressBook -framework AddressBookUI -framework SystemConfiguration -framework EventKit -framework EventKitUI -framework CoreBluetooth -framework CoreGraphics -framework Foundation -framework UIKit -framework ImageIO -framework MobileCoreServices -framework CoreText -framework Security -framework CoreLocation -framework CoreMotion -framework CoreTelephony -weak_framework CoreNFC -framework QuickLook -liconv -lwd240vm -lwd240obj -lwd240mat -lwd240xml -lwd240rtf -lwd240hf -lwd240std -lwd240com -lwd240sql -lwd240pdf -lwd240zip -lwd240pnt -lwd240core -lwd240device -lwd240mdl -Xlinker -dependency_info -Xlinker /Users/margaux/Library/Developer/Xcode/DerivedData/CESA-bzelhyiwzjduguesezqahkgcmqmr/Build/Intermediates.noindex/ArchiveIntermediates/CESA/IntermediateBuildFilesPath/CESA.build/Release-iphoneos/CESA.build/Objects-normal/armv7/CESA_dependency_info.dat -o /Users/margaux/Library/Developer/Xcode/DerivedData/CESA-bzelhyiwzjduguesezqahkgcmqmr/Build/Intermediates.noindex/ArchiveIntermediates/CESA/IntermediateBuildFilesPath/CESA.build/Release-iphoneos/CESA.build/Objects-normal/armv7/CESA

         

        ld: warning: Linker asked to preserve available_externally global: '_ZThn8_NSt3__114basic_iostreamIcNS_11char_traitsIcEEED1Ev'

        ld: warning: Linker asked to preserve available_externally global: '_ZThn8_NSt3__114basic_iostreamIcNS_11char_traitsIcEEED0Ev'

        ld: warning: Linker asked to preserve available_externally global: '_ZTv0_n12_NSt3__114basic_iostreamIcNS_11char_traitsIcEEED1Ev'

        ld: warning: Linker asked to preserve available_externally global: '_ZTv0_n12_NSt3__114basic_iostreamIcNS_11char_traitsIcEEED0Ev'

        ld: warning: Linker asked to preserve available_externally global: '_ZTv0_n12_NSt3__113basic_istreamIcNS_11char_traitsIcEEED1Ev'