Closed krishna0209 closed 6 years ago
Assigning @jstedfast since he ill be able to help further with the debugging gf the issue.
@krishna0209 We've added additional diagnostics for this situation in the latest stable release; can you update, try again, and attach the build log if it still fails?
We have not received the requested information.
If you are still experiencing this issue please provide all the requested information then click the Reopen Issue button.
Thanks!
Adding the owners Jorn and Nick.
On Wed, Sep 26, 2018 at 1:20 PM Vincent Dondain notifications@github.com wrote:
Closed #4096 https://github.com/xamarin/xamarin-macios/issues/4096.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/xamarin/xamarin-macios/issues/4096#event-1869425623, or mute the thread https://github.com/notifications/unsubscribe-auth/ASiNSt8RnWSotBC16XOGdbSmYkEDxPvhks5ue-GngaJpZM4UCEuC .
-- Regards Krishna Kannan
One of our VSTS MacOS Agent fails to build through VSO although local build works just fine. I’ve searched online and it seems like the most common cause of this is an XCode/Xamarin update which requires you to manually install some components but I have no such issues on the Mac Agent. I have another Mac that works just fine when triggered from VSO, running on same OS, XCode & Xamarin version.
Steps to Reproduce
Expected Behavior
Successfully being able to build the project
Actual Behavior
Xamarin project fails to build when triggered from VSO
Environment
Build Logs
2018-05-03T22:00:22.8138300Z Target CopyFilesMarkedCopyLocal: 2018-05-03T22:00:22.8164260Z Copying file from '/Users/user/myagent/_work/3/s/MobileCrm.Data/bin/iPhone/Release/MobileCrm.Data.dll' to '/Users/user/myagent/_work/3/s/MobileCrm.UI/bin/iPhone/Release/MobileCrm.Data.dll' 2018-05-03T22:00:22.8191370Z Copying file from '/Users/user/myagent/_work/3/s/Resco.Data/bin/iPhone/Release/Resco.Data.dll' to '/Users/user/myagent/_work/3/s/MobileCrm.UI/bin/iPhone/Release/Resco.Data.dll' 2018-05-03T22:00:22.8218640Z Copying file from '/Users/user/myagent/_work/3/s/Resco.UI/bin/iPhone/Release/Resco.UI.dll' to '/Users/user/myagent/_work/3/s/MobileCrm.UI/bin/iPhone/Release/Resco.UI.dll' 2018-05-03T22:00:22.8248140Z Copying file from '/Users/user/myagent/_work/3/s/MobileCrm.Data/bin/iPhone/Release/ExchangeWS.dll' to '/Users/user/myagent/_work/3/s/MobileCrm.UI/bin/iPhone/Release/ExchangeWS.dll' 2018-05-03T22:00:22.8273010Z Target GenerateSatelliteAssemblies: 2018-05-03T22:00:22.8297140Z No input files were specified for target GenerateSatelliteAssemblies, skipping. 2018-05-03T22:00:22.8322030Z Target CoreCompile: 2018-05-03T22:00:22.8377570Z Tool /Library/Frameworks/Mono.framework/Versions/5.8.1/lib/mono/4.5/csc.exe execution started with arguments: /noconfig /debug- /optimize+ /out:obj/iPhone/Release/MobileCrm.UI.dll Controllers/ReportController.cs GoogleCodeReceiver.cs Hub/EntityHub.cs Hub/HubComparer.cs Hub/HubItem.cs Hub/StaticTreeItem.cs Hub/TreeItem.cs ListTemplateManager.cs Properties/AssemblyInfo.cs BaseEntityForm.cs Command.cs ControllerFactory.cs DetailViewBuilder.cs EntityDetailForm.cs EntityList.cs EntityListForm.cs FormManager.cs LookupForm.cs MessageBox.cs StopWatch.cs Utils.cs FormController.cs ContactDetailList.cs DynamicEntityForm.cs ListController.cs DynamicEntityList.cs MultiLookupForm.cs EntityChart.cs MapController.cs ViewMode.cs EntityMap.cs Workflow/AssignmentStep.cs Workflow/Branch.cs Workflow/BranchCollection.cs Workflow/ConditionGroup.cs Workflow/ConditionStep.cs Workflow/Engine.cs Workflow/ExecutionContext.cs Workflow/ExpressionStep.cs Workflow/Step.cs Workflow/StepCollection.cs Workflow/Variables.cs Workflow/Workflow.cs Workflow/FunctionStep.cs Workflow/VariableDefinitionStep.cs Workflow/ExternalActions.cs Workflow/PositionStep.cs Workflow/SayTextStep.cs FilterEditor/Condition.cs FilterEditor/ConditionGroup.cs FilterEditor/ConditionOperator.cs FilterEditor/EditConditionForm.cs FilterEditor/EditConditionList.cs FilterEditor/EditFilterForm.cs FilterEditor/EditViewForm.cs FilterEditor/Serialize.cs FilterEditor/ViewListForm.cs Json.cs Workflow/CommandStep.cs Workflow/SharedVariables.cs FavoritesItem.cs Controllers/DetailViewController.cs Controllers/FlipController.cs Controllers/SignatureController.cs Controllers/SimpleMapController.cs Controllers/ViewController.cs Controllers/WallController.cs Controllers/WebController.cs ProcessFlow/Process.cs ProcessFlow/ProcessController.cs DataImageCache.cs Controllers/DocumentController.cs Controllers/ChatterController.cs ChatterForm.cs Hub/HubCommand.cs Duplicate/DuplicateRulesValidator.cs ProcessFlow/BinaryExpressionStep.cs ProcessFlow/ExpressionTypeStep.cs ProcessFlow/MethodCallExpression.cs ProcessFlow/UnaryExpressionStep.cs ProcessFlow/Variables.cs ProcessFlow/WorkflowTranslator.cs AddressBook/ContactHelper.cs AddressBook/ExternalContactForm.cs obj/iPhone/Release/Xamarin.iOS,Version=v1.0.AssemblyAttribute.cs /target:library /define:"IOS;MOBILE;UNIFIED;TRACE;MONOTOUCH" /nostdlib /reference:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/mscorlib.dll /reference:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.dll /reference:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.Core.dll /reference:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.Xml.Linq.dll /reference:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.Data.dll /reference:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.Xml.dll /reference:/Users/user/myagent/_work/3/s/MobileCrm.Data/bin/iPhone/Release//MobileCrm.Data.dll /reference:/Users/user/myagent/_work/3/s/Resco.Data/bin/iPhone/Release//Resco.Data.dll /reference:/Users/user/myagent/_work/3/s/Resco.UI/bin/iPhone/Release//Resco.UI.dll /warn:4 2018-05-03T22:00:22.9595540Z Microsoft (R) Visual C# Compiler version 2.3.2.61928 (ec1cde8b) 2018-05-03T22:00:22.9609060Z Copyright (C) Microsoft Corporation. All rights reserved. 2018-05-03T22:00:24.5924830Z Controllers/WebController.cs(1114,12): warning CS0168: The variable 'o' is declared but never used 2018-05-03T22:00:24.5940800Z BaseEntityForm.cs(1074,32): warning CS0649: Field 'BaseEntityForm.m_SelView' is never assigned to, and will always have its default value null 2018-05-03T22:00:24.9884590Z Target DeployOutputFiles: 2018-05-03T22:00:24.9899150Z Copying file from '/Users/user/myagent/_work/3/s/MobileCrm.UI/obj/iPhone/Release/MobileCrm.UI.dll' to '/Users/user/myagent/_work/3/s/MobileCrm.UI/bin/iPhone/Release/MobileCrm.UI.dll' 2018-05-03T22:00:24.9935300Z Done building project "/Users/user/myagent/_work/3/s/MobileCrm.UI/MobileCrm.UI.iOS.csproj". 2018-05-03T22:00:25.1296980Z Project "/Users/user/myagent/_work/3/s/MobileCrm/MobileCrm.iOS.csproj" (default target(s)): 2018-05-03T22:00:25.1319610Z Target PrepareForBuild: 2018-05-03T22:00:25.1333130Z Configuration: Release Platform: iPhone 2018-05-03T22:00:25.1368150Z Created directory "bin/iPhone/Release/" 2018-05-03T22:00:25.1381790Z Created directory "obj/iPhone/Release/" 2018-05-03T22:00:25.2029640Z Exception: System.Xml.XmlException: Root element is missing. 2018-05-03T22:00:25.2043990Z at System.Xml.XmlTextReaderImpl.Throw (System.Exception e) [0x00027] in <1896cc19925e4a9db1a9086d4d328e07>:0 2018-05-03T22:00:25.2057710Z at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo (System.String res) [0x00017] in <1896cc19925e4a9db1a9086d4d328e07>:0 2018-05-03T22:00:25.2072770Z at System.Xml.XmlTextReaderImpl.ParseDocumentContent () [0x0035d] in <1896cc19925e4a9db1a9086d4d328e07>:0 2018-05-03T22:00:25.2090490Z at System.Xml.XmlTextReaderImpl.Read () [0x0008c] in <1896cc19925e4a9db1a9086d4d328e07>:0 2018-05-03T22:00:25.2104200Z at System.Xml.XmlReader.ReadToDescendant (System.String name) [0x0006a] in <1896cc19925e4a9db1a9086d4d328e07>:0 2018-05-03T22:00:25.2119820Z at Xamarin.MacDev.PropertyListFormat+XmlFormat.StartReading (System.IO.Stream input) [0x00034] in:0
2018-05-03T22:00:25.2133580Z Target _CoreCompileInterfaceDefinitions:
2018-05-03T22:00:25.2147170Z /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets: error : Error executing task IBTool: Failed to parse PList data type:
2018-05-03T22:00:25.2161060Z Build FAILED.
Example Project (If Possible)
logsVSO.txt