Copying Xcode project files does not work completely - xcode9.2

When I copy files from one Xcode project to another, the files appear in the destination project and the second Xcode project compiles and works fine. So far everything is ok.
But some of the source files have not been moved into the various folders/directories of the destination project. I think the second project is still pointing to some files in the first/source project.
How to completely move the files from the first project into the destination project folders/directories?

Thank you the link you gave me helped. I dragged the files from source to destination folder via Finder. Then I deleted the files that went red in destination project and then added the files in respective folders from xcode.

Related

Android Studio marked my entire folder as project

android studio marked my entire folder as project how can i remove it without losing apps inside project folder.
Copy all the files of that project directory and move to a subdirectory.
While creating a new app you have selected the project folder wrongly. You have to manually remove all the application related files (i.e., .gradle, .iml, etc) from it.

Change the subversion commit location for a copied project in android studio

I have a project which i have copied from a different completed project,and refactored the package name. after the refactoring and sync was complete android studio asked me whether i wanted to add the newly created files to subversion. i remembered that my previous project was shared through subversion. so i went ahead and disabled the vcs integration for my current project to prevent any accidental modification to my previous project. but now whenever i enable vcs integration on my current project, i am not able to share it as a new project through subversion. i think android studio is holding onto the url of the previous project. so my question is how can i change this? i want to share my newly created project as a new one through subversion. how can it be done?
i remember when i used eclipse, i was used to deleting the CVS directories from my newly created projects which are copied from other ones, and it worked flawlessly. is there any way like this with android studio?
thank you.
I got my answer eventually. the trick was to delete the .svn directory hidden in the root folder of my project. deleting that directory gave the prefect result. and i was able to share my project as a new one through subversion.

VS2015 Team Explorer showing solutions from node_modules

I just started using the npm package gulp-sass which relies on node-sass.
The node-sass package has a src folder, which includes a .sln file.
This .sln file shows up under my VS2015 Team Explorer Solutions heading. I really don't want that to happen.
Is there a way to exclude solutions placed under "node_modules" from being shown in the Team Explorer?
See attachment for documentation.
For TFVC, when you open the VS, then Visual Studio will scan the local workspace for solution files.
According to your screenshot, you are using GIT as your source control. This should be the same mechanism. VS will scan your local mapping repository. Unless you move the folders in your local repository, the solutions from node_modules will still shown in Team Explorer.
If you really can't stand this feature, you may have to create a "dummy" repository for some folders including sln file on your machine and let Team Explorer scan that one every time you start up, instead.

Project Solution(.sln) is creating in C:/ drive but project created in another drive, how to change the default .sln file saving drive?

My OS is Windows 7. In my Visual Studio 2012 when I'm creating any project or website the solution file(.sln) is creating over default VS folder in C: drive. So when I'm trying to create a project in another drive folder, the solution is not in same folder with the project. How can I change it so that solution file will be in the same folder?
There is a check box 'Create a directory for solution' when you create new project, uncheck it.
To fix existing solution remove project from solution place all file in solution directory re-add project to solution.
To fix existing solution, just close it, move all project folder contents into solution folder, open sln file with text editor and fix project path.
right click on .sln file.
go to properties then click on change, then select visual studio icon.
sln file icon would be same as VS icon, hence problem get solved.

Where the JDKName is coming from?

I am using several computers to work with my android project. Every time I am checking in my updates to GitHUB I see several files where updated even though I did not really update them, namely the *.iml files and .idea/misc.xml file. What changes is the value of the jdk-name attribute. While checkin ig from one computer it is '1.6 (2)', while from another it is just 'JDK'
My understanding is that something in the setup of JDK is different between my 2 computers. So what is different and how do I fix it?
The JDK names are maintained internally in Android Studio; this is different from IntelliJ where you edit them through the Project Structure dialog.
It's not intended that you check .iml files or anything in the .idea folder into source control in Android Studio. The Gradle build files are the source of truth for project structure.

Resources