Actual development in the use of SVN version management software when you encounter some third-party libraries are unable to upload. A file causes a direct error in the project, indicating that no. a file was found.
This is also the problem I encountered in the actual project, although you SVN can provide a good team to develop the platform of the merge code, but there are some not easy to worry about the small problem, even so, we still can not refuse to use SVN, so we can only solve him, the following is my internet search for the relevant solutions, Hope to help everyone!
Xcode's own SVN and versions and some other tools all default to ignore ". A" files.
There are two solutions:
method One: Add a file using the command line
1. Open terminal, enter CD, space, and then drag and drop the folder (not. A file) of the. A file that you want to upload to the terminal (this method does not need to input cumbersome path, fast and convenient), enter;
2. Then enter the following command: SVN add libocmock.a, enter;
3. The following will appear: A (BIN) libocmock.a
Add success, open versions can see, just added the. A file, at this point can be manually uploaded.
Also, enter the command line in Mac 10.8 and you may be prompted to command not found because 10.8 does not have command lines tools installed by default, Workaround: Command not found workaround.
method Two: Manually add files in versions
Select the Versions menu View-->show ignored Items so that the ignored file will be displayed and the. A file you want to upload, right-click on "Add".
Extended:
Another one does not need to set the system entry, directly resolve the inability to upload. A file, but not always reliable, so it is recommended that you use the above two methods
is to submit the modification of the file when you do not choose "Commit any", but choose "Add work Copy", like to study new technology, new methods of friends can try.
SVN on MAC versions can't upload. a file