Suddenly I am getting error in Xcode 9 beta like
"Failed to read file attributes for "/Users/path/myapp/Images.xcassets" in Xcode?" and unable to build as well I just dragged the "Images.Xcassets" folder to up that's it.
I checked targets, Copy Bundle Resources and "Images.Xcassets" folder existed. But, I am unable to build the project.
I found out that my folder name is images.Xcassets
, which Group name and Full Path is Images.xcassets
. You should check your group name and full path in File inspector.
EDIT:
Here are two solutions:
1. Remove the group from Project Navigator (ALT+1), and add files back again (OPTION+ALT+A).
2. Click the folder icon from File Inspector (OPTION+ALT+1) and choose a new folder.
It's an issue of latest Xcode9. There are two ways to solve this issue.
Follow these:
Make sure you add this in your icon name Build settings.
"Quit the Xcode and restart." it worked out for me. I got the same problem with Xcode-9.0. I have tried it in multiple ways like deleting Derived data, Cleaning the project and closing the Xcode but nothing worked.
Delete your derived data and then Quit X code Cmd+q quit the xcode and open it again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With