Xcode gives me a warning “Obstructing” because I no longer use SVN, switched to Perforce

My first post, so hopefully I am clear enough with my problem.

I started a new project about a year ago in Xcode 3.xy (iOS project), everything went well, but I wanted to use some kind of control source. I heard about SVN on the website, so I gave it a chance and put the repositories on an external USB hard drive. Everything went fine, then I decided to switch to Perforce, because other people got used to it. After that, I formatted the usb hard drive to use it for other purposes.

Fast forward last week: I installed Xcode 4.x, and when I create it I get all kinds of warnings. I get:

game_name.app.dSYM Difficulty file: //localhost/projects/game_name/build/Release-iphonesimulator/game_name.app.dSYM/: warning: Obstructing: /projects/game_name/build/Release-iphonesimulator/game_name.app.dSYM blocks versioned item

and

fx_swish_01.wav missing file / projects / game _name / fx_swish_01.wav file: //localhost/projects/game_name/fx_swish_01.wav: warning: missing file: /projects/game_name/fx_swish_01.wav missing from the working copy

These are 2 errors, but I have only 113 (about 10 of the obstacles and 100 missing). I suppose this is because the project for some reason still thinks that I am using SVN for my SCM, when in fact I am using ONLY perforce from outside of Xcode.

Does anyone know what I need to do? I don’t care that the files are downed, ignored, deleted, whatever ... I have everything I need. Thanks in advance.

EDIT: I got some of the “Missing working copy” warnings by doing: svn delete -force. Will it bite me later on the line? I could not commit, but he removed the warning. Here is a copy of what I did:

$ svn delete fx_swish_01.wav svn: Use --force to override this restriction svn: 'fx_swish_01.wav' has local modifications $ svn delete fx_swish_01.wav --force D fx_swish_01.wav $ svn commit -m "deleted fx_swish_01.wav" svn: Commit failed (details follow): svn: Directory '/projects/game_name/build/Release-iphonesimulator/game_name.app.dSYM/.svn' containing working copy admin area is missing $ svn delete fx_swish_02.wav D fx_swish_02.wav $ svn delete fx_swish_03.wav D fx_swish_03.wav $ svn delete fx_swish_04.wav D fx_swish_04.wav $ svn delete hey_what_a_crowd.mp3 D hey_what_a_crowd.mp3 $ cd build/Release-iphonesimulator/ $ ls game_name.app game_name.app.dSYM game_name.app_old.dSYM $ svn delete game_name.app.dSYM svn: Directory 'game_name.app.dSYM/.svn' containing working copy admin area is missing $ svn delete game_name.app.dSYM --force D game_name.app.dSYM svn: Directory 'game_name.app.dSYM/.svn' containing working copy admin area is missing 

As you can see, I deleted the .wav files and does not seem to give me these warnings anymore. Game_name.app.dSYM point still does not work, though ... is there no administration area? I am sure that if this file existed at some point, it will no longer be.

+4
source share
2 answers

Since you disconnected from svn, you can delete all .svn folders that are likely to remain the same from your previous version control actions.

Checking for a new copy from Perforce should also work if you have not registered the .svn folders in p4, in which case you should delete all of them from p4.

+1
source

The answers provided in this post should help you resolve the warnings that you see regarding missing files: Missing file warnings that appear after upgrading to Xcode 4

0
source

Source: https://habr.com/ru/post/1345633/


All Articles