Is it possible to add files to XCode project?

Hello.

Thank you for outstanding work! XCode always was a crap of IDE, so bringing a full-featured development environment for MacOS is priceless.
Currently i'm testing appCode and it looks very good compared to XCode. Unfortunately, i'm not a java developer so i don't have background experience with IntelliJ family of IDE's. I have sucessfully opened and compiled one of my XCode 4 projects, i'm able to edit files and fix errors. But how can i add an existing file to a project? Where is no "Add" in context menu and drag-and-drop from Finder is not working :(. I have worked with Visual Studio, Eclipse, NetBeans, QtCreator, XCode - and for every IDE adding existing file was like right-clicking anywhere in the prject files and selecting "Add existing file" from context menu. Absence of such feature looks puzzling :).

0
Avatar
Permanently deleted user

Yes, it's possible:

Screen shot 2011-04-08 at 19.05.27.png

0
Avatar
Permanently deleted user

I have checked this method. It works, but only for simple "hello world" projects where source code is located at same folder with xcode project or deeper. In real-life projects it's a lot of source code that programmer want to see added to the project that is outside of project folder: libraries, third-party modules, modules common to multiple project etc. So this will not work :(. Any other way?

0
Avatar
Permanently deleted user

Ability to add libraries and files outside of the project directory will be available in next eap builds.

0
Avatar
Permanently deleted user

Hi

Any news for this feature?

0
Avatar
Permanently deleted user

Its there in the April 26th version. Make sure you are on in "Files" view not "Xcode Project" like I was.

0
Avatar
Permanently deleted user

I have downloaded the latest version - but still can't see how i can add file outside project folder ;(. In "Files" project view i can see only files that are in same folder as XCode project. Where is no way to switch visible folder i can see. For example, if my project is ~/work/testproject what i need to do in order to add ~/work/common/my_header.h file to it?

0
Avatar
Permanently deleted user

Hello again.

Any news on this issue? It's a kind of show-stopper right now - we can't evaluate appCode for real apps since there is no single app available that use only source code under it's project folder. Real life :(. Is it for all Jetbrains IDE's (rubymine, pycharm, phpstorm) that they can't add files outside of project folder into project? Maybe it's some reasons for that?

0

Finished. Now you can add the files from the project view (context menu | Add | Files...). You can add the files outside of the project root folder. In this case AppCode will ask you to copy the files to the project or leave them at the original place. Also you can create and delete the groups within AppCode. This will appear in the next build.

0
Avatar
Permanently deleted user

Great news! What is exact build number?

0

请先登录再写评论。