One one our teams Branches, we seem to be running into an issue building with Bitrise:
“/Users/vagrant/git/Test.Android/Test.Android.csproj” (SignAndroidPackage target) (1) ->
(_CompileJava target) ->
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2034,3): error MSB4018: The “Javac” task failed unexpectedly. [/Users/vagrant/git/Test.Android/Test.Android.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2034,3): error MSB4018: System.IO.IOException: Too many open files [/Users/vagrant/git/Test.Android/Test.Android.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2034,3): error MSB4018: at System.IO.Directory.InsecureGetCurrentDirectory () [0x00010] in :0 [/Users/vagrant/git/Test.Android/Test.Android.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2034,3): error MSB4018: at System.IO.Path.InsecureGetFullPath (System.String path) [0x0010f] in :0 [/Users/vagrant/git/Test.Android/Test.Android.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2034,3): error MSB4018: at System.IO.Path.GetFullPathInternal (System.String path) [0x00000] in :0 [/Users/vagrant/git/Test.Android/Test.Android.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2034,3): error MSB4018: at System.IO.FileInfo.Init (System.String fileName, System.Boolean checkHost) [0x00007] in :0 [/Users/vagrant/git/Test.Android/Test.Android.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2034,3): error MSB4018: at System.IO.FileInfo…ctor (System.String fileName) [0x00014] in :0 [/Users/vagrant/git/Test.Android/Test.Android.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2034,3): error MSB4018: at (wrapper remoting-invoke-with-check) System.IO.FileInfo…ctor(string) [/Users/vagrant/git/Test.Android/Test.Android.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2034,3): error MSB4018: at Xamarin.Android.Tasks.ZipArchiveEx.AddFiles (System.String folder, System.String folderInArchive) [0x00021] in :0 [/Users/vagrant/git/Test.Android/Test.Android.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2034,3): error MSB4018: at Xamarin.Android.Tasks.ZipArchiveEx.AddDirectory (System.String folder, System.String folderInArchive) [0x00064] in :0 [/Users/vagrant/git/Test.Android/Test.Android.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2034,3): error MSB4018: at Xamarin.Android.Tasks.Javac.Execute () [0x00048] in :0 [/Users/vagrant/git/Test.Android/Test.Android.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2034,3): error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute () [0x00023] in <99064ce461714f6a83a1f24370e1d7b8>:0 [/Users/vagrant/git/Test.Android/Test.Android.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2034,3): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder+d__26.MoveNext () [0x00212] in <99064ce461714f6a83a1f24370e1d7b8>:0 [/Users/vagrant/git/Test.Android/Test.Android.csproj]
The branch builds fine on many other machines, but seems to run into issues on Bitrise, has anyone seen this before?