Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Firebase.iOS.Core breaks build. Nativ linking failed. [Xamarin.Forms iOS] #488

Open
rr-rv opened this issue Jun 17, 2021 · 3 comments
Open

Comments

@rr-rv
Copy link

rr-rv commented Jun 17, 2021

  • xamarin.firebase.ios.core: tried from 5.2 and up to current 6.10.4
  • Xamarin.Build.Download: 0.10

We have a other library (opencv4 for ios) that together with Firebase.iOS.Core breaks the build

in the build log see that a mtouch arg. is added "--gcc_flags=-ObjC -lc++ -lsqlite3 -lz" by "firebase"
im not sure this is the thing that breaks it. but it sure looks like it.

  • i have "Firebase.Core.App.Configure();" as the first thing in "FinishedLaunching"
  • its a "Shared Project" but i have gotten the same error in a .Net forms project in a PoC app.
  • It does not seem to make any difference what i put in the mtouch args, my self, as they seem to be overwritten by the firebase ones.
  • i have tried with all 3 "linking" options.
  • i have tried the workarounds in Linker Error when adding Xamarin.Firebase.iOS.RemoteConfig(4.2.1.1) to Xamarin Forms #368

im using firebase for push, so at some point im also gonna need InstanceID and CloudMesseging. But i have unistalled these in the process to find this error.

anyone have any idea if this is fixeble at all?

build log below... its long...


enviroment info:

`Microsoft Visual Studio Professional 2019
Version 16.10.1
VisualStudio.16.Release/16.10.1+31402.337
Microsoft .NET Framework
Version 4.8.04084

Installed Version: Professional

Visual C++ 2019 00435-60000-00000-AA434
Microsoft Visual C++ 2019

ASP.NET and Web Tools 2019 16.10.526.50910
ASP.NET and Web Tools 2019

ASP.NET Web Frameworks and Tools 2019 16.10.526.50910
For additional information, visit https://www.asp.net/

Azure App Service Tools v3.0.0 16.10.526.50910
Azure App Service Tools v3.0.0

Azure Functions and Web Jobs Tools 16.10.526.50910
Azure Functions and Web Jobs Tools

C# Tools 3.10.0-4.21269.26+029847714208ebe49668667c60ea5b0a294e0fcb
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Common Azure Tools 1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

(shortend)

Mono Debugging for Visual Studio 16.10.15 (552afdf)
Support for debugging Mono processes with Visual Studio.

NuGet Package Manager 5.10.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/

(shortend)

Visual C++ for Cross Platform Mobile Development (Android) 16.0.31306.167
Visual C++ for Cross Platform Mobile Development (Android)

(shortend)

Visual Studio Tools for CMake 1.0
Visual Studio Tools for CMake

Visual Studio Tools for Containers 1.0
Visual Studio Tools for Containers

VisualStudio.DeviceLog 1.0
Information about my package

VisualStudio.Foo 1.0
Information about my package

VisualStudio.Mac 1.0
Mac Extension for Visual Studio

Xamarin 16.10.000.230 (d16-10@0e66389)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Designer 16.10.0.115 (remotes/origin/c750fbf1bde3c720d077f51640fe197c6dac7cbe@c750fbf1b)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.

Xamarin Templates 16.10.5 (355b57a)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.

Xamarin.Android SDK 11.3.0.1 (d16-10/22fc2b3)
Xamarin.Android Reference Assemblies and MSBuild support.
Mono: b4a3858
Java.Interop: xamarin/java.interop/d16-10@f39db25
ProGuard: Guardsquare/proguard@912d149
SQLite: xamarin/sqlite@85460d3
Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-10@c5732a0

Xamarin.iOS and Xamarin.Mac SDK 14.20.0.3 (17fdcf569)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.`

build log with error:

1> /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mtouch @/Users/appteam/Library/Caches/Xamarin/mtbs/builds/xxx.iOS/359e154e05bfb170aeb6e29db2ca0831de4b83997a05e9139e86fb9f292aaf2c/obj/iPhone/Debug/device-builds/iphone11.2-14.6/response-file.rsp "--gcc_flags=-ObjC -lc++ -lsqlite3 -lz" 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error : warning: Could not find or use auto-linked library 'swiftObjectiveC' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error : warning: Could not find or use auto-linked library 'swiftCore' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error : warning: Could not find or use auto-linked library 'swiftQuartzCore' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error : warning: Could not find or use auto-linked library 'swiftos' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error : warning: Could not find or use auto-linked library 'swiftCoreGraphics' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error : warning: Could not find or use auto-linked library 'swiftDarwin' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error : warning: Could not find or use auto-linked library 'swiftCoreFoundation' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error : warning: Could not find or use auto-linked library 'swiftCompatibility50' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error : warning: Could not find or use auto-linked library 'swiftDispatch' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error : warning: Could not find or use auto-linked library 'swiftAVFoundation' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error : warning: Could not find or use auto-linked library 'swiftCoreMedia' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error : warning: Could not find or use auto-linked library 'swiftAccelerate' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error : warning: Could not find or use auto-linked library 'swiftFoundation' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error : warning: Could not find or use auto-linked library 'swiftsimd' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error : warning: Could not find or use auto-linked library 'swiftCompatibilityDynamicReplacements' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error : warning: Could not find or use auto-linked library 'swiftCoreImage' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error : warning: Could not find or use auto-linked library 'swiftCoreAudio' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error : warning: Could not find or use auto-linked library 'swiftUIKit' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error : warning: Could not find or use auto-linked library 'swiftCoreMIDI' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: (extension in Foundation):Foundation.DataProtocol.copyBytes(to: Swift.UnsafeMutableRawBufferPointer) -> Swift.Int. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error : warning: Could not find or use auto-linked library 'swiftMetal' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: Foundation.__DataStorage.init(bytes: Swift.UnsafeRawPointer?, length: Swift.Int) -> Foundation.__DataStorage. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: type metadata accessor for Foundation.__DataStorage. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: type metadata accessor for Foundation.Data.RangeReference. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: Foundation.Data._bridgeToObjectiveC() -> __C.NSData. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: static Foundation.Data._unconditionallyBridgeFromObjectiveC(__C.NSData?) -> Foundation.Data. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: protocol conformance descriptor for Foundation.Data : Foundation.DataProtocol in Foundation. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: type metadata for Foundation.Data. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: associated type descriptor for Swift.Sequence.Element. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: associated type descriptor for Swift.IteratorProtocol.Element. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: associated type descriptor for Swift.Sequence.Iterator. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: associated type descriptor for Swift.RawRepresentable.RawValue. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: (extension in Foundation):Swift.Dictionary._bridgeToObjectiveC() -> __C.NSDictionary. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: method descriptor for Swift.Hashable._rawHashValue(seed: Swift.Int) -> Swift.Int. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: method descriptor for Swift.Hashable.hash(into: inout Swift.Hasher) -> (). Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: method descriptor for Swift.Hashable.hashValue.getter : Swift.Int. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: protocol descriptor for Swift.Hashable. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: base conformance descriptor for Swift.Hashable: Swift.Equatable. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: method descriptor for static Swift.Equatable.== infix(A, A) -> Swift.Bool. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: protocol descriptor for Swift.Equatable. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: (extension in Foundation):Swift.String._bridgeToObjectiveC() -> __C.NSString. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: static (extension in Foundation):Swift.String._unconditionallyBridgeFromObjectiveC(__C.NSString?) -> Swift.String. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: Swift.String.hash(into: inout Swift.Hasher) -> (). Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: Swift.String.write<A where A: Swift.TextOutputStream>(to: inout A) -> (). Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: type metadata for Swift.String. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: protocol witness table for Swift.String : Swift.Hashable in Swift. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: method descriptor for Swift.Sequence.makeIterator() -> A.Iterator. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: method descriptor for Swift.Sequence._copyContents(initializing: Swift.UnsafeMutableBufferPointer<A.Element>) -> (A.Iterator, Swift.Int). Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: method descriptor for Swift.Sequence.underestimatedCount.getter : Swift.Int. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: method descriptor for Swift.Sequence._copyToContiguousArray() -> Swift.ContiguousArray<A.Element>. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: method descriptor for Swift.Sequence._customContainsEquatableElement(A.Element) -> Swift.Bool?. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: method descriptor for Swift.Sequence.withContiguousStorageIfAvailable<A>((Swift.UnsafeBufferPointer<A.Element>) throws -> A1) throws -> A1?. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: associated conformance descriptor for Swift.Sequence.Swift.Sequence.Iterator: Swift.IteratorProtocol. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: protocol descriptor for Swift.Sequence. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: (extension in Swift):Swift.Sequence.withContiguousStorageIfAvailable<A>((Swift.UnsafeBufferPointer<A.Element>) throws -> A1) throws -> A1?. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: method descriptor for Swift.RawRepresentable.rawValue.getter : A.RawValue. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: method descriptor for Swift.RawRepresentable.init(rawValue: A.RawValue) -> A?. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: protocol descriptor for Swift.RawRepresentable. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: (extension in Foundation):Swift.Array._bridgeToObjectiveC() -> __C.NSArray. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: static (extension in Foundation):Swift.Array._unconditionallyBridgeFromObjectiveC(__C.NSArray?) -> [A]. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: static Swift.Array._allocateBufferUninitialized(minimumCapacity: Swift.Int) -> Swift._ArrayBuffer<A>. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: (extension in Foundation):Swift.Double._bridgeToObjectiveC() -> __C.NSNumber. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: static (extension in Foundation):Swift.Double._forceBridgeFromObjectiveC(_: __C.NSNumber, result: inout Swift.Double?) -> (). Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: type metadata for Swift.Double. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: type metadata for Swift.Float. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: Swift.Int.hashValue.getter : Swift.Int. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: type metadata for Swift.Int. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: protocol conformance descriptor for Swift.Int : Swift.BinaryInteger in Swift. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: method descriptor for Swift.IteratorProtocol.next() -> A.Element?. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: protocol descriptor for Swift.IteratorProtocol. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: (extension in Swift):Swift.BinaryInteger.description.getter : Swift.String. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: Swift._StringGuts.grow(Swift.Int) -> (). Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: type metadata accessor for Swift._ArrayBuffer. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: protocol conformance descriptor for Swift._ArrayBuffer<A> : Swift._ArrayBufferProtocol in Swift. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: Swift._CocoaArrayWrapper.endIndex.getter : Swift.Int. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: Swift._CocoaArrayWrapper.subscript.getter : (Swift.Int) -> Swift.AnyObject. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: static Swift._DictionaryStorage.allocate(capacity: Swift.Int) -> Swift._DictionaryStorage<A, B>. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: type metadata accessor for Swift._DictionaryStorage. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: (extension in Swift):Swift._ArrayBufferProtocol._outlinedMakeUniqueBuffer(bufferCount: Swift.Int) -> (). Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: type metadata accessor for Swift._ContiguousArrayStorage. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: type metadata for Swift.DefaultStringInterpolation. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: protocol witness table for Swift.DefaultStringInterpolation : Swift.TextOutputStream in Swift. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: Swift._stringCompareWithSmolCheck(_: Swift._StringGuts, _: Swift._StringGuts, expecting: Swift._StringComparisonResult) -> Swift.Bool. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: type metadata for Swift.Int8. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: type metadata for Swift.Int16. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: (extension in Foundation):Swift.Int32._bridgeToObjectiveC() -> __C.NSNumber. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: type metadata for Swift.Int32. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: protocol conformance descriptor for Swift.Int32 : Swift.BinaryInteger in Swift. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: type metadata for Swift.UInt8. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: Swift.Hasher.init(_seed: Swift.Int) -> Swift.Hasher. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: Swift.Hasher._combine(Swift.UInt) -> (). Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: Swift.Hasher._finalize() -> Swift.Int. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: type metadata for Any. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: __swiftEmptyArrayStorage. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: __swiftEmptyDictionarySingleton. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: __swift_FORCE_LOAD_$_swiftCompatibility50. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: __swift_FORCE_LOAD_$_swiftCompatibilityDynamicReplacements. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: _swift_allocObject. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: _swift_arrayDestroy. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: _swift_arrayInitWithCopy. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: _swift_bridgeObjectRelease. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: _swift_bridgeObjectRetain. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: _swift_dynamicCastObjCClass. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: _swift_getInitializedObjCClass. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: _swift_getObjCClassFromMetadata. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: _swift_getObjCClassMetadata. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: _swift_getTupleTypeMetadata2. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: _swift_getWitnessTable. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: _swift_initStackObject. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: _swift_isUniquelyReferenced_nonNull_native. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: _swift_once. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: _swift_release. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: _swift_retain. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: _swift_setDeallocating. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: _swift_unknownObjectRelease. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: _swift_unknownObjectRetain. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: _swift_willThrow. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning MT5215: References to 'System' might require additional -framework=XXX or -lXXX instructions to the native linker 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning MT5215: References to 'ole32' might require additional -framework=XXX or -lXXX instructions to the native linker 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning MT5215: References to 'System' might require additional -framework=XXX or -lXXX instructions to the native linker 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning MT5215: References to 'System' might require additional -framework=XXX or -lXXX instructions to the native linker 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning MT5215: References to 'System.Net.Security' might require additional -framework=XXX or -lXXX instructions to the native linker 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning MT5215: References to 'System' might require additional -framework=XXX or -lXXX instructions to the native linker 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning MT5215: References to 'Kernel32' might require additional -framework=XXX or -lXXX instructions to the native linker 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning MT5215: References to 'libEGL' might require additional -framework=XXX or -lXXX instructions to the native linker 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning MT5215: References to 'ole32' might require additional -framework=XXX or -lXXX instructions to the native linker 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5201: Native linking failed. Please review the build log and the user flags provided to gcc: -ObjC -ObjC 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning : Could not find or use auto-linked library 'swiftObjectiveC' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning : Could not find or use auto-linked library 'swiftCore' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning : Could not find or use auto-linked library 'swiftQuartzCore' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning : Could not find or use auto-linked library 'swiftos' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning : Could not find or use auto-linked library 'swiftCoreGraphics' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning : Could not find or use auto-linked library 'swiftDarwin' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning : Could not find or use auto-linked library 'swiftCoreFoundation' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning : Could not find or use auto-linked library 'swiftCompatibility50' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning : Could not find or use auto-linked library 'swiftDispatch' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning : Could not find or use auto-linked library 'swiftAVFoundation' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning : Could not find or use auto-linked library 'swiftCoreMedia' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning : Could not find or use auto-linked library 'swiftAccelerate' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning : Could not find or use auto-linked library 'swiftFoundation' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning : Could not find or use auto-linked library 'swiftsimd' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning : Could not find or use auto-linked library 'swiftCompatibilityDynamicReplacements' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning : Could not find or use auto-linked library 'swiftCoreImage' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning : Could not find or use auto-linked library 'swiftCoreAudio' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning : Could not find or use auto-linked library 'swiftUIKit' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning : Could not find or use auto-linked library 'swiftCoreMIDI' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning : Could not find or use auto-linked library 'swiftMetal' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error : linker command failed with exit code 1 (use -v to see invocation) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

@rr-rv
Copy link
Author

rr-rv commented Jun 21, 2021

this can be because of this line

<LinkerFlags>-ObjC -lc++ -lsqlite3 -lz</LinkerFlags>
in the code.
there must be a way for the firebase to work without setting a global mtouch linker/compiler flag

@timteeceeii
Copy link

I am having this issue with the latest build set

Visual Studio 8.10.10 (build 8)
Xamarin.Essentials 1.7.0
Xamarin.Firebase.iOS.Auth 6.9.2
Xamarin.Firebase.iOS.Core 6.10.4
Xamarin.Forms 5.0.0.2125
Google.Cloud.Firestore 2.4.0
Google.Cloud.Storage.V1
xCode 13.0 (13A233)

/Mobile App/ShellController/ShellController.iOS/MTOUCH: Error MT5214: Native linking failed, undefined symbol: _gprsharp_convert_clock_type. This symbol was referenced by the managed member Grpc.Core.Internal.NativeMethods/DllImportsFromStaticLib.gprsharp_convert_clock_type. Please verify that all the necessary frameworks have been referenced and native libraries linked. (MT5214) (ShellController.iOS)

  • loads others

/Mobile App/ShellController/ShellController.iOS/MTOUCH: Error MT5201: Native linking failed. Please review the build log and the user flags provided to gcc: -ObjC -lc++ -lsqlite3 -lz (MT5201) (ShellController.iOS)

@egamba
Copy link

egamba commented Sep 27, 2023

Were you be able to fix this problem? I'm having the same issue but between Firebase and a native library

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants