Why is xCode requesting Android Studio Gradle files?

I had to remove Android Studio from my MacBook Air in order to make room for the xCode update. Now xcode is complaining about its missing Android Studio files that have nothing to do with it, but are somehow named

xcode error is displayed

file:///Users/administrator/Documents/Retrographic/Sprocket/Android/Gradle%20Binaries/gradle-2.2.1/lib/plugins/xbean-reflect-3.4.jar: warning: Missing file: /Users/administrator/Documents/Retrographic/Sprocket/Android/Gradle Binaries/gradle-2.2.1/lib/plugins/xbean-reflect-3.4.jar is missing from working copy

What is it and how do I fix it? I tried reloading the branch in SourceTree and drawing xCode on it, but it still has the same problem. Do I just need to nuke and reinstall xCode?

: (

+8
Android-studio plugins ios xcode gradle
source share
4 answers

It seems very unusual ...

My best guess would be to go through the various build settings in my target projects and make sure that this file is not listed for anything, to link, build, etc.

If so, delete it if you do not need it for your Xcode project.

+5
source share

This error occurs when this file was under your version control system, for example git, and now it is deleted. xcode checks the status of git and complains that the file has been deleted. You can go to your version control system and commit this change so that xcode doesn't complain. If you are using git, you can do the following:

  • git status -> This should say that the file has been deleted.
  • git commit ...
+5
source share

Some possible solutions.

Solution 1

  • Open xcodeproj / project.pbxproj in a text editor
  • Search for "xbean".
  • Delete this line.

Decision 2

If you are using xcworkspace, there may be another project that includes this file. In this case, I would do this for all project files. If this is not possible, do grep grep -r xbean . and then edit the named files. This command will recursively search for all files that mention this particular file.

+1
source share

I'm not sure why this is happening, but I think your project might have links to files that no longer exist. You can try the following: Search and delete missing files.

enter image description here

enter image description here

enter image description here

enter image description here

+1
source share

All Articles