Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When updated VisualStudio2022 Preview4, get Error loading 'obj/Debug/AppManifest.plist': Failed to parse PList data type at all ios project #12735

Closed
xtuzy opened this issue Sep 15, 2021 · 4 comments

Comments

@xtuzy
Copy link

xtuzy commented Sep 15, 2021

Steps to Reproduce

  1. Creat a default ios class library
  2. Build

Expected Behavior

Build Success.

Actual Behavior

Build Faild. Get Error loading 'obj/Debug/AppManifest.plist': Failed to parse PList data type. In the Debug folder, I find AppManifest.plist is 0kb, no content.

Environment

Microsoft Visual Studio Community 2022 Preview
Version 17.0.0 Preview 4.0
VisualStudio.17.Preview/17.0.0-pre.4.0+31710.8
Microsoft .NET Framework
Version 4.8.04161

Installed Version: Community

Visual C++ 2022   00476-70000-00000-AA232
Microsoft Visual C++ 2022

ASP.NET and Web Tools 2019   17.0.616.20688
ASP.NET and Web Tools 2019

Azure App Service Tools v3.0.0   17.0.616.20688
Azure App Service Tools v3.0.0

C# Tools   4.0.0-4.21458.2+2bfff7b9348e779628a06b86af04b5239d3a926d
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

CodeNav   1.0
Show the code structure of your current document

Codist   5.12.0
This extension provides enhanced syntax highlighting, contextual toolbar and navigation bar for code editor, shows more details on quick info and marks interesting items on scrollbar margin.

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.

IndentRainbowPackage Extension   1.0
IndentRainbowPackage Visual Studio Extension Detailed Info

MetaOutput   2.0.5.182
Work with output data never been so simple!

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

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

Microsoft Visual C++ Wizards   1.0
Microsoft Visual C++ Wizards

Microsoft Visual Studio VC Package   1.0
Microsoft Visual Studio VC Package

Mono Debugging for Visual Studio   17.0.11 (54f19d2)
Support for debugging Mono processes with Visual Studio.

NamespaceFixer   2.9.0
VS Extension to fix namespaces following C# and VB.NET convention

NuGet Package Manager   6.0.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

SubwordNavigation   2.0.0
Provides subword navigation for Visual Studio.

Test Adapter for Boost.Test   1.0
Enables Visual Studio's testing tools with unit tests written for Boost.Test.  The use terms and Third Party Notices are available in the extension installation directory.

Test Adapter for Google Test   1.0
Enables Visual Studio's testing tools with unit tests written for Google Test.  The use terms and Third Party Notices are available in the extension installation directory.

TypeScript Tools   17.0.0901.2001
TypeScript Tools for Microsoft Visual Studio

Visual Basic Tools   4.0.0-4.21458.2+2bfff7b9348e779628a06b86af04b5239d3a926d
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   17.0.0-beta.21431.1+a7e1ca9200c21fd832dd9829fe1c655b69424ae8
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 IntelliCode   2.2
AI-assisted development for Visual Studio.

Visual Studio Tools for CMake   1.0
Visual Studio Tools for CMake

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   17.0.0.266 (d17-0@56a1e79)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Designer   17.0.0.101 (remotes/origin/main@533d7d10b)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.

Xamarin Templates   17.0.11 (a04c9af)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.

Xamarin.Android SDK   12.0.99.13 (main/fe2e7e6)
Xamarin.Android Reference Assemblies and MSBuild support.
    Mono: c633fe9
    Java.Interop: xamarin/java.interop/main@b7982e4
    ProGuard: Guardsquare/proguard/v7.0.1@912d149
    SQLite: xamarin/sqlite/3.36.0@a575761
    Xamarin.Android Tools: xamarin/xamarin-android-tools/main@9b658b2


Xamarin.iOS and Xamarin.Mac SDK   14.99.0.598 (11838db7d)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

Build Logs

The output:

1>------ Rebuild All started: Project: ClassLibrary1, Configuration: Debug Any CPU ------
1>  Executing SayHello Task to establish a connection to a Remote Server. 
1>  			Properties: 
1>  				SessionId=68340bbe91b7cb11507f006dce625f747892d55d633c6164ce7e55d5ea37b872, 
1>  				Addresss=192.168.0.106, 
1>  				SshPort=22, 
1>  				TcpPort=58164, 
1>  				User=zhouyang, 
1>  				AppName=ClassLibrary1,
1>  				VisualStudioProcessId=12824,
1>  				ContinueOnDisconnected=False
1>C:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Xamarin\iOS\Xamarin.Shared.targets(356,3): error : Error loading 'obj/Debug/AppManifest.plist': Failed to parse PList data type: 
1>C:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Xamarin\iOS\Xamarin.Shared.targets(356,3): error : 

Example Project (If Possible)

@xtuzy
Copy link
Author

xtuzy commented Sep 15, 2021

I have try clean obj and bin folder,and restart VisualStudio, and restart computer.

@chamons
Copy link
Contributor

chamons commented Sep 15, 2021

Thanks for the report.

This has been fixed in #12646 and will be shipped in a future preview.

@bontempzadmin
Copy link

Is there an ETA for this fix or a workaround? I am getting the same issue in VS 2022 Preview 4.1

@chamons
Copy link
Contributor

chamons commented Oct 5, 2021

The fix will be shipped in the next preview, which is expected "soon" but I don't have a specific date I can share.

@ghost ghost locked as resolved and limited conversation to collaborators Apr 27, 2022
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