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

[Bug] Native Linking Failed - 30 errors #13518

Closed
aperel66 opened this issue Jan 24, 2021 · 13 comments
Closed

[Bug] Native Linking Failed - 30 errors #13518

aperel66 opened this issue Jan 24, 2021 · 13 comments
Labels
a/buildchain p/iOS 🍎 s/unverified New report that has yet to be verified t/bug 🐛

Comments

@aperel66
Copy link

Description

After updating to version 5.0.0.1905 of Xamarin

The IOS project no longer links.
It produces 30 linking errors that did not exist in previous version of Xamarin

Steps to Reproduce

  1. Update to latest XF 1905
  2. Build Project

Expected Behavior

Project builds

Actual Behavior

30 Linking errors

Basic Information

  • Version with issue:
  • Last known good version:
  • Platform Target Frameworks:
    • iOS:
    • Android:
    • UWP:
  • Android Support Library / AndroidX Version:
  • NuGet Packages:
  • Affected Devices:

Environment

Microsoft Visual Studio Community 2019 Preview
Version 16.9.0 Preview 3.0
VisualStudio.16.Preview/16.9.0-pre.3.0+30914.41
Microsoft .NET Framework
Version 4.8.04084

Installed Version: Community

ADL Tools Service Provider 1.0
This package contains services used by Data Lake tools

ASA Service Provider 1.0

ASP.NET and Web Tools 2019 16.9.525.50092
ASP.NET and Web Tools 2019

ASP.NET Core Razor Language Services 16.1.0.2105602+00b07fe95231ae5d6327076da72f1091405cfd5e
Provides languages services for ASP.NET Core Razor.

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

Azure App Service Tools v3.0.0 16.9.525.50092
Azure App Service Tools v3.0.0

Azure Data Lake Node 1.0
This package contains the Data Lake integration nodes for Server Explorer.

Azure Data Lake Tools for Visual Studio 2.6.1000.0
Microsoft Azure Data Lake Tools for Visual Studio

Azure Functions and Web Jobs Tools 16.9.525.50092
Azure Functions and Web Jobs Tools

Azure Stream Analytics Tools for Visual Studio 2.6.1000.0
Microsoft Azure Stream Analytics Tools for Visual Studio

C# Tools 3.9.0-3.21056.4+e5eb71d6714749bccf91d9268ece78cd5d4d43ea
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.

Extensibility Message Bus 1.2.6 (master@34d6af2)
Provides common messaging-based MEF services for loosely coupled Visual Studio extension components communication and integration.

Fabric.DiagnosticEvents 1.0
Fabric Diagnostic Events

IntelliCode Extension 1.0
IntelliCode Visual Studio Extension Detailed Info

Microsoft Azure HDInsight Azure Node 2.6.1000.0
HDInsight Node under Azure Node

Microsoft Azure Hive Query Language Service 2.6.1000.0
Language service for Hive query

Microsoft Azure Service Fabric Tools for Visual Studio 16.0
Microsoft Azure Service Fabric Tools for Visual Studio

Microsoft Azure Stream Analytics Language Service 2.6.1000.0
Language service for Azure Stream Analytics

Microsoft Azure Stream Analytics Node 1.0
Azure Stream Analytics Node under Azure Node

Microsoft Azure Tools 2.9
Microsoft Azure Tools for Microsoft Visual Studio 2019 - v2.9.40112.3

Microsoft Continuous Delivery Tools for Visual Studio 0.4
Simplifying the configuration of Azure DevOps pipelines from within the Visual Studio IDE.

Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Microsoft Library Manager 2.1.113+g422d40002e.RR
Install client-side libraries easily to any web project

Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Microsoft Visual Studio Tools for Containers 1.1
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.

Mono Debugging for Visual Studio 16.9.7 (df23ba6)
Support for debugging Mono processes with Visual Studio.

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

ProjectServicesPackage Extension 1.0
ProjectServicesPackage Visual Studio Extension Detailed Info

SQL Server Data Tools 16.0.62012.31170
Microsoft SQL Server Data Tools

ToolWindowHostedEditor 1.0
Hosting json editor into a tool window

TypeScript Tools 16.0.30106.2001
TypeScript Tools for Microsoft Visual Studio

Visual Basic Tools 3.9.0-3.21056.4+e5eb71d6714749bccf91d9268ece78cd5d4d43ea
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual F# Tools 16.9.0-beta.21052.1+77c36dad3d5702c4eb3cf51f99d8643d4069a758
Microsoft Visual F# Tools

Visual Studio Code Debug Adapter Host Package 1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio

Visual Studio Container Tools Extensions 1.0
View, manage, and diagnose containers within Visual Studio.

Visual Studio Tools for Containers 1.0
Visual Studio Tools for Containers

Visual Studio Tools for Kubernetes 1.0
Visual Studio Tools for Kubernetes

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.9.000.248 (d16-9@3bfa0b5)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Designer 16.9.0.266 (remotes/origin/c4842c761b9b6a95407f72278ca7fb42f8f7fdf0@c4842c761)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.

Xamarin Templates 16.9.56 (96d1814)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.

Xamarin.Android SDK 11.2.0.0 (d16-9/f908d16)
Xamarin.Android Reference Assemblies and MSBuild support.
Mono: 5e9cb6d
Java.Interop: xamarin/java.interop/d16-9@1d382be
ProGuard: Guardsquare/proguard@912d149
SQLite: xamarin/sqlite@cfe06e0
Xamarin.Android Tools: xamarin/xamarin-android-tools/main@ad80a42

Xamarin.iOS and Xamarin.Mac SDK 14.9.0.27 (f4c9327fa)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

Show/Hide Visual Studio info

Build Logs

Screenshots

image
Native Linking Failed

Reproduction Link

Workaround

Revert to old version of Xamarin

@aperel66 aperel66 added s/unverified New report that has yet to be verified t/bug 🐛 labels Jan 24, 2021
@rmarinho
Copy link
Member

rmarinho commented Jan 26, 2021

What Xcode version do you have?
is VS preview updated ?
Can you try on VS stable please?

Thanks

@aperel66
Copy link
Author

aperel66 commented Jan 26, 2021 via email

@aperel66
Copy link
Author

aperel66 commented Jan 26, 2021 via email

@rmarinho
Copy link
Member

are you using AppCenter packages ?

@aperel66
Copy link
Author

aperel66 commented Jan 26, 2021 via email

@aperel66
Copy link
Author

aperel66 commented Jan 26, 2021 via email

@rmarinho
Copy link
Member

but this linking errosr seem from that is not related with forms.. if you remove the app center does it build fine?

@aperel66
Copy link
Author

There are too many dependencies on the AppCenter modules.
Why would it build fine with previous version of XF? And not with the latest?
There are no issues with XF 5.0.0.1874, but all these errors are produced when upgrading (just one single package)
to XF 5.0.0.1931

@rmarinho
Copy link
Member

Sorry but i can't say but you can see the linking failures are from AppCenter. Without a project would be very hard for us to say.

Please try remove AppCenter dependecies and/or upload a sample project.

I know that Appcenter push is going to be retired not sure if it's related, are you using that package?

Thanks

@aperel66
Copy link
Author

aperel66 commented Jan 26, 2021 via email

@aperel66
Copy link
Author

Workaround.

Remove Microsoft.AppCenter.Push

@rmarinho
Copy link
Member

Glad it's working now, i had the same issue in one of my personal apps, and i agree with you. The only place it's annouced i think is inside appcenter web app .

Thanks

@aperel66
Copy link
Author

aperel66 commented Jan 26, 2021 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a/buildchain p/iOS 🍎 s/unverified New report that has yet to be verified t/bug 🐛
Projects
None yet
Development

No branches or pull requests

3 participants