Compiler Error: Failed to read file attributes for ... / Resources / Images.xcassets

I recently upgraded to the latest version of XCode and Xamarin Xamarin.iOS 10.0.0.1 (29910bb) running Visual Studio Professional 2015 Version 14.0.25431.01 Update 3 . Both my Mac (collector) and PC are fully updated. Now that I have the update, I can no longer compile / build anything but a simulator.

Compiler error.

 > C:\Program Files > (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(1028,3): error : > Failed to read file attributes for > "/Users/mod/Library/Caches/Xamarin/Resources/Images.xcassets" 

As a test, I copied the decision file to the build machine and without any changes compiles and runs any of the targets.

I also tried to remove the builds directory on the build machine and not help.

Does anyone know what this is working for?

+7
source share
2 answers

I ran into this problem and may be related to the Xamarin Forums . What I found in my case was related to image objects in the library that I was trying to use. I was able to remove the image objects and move to the main project, and this seemed to solve the build problem.

This problem, as you have found, is very recent. For what it's worth, I also found that command line tools have a lot of problems, as they seem to lag behind the GUI provided either in Xamarin Studio or in Visual Studio.

Good luck.

0
source share

As mentioned here I had to delete the ~/Library/Caches/Xamarin/mtbs/builds on the Mac used for the build.

After recovery, he worked again.

0
source share

All Articles