Xcode project: List of files?

Is there a way to get a simple list of files out of an xcode project? I just want a plaintext list of the files in a given target so that I can use that in a script that I'm writing. I'd rather not have to parse my way through the XML of the .xcodeproj file...

The problem with this is that I have 3 projects with 6 targets between them that all use overlapping code-sets.
So, no one target will use all of the files in a given folder...
Or did you mean copy and paste the .xcodeproj files? that involves (manually) parsing the XML, which I would rather not do if not necessary..
Message was edited by: Brian Postow
Message was edited by: Brian Postow

Similar Messages

  • What can i do when my Xcode project shows me That UIKit/UIKit.h file not found.

    When i going to run my Xcode project on my iPad i got an issue,it was UIKit/UIKit.h file not found. what can i do?

    Unfortunately, this sort of trouble has gotten more complicated to deal with ever since Microsoft pulled the Windows Installer CleanUp utility from their Download Center on June 25. First we have to find a copy of the utility.
    Let's try Googling. (Best not to use Bing, I think.) Look for a working download site for at least version 3.0 of the Windows Installer CleanUp utility. After downloading the utility installer file (msicuu2.exe), scan the file for malware, just in case. (I use the free version of Malwarebytes AntiMalware to do single-file scans for that.)
    If the file is clean, to install the utility, doubleclick the msicuu2.exe file you've downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any Bonjour entries and click "Remove".
    Quit out of CleanUp, restart the PC and try installing iTunes again. Does the install go through properly now?
    (If you do find a clean download site for the correct version of CleanUp, please don't tell me where it is. Without wishing to sound paranoid (although I grant it does sound paranoid), there is a non-zero chance that posting links to download locations for the utility here at Discussions leads to that download location being shut down.)

  • IMovie crashed now .rcproject file doesn't show in library/project list and won't open.

    URGENT PROJECT DUE TODAY.
    iMovie crashed while I was working on a project, now I can't c the file in iMovie, however I can see it in Finder and moved to the movie folder, but it still doesn't show in my iMovie library or project list and nothing will open it.  It is listed as a .rcproject and I cannot find how to open it.  PLZ PLZ HELP

    Were you working with iMovie 9 or 10 when you had the crash?
    It sounds like you were in iMovie 10 trying to update your iMovie 9 projects into iMovie 10.
    If you were working in iMovie 10, see if you can still see everything with iMovie 9.0.9 (the 2 versions have completely different media file structures).
    If you were in iMovie 9 it sounds as if the .rcproject package may have got corrupted.  You can look inside the package in Finder with the "show package contants" contextual menu but I would not know how to repair it manually. 
    Do you have a backup or are you running time machine?  With a backup you should be able to replace the offending package with a working version.

  • How do you add files to a target of an Xcode project from the terminal?

    Hi friends.
    I am building a tool to build projects in an automated way. So far it is working great but I can't find a command to add files to a target from the command line.
    Basically what I want to do is the following:
    I have a directory with the XCode project, something like:
    - Classes
    - Images
    - Configuration
    - Etc
    I want to add some files to the folder Images that will be included in the build output.
    Is this possible?
    Thanks!!

    Is this helpful?
    http://www.askdavetaylor.com/fancymac_os_x_command_linetricks.html

  • List all files in project

    Hello,
    Is there any way to list all files and their paths used in a after-effect project (using extended script)?
    Thanks

    David Torno already wrote that wonderful script.
    You can get it here:
    http://aescripts.com/projectinfolistexporter/

  • How do we embed projector and supporting files within an XCode project/app?

    Many Director 12 developers would like to put their projects into the Mac App Store, and I'm one of them. It seems to me that the safest way to meet Apple's various requirements (sandbox, receipt validation, and whatever Apple adds in the future) is to somehow use Apple's own tool: Xcode.
    Which web pages out there explain how to add/embed a Macintosh application (Director 12 projector) and supporting files (movies, casts, sound files, etc) within an XCode project and resulting app?
    I got no obviously right results with Google searching. I might have chosen the wrong keywords to search for.
    I searched this forum and found some posts about preparing for the Mac App Store, but those answers seem to be either out-of-date or very incomplete for this purpose.
    Huge thanks to anyone out there who can point me in the right direction!

    So receipt validation should be implemented via an Xtra? Then I must hire a Xtras developer, because I don't know the C++ programming language nor Objective-C/Xcode.
    Maybe I should ask that developer to implement this:
    https://github.com/roddi/ValidateStoreReceipt
    I must decide whether to have all the receipt validation logic coded in the Xtra, or simply have the Xtra access the receipt and then I would code all the receipt validation using Lingo. Perhaps having all that coded in C++ would be more secure against hackers, but I lack the technical knowledge to be sure. Doing the validation in Lingo would make it easy to change that validation Lingo code for each product I put in the App Store; Apple asks developers to change and obfuscate validation code, to make hacking more time consuming I guess.
    I read a forum message somewhere here, that hinted third-party Xtras could create issues with code signing? Does anybody have experience with that?
    Plus there is the whole issue of sandboxing. I think my apps will need no entitlements at all. Do I need to indicate that fact, somehow, somewhere? Some of my apps use the Lingo getPref and setPref commands, but I think that does not require an entitlement. I'm not doing anything special at this point, but might want to make use of Game Center and In-App purchases later.
    And then there is this whole business:
    http://forums.adobe.com/message/5755957#5755957
    It seems to me that we on these forums should be discussing all these kinds of issues in detail. It is both very complicated and very important for the many Director developers who would like to publish to the Mac App Store.
    I think Adobe could sell more copies of Director 12 to aspiring App Store publishers, if they contributed to their customers' understanding of these issues. But maybe the Adobe people don't have special knowledge on this topic. I fear that we are on our own.

  • The files/project listed below are linked to the open projects may require exporting

    Guys, I'm having this error "$ not a valid integer".
    I have five modules..all in .exe format. 3 of these modules are working fine with the links, 2 modules are not..
    I have 1 .exe as a menu, when I publish this slied..it would say "the files/project listed below are linked to the open projects may require exporting"
    3  modules are having this
    [title.htm,title.swf or title.exe}
    and the remaining 2 are having the full address of the file "c:\documents and settings\ so on and so on"
    what can't be like the 3 modules? I used the same procedure, what could be the problem?

    oopps..this is ok already..done with the updates. thanks

  • XCode Subversion Integration for files external to the project

    Hi,
    I am using the xcode integration to our subversion server. My projects all include files which are shared between projects and stored outside of the projects folders in their own directory. These files are ignored by the xcode source control.
    Is there any way around this? I really don't want to use a third party subversion client as the integration is nice. Is there a way to have shortcuts in my projects to the shared files for example?
    thanks

    thank you for your answer.
    so I'm trying to add a new target now and I have a choice of application or static library, so I chose static library I guess.
    Now I need to know how to build my shared code classes into a lib. How to I do this with xcode?
    Sorry I am very lost with xcode and a mac

  • How do I use a precompiled dylib in my xcode project?

    Hello all you brainiacs out there!
    I want to use mongoDB as my database for my iPhone projects.
    I have compiled their code, with instructions from http://api.mongodb.org/c/current/building.html... successfully.
    I ran all the tests, successfully.
    I have two files, libmongoc.dylib and libbson.dylib generated.
    I have imported them into a brand-new xcode project, (build phases, link binary with libraries, hit '+' sign, add other and browse to these two files)
    I copied the .h files (bson.h and mongo.h) to my project.
    Can I now use the functions in my project as defined to connect, insert, delete.... etc.
    I am a noob at iPhone development (2 months) but I do know what I am doing... (I passed the 2  IOS 5 tests at brainbench.com scoring just under 4/5)
    Can someone walk thru the steps after loading in the dylibs and including the C headers?
    Regards,
    Dan

    Danny Bertrand wrote:
    Is there a list of specific things that you CAN'T do/have to sell on the Apple store?
    The App Store Review guidelines have such a list.
    But rather than focusing on what you can't do, you should focus instead on what you MUST do. One of those "must do" items is comply with any licensing agreements for code or resources you include with your app. It can be quite enlightening to ignore what people say about "open source" and "free software" and actually read those licenses say and research their history. It isn't Apple that is restricting you here . As a wise person once told me - "Follow the money". That will lead you from the Free Software Foundation to academic think tanks and writers right back to .. .some interesting places.
    Welcome to the world of Apple - everybody's bullseye.

  • Xcode misplaces embedded.mobileprovision file on distribution build

    Hi,
    I have two apps (free and paid versions), Snatch and SnatchTest which are two targets of one Xcode project (the project name is Snatch.xcode). I'm about to submit an update to the App Store so I did a Distribution build. For Snatch it worked fine, the bundle contains the embedded.mobileprovision file, but for SnatchTest when I did the build (after cleaning all the targets, quitting and restarting Xcode, even restarting my computer) the SnatchTest bundle shows up without an embedded.mobileprovision file. However in the build directory another app bundle appears with the name of Snatch, containing the embedded.mobileprovision file (and nothing else).
    By the way the same thing happened to me a couple of times when I submitted the original 1.0 versions, but when I quit Xcode and restarted the problem went away. Now it just won't go away. So I'm thinking what to do. It seems that the embedded.mobileprovision file was simply misplaced by Xcode, so I figure if I can't get it to work I'll simply move it to the SnatchTest bundle, submit that and explain in the submission notes (under the "Demo account" field which I presume the Apple people read) what happened and hope for the best.
    However, in the meantime I wanted to know if by any chance anyone has had this same problem, what they did to fix it and what happened in the end.
    Thanks!

    Took me forever to figure out what was going on. Boo. I reported it. Apple confirmed as a bug. So just use your work around for now.
    When I do a release, I delete all the targets I don't want. Close the project. Re-open the project. Build my distribution build of that target. Then revert back to an older version of the project file. But dragging it to the top of the list may be an easier fix if that works every time.

  • How can I get more than 5 items in my Recent Projects list?

    After a rather horrendous incident with trying to do a series of videos all in one project using bins and shared media and a savefile that got *WAYYY* out of hand (20 minutes to load the file)- which I believe was tied to importing media from another .proj file, I have switched to a more modular approach with anywhere from 2-5 projects in each project and now a collection of around 15-25 projects on the go. Most of these are "work on a chapter, then change to another project while waiting for footage for another project" and several of them share pieces including multicam segments and sync'd audio.
    Rather than importing from another project, I am using Control-C, switch to a different project file, then paste in. This isn't the most "Adobe Professional" style way of doing things, but considering that I lost several hours to trying to recover from the last project, even when I only needed to spend 20 minutes pumping out a rough cut, I'm not going back to that method until my next computer upgrade and until I begrudgingly switch to CC in around 1-1.5 year's time.
    So the issue that I'm faced with is that I'm often using the Open Recent Project flyout and having 5 projects on that list is just not enough to be remotely useful.
    In MS Office, the list is quite long and even in photoshop, I can get 10. That's enough for my Photoshop, but I switch projects using the Recent Projects list in Premiere a LOT more often. I could just use my explorer windows to jump around, but given that I have 5-6 explorer windows open per project most of which are folders crammed with footage, PSD stills and peak files, plus other non-video things I'm working on right now, that's really not the simplest way to navigate at a glance.
    How can I get 10, 20 or 25 items in that flyout list instead of mucking about with 5?
    I run Adobe Production Premium CS6.

    I see a lot of people not reading the circumstances of what I said.
    I did mention that currently I use the "explorer" method and it's kind of clumsy. Although I liked the idea of using shortcuts. I had thought about moving the files, but didn't think about shortcuts... considering everything on my desktop is a shortcut, I'm really not sure why I didn't think of that.
    But I did mention that I almost always have anywhere from 12-15 windows open at any given time in my explorer. I am involved with management of 4 different companies right now, two of which are in startup mode. Videos are important for me, but not my only duty. These windows only go down when I shut down my computer, which happens on average once every 4 months. It is not a problem on a reasonably capable system.
    Still, for a project of currently 23 files (just got increased to 28 and expected to rise to 32-35), and because I have had project files go sour on me, I keep some hierarchy and because I don't have 100% creative control over all my projects, I also occasionally have to do re-overs ie when a specific style of writ is nixed by a boss or customer. Those 23 project files also have version iterations.
    So navigating 'at a glance' through a file explorer isn't always the most practical.
    In the end, I'll probably try to find some time to re-organize my file structure using shortcuts.
    Still, given the number of 'recent files' can be modified or is larger than 5 in: Windows Start Menu, Recent documents, Adobe PDF recent documents, Adobe Photoshop, All Office suite programs...
    It's just weird that there's only 5 for a program intended for the kind of people that work on projects somewhat larger in scope than "hey, we took the dog to the park the other day".
    @Jerry Klaimon - not sure what version of Premiere you're using, I'm using CS6 with Production Premium CS6. Recent files only shows 5. Photoshop shows 9. For my current workload, I'd probably want 10-12 and it would be nice if they could go to 20 or more IMHO. Look at History states. History states default to 20. I usually set this to 35 whenever I set up any user's computer. It's easy to choose what suits me from the preferences menu. I don't see why they wouldn't have the same idea for 'recent files'
    @anyone who thinks I'm stupid - please feel free to insult me. A forum scuffle is often a great way to get the attention of moderators who might be in a position to pass this idea on to someone who could do something about it. I'm also anal, stubborn, holier-than-thou and not-as-smart-as-i-think-i-am if you want some ideas to get started .
    @Steven Gotz - you are quite correct that asking is important. Probably a smarter thing to do before pestering the devs with feature requests is to thoroughly check to see if it is in fact already existing. Adobe products are famous for having features that nobody knows about. Most of the questions I have that Google or Lynda.com didn't answer have been answered here in the forums. Then once I've seen that a few hundred pairs of eyes sharper than mine have also come up with nothing, then perhaps it might be worthwhile sending in a feature request. In this case, I will probably toss a feature request in later, but I'll probably just use your idea of keeping a master project folder with shortcuts.
    @MarkMapes - I do not have a problem loading files. Project files load just fine for me. But I have one project file that has a problem that loads a HUGE amount of RAM and takes nearly 20 minutes to open. It even takes almost 8 minutes to close it. It was acting as my master file with everything nested in sequences and I needed to spend a whole afternoon to pull those sequences out using copy-paste because bringing them in via Import Sequence brought the problem into the new file. I would file that under "glitched save files" rather than "slow loading".
    @Jon-M-Spear - good idea too - although I did cringe a bit at the suggestion of putting things on the desktop. I have bad habits and I work very hard to try to make other people who have worse habits in this company to try to get them to not keep anything on the desktop. In fact, it's probably my favorite thing about Windows 7 that you can have a clear or nearly totally clear desktop.
    Thanks for your comments folks.

  • .obj option status - show in project list?

    In previous versions of CVI, the project list shows whether an object is compiled to .obj, or not. I can't find how to show this in the newest CVI.

    Thanks for the reply.
    I read all that stuff and it flys over my head. I just don't get why somewhere there can't be a list that keeps track and you give me a little red dot in the list. I have a project with about 60+ files, so this is very annoying on something that used to not only not be not annoying, but was usable and useful.
    I guess this is related to the fact that if I have one program in debug, the rest in .obj (of course, I'm not quite sure, since there's no indication) - I change one line of code, tell it to build, and the entire project builds. In the previous version, only that file recompiles. That was nice. If this is the way it has to be, it's a bit of an annoyance when you're building 50 times a day.

  • Soft links and xcode projects

    In other unix environments using soft links ("ln -s") is a handy way of "abstracting away" at the file system level what a file or directory actually contains, so that its contents can be easily changed without having to modify the original file or directory. In other words, if I have eg. three versions of the same file, and several projects share the usage of one of those files, I can easily change which version of the file those projects will use by simply making a softlink that points to the file I want, and make those projects depend on that softlink (they see it as a regular file). If I later want to change the file in question, I only need to change the softlink to point to another version of the file.
    This is especially useful when dealing with a third-party library that gets regular updates. I can install the third-party library somewhere, with the version number of the library in the directory name, and have a more generic directory name as a softlink (as a concrete example, I could have a softlink named "cocos2d" pointing to a directory named "cocos2d-iphone-0.99.5"). If I update the library, I can install it in a new directory (eg. "cocos2d-iphone-1.0.1") and simply change the softlink to point to the new directory, and then recompile the projects that depend on it.
    The problem is that Xcode doesn't like softlinks. I don't know if this is a feature of MacOS X in general, or a quirk in Xcode in particular. The problem is that Xcode doesn't want any softlinks in any of its paths, and instead always resolves where the softlink is really pointing to. Thus if I add, for example, the file "libraries/cocos2d/cocos2d-ios.xcodeproj" to the project, what ends up in the project is actually a reference to "libraries/cocos2d-iphone-0.99.5/cocos2d-ios.xcodeproj". Thus the whole softlink is circumvented, making it useless. If I update the library in question, I have to go through all the projects that use it and change the references to point to the new directory. This causes only needless extra work.
    This resolving of softlinks only happens when adding a new file to the xcode project. Xcode doesn't seem to change them afterwards, if they already exist in the project. In the past I could get around this problem by editing the project file directly with a text editor and forcing the path to refer to the softlink. However, all the paths in xcode 4 projects seem to be obfuscated, making this impossible. Another possibility is to rename the directory in question with the name of the softlink, then add it to the project, then restore its original name and then add the soft link.
    Is there any better way of doing this?

    Hello I have probably exact same problem with source files whereas a constant location (my softlink) points to different version of the sources in a repository. For example:
    ../MyProject/DependantProjetXyz could point to
    ../Repository/DependantProjectXyz/V1.0
    ../Repository/DependantProjectXyz/V1.1
    My xcode project is setup with ../MyProject/DependantProjetXyz which is pretty useful as I don't need to update all the include and lib path everytime I update the dependancies.
    The main problem I am facing is that if I have a compilation error in the dependancies, xcode isn't able to automatically bring me to the error. It simply open the file and position at the very first line in the file. No highlight.
    I am forced to use contextual menu on the error then reveal in the log to find the line number and manually navigate to that line. In other words, I am almost back to good old command line compilation with separate text editor...
    BTW, this was all working fine before upgrade to xcode 4.
    Was a bug filed on this issue?

  • Xcode project questions

    I have just created a new project in xcode.
    Now,I would like to get rid of the files proj_Prefix.pch and projPriv.h , because i don't need them. However, it seems i can't just delete them, because otherwise xcode complains about not finding them.
    In addition, can i get rid of the files projProj.xcconfig and projlTarget.xcconfig ?
    Oh, and one more question: which files of xcode should i put into the SVN repository?
    Thanks a lot in advance.
    Gabriel.

    You have to remove the proj_Prefix.pch and projPriv.h files from the project to delete them safely. In the project window, select the files you want to delete and press the Delete key. An alert opens asking you if you want to delete the references to the files or delete the files and references. Deleting the reference removes the file from the project but keeps it on your hard disk. Deleting the file and reference removes the file from the project and your hard disk. Deleting the reference, then moving the file to the Trash is safer than deleting the file and reference because you can recover the file if you find out you need it.
    You can get rid of the xcconfig files. Those are Xcode configuration files that contain build settings. Configuration files are useful if you make a lot of changes to Xcode's default build settings. By putting the changed settings in a configuration file, you don't have to change the settings in Xcode for every project.
    The point of a SVN repository is to track the changes you make to files. Put the files you need to track in the repository. At a minimum, you should put your source code files in the repository. What works for me is to put everything but the project's build folder in the repository. When I create a Xcode project I want to place under version control, I temporarily move the project's build folder. After importing the project into the repository and checking out the project's files, I move the build folder back with the project.

  • Xcode Project Creation deleted Desktop

    I probably know the answer and do not want to hear what about the backup... etc etc
    I have a MacBook Pro running Yosemite and have Xcode installed. I wanted to do a quick check in Xcode and was not paying attention and went with the defaults it had, well...
    Basically the Xcode project was named Desktop saving in my home directory and therefore replaced my Desktop... I don't really do anything on the machine I wouldn't mind losing as I copy off to other drives and servers etc but would quite like to know why there was perhaps no alert and what it has actually done to my desktop and would quite like to know what was on the desktop.
    I am thinking Data Recovery is the only option but have tried Data Rescue and it recovers files as numerically numbered so will take a while to filter through all the results.
    Any suggestions anyone?

    When I try that here I get
    So no idea why you did not get that alert, perhaps you did and missed it?
    Apart from Data Recovery (or the backup) there isn;t much else you can do at this point.
    regards

Maybe you are looking for

  • Error when launching gaim.

    I recently installed ArchLinux and I get this error when I launch gaim: gaim: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory I have tried reinstalling gaim and its dependencies, but the er

  • When installing After Effects I get an error U44M1l210

    I have tried to install After Effects twice now. Every time I get the message that installation was successful, but patch failed. I uninstall, download and install again but the same error appears. Error U44M1l210 Please help!

  • Fact table is getting flooded

    while loading 0FIAR_C03 its been observed that fact table is getting n times records eg: Transfered request: 969 Added Request: 29482 Data modeling as follow: 0FI_AR_4 -> 0FIAR_O03 -> 0FIAR_C03 till ods its fine but after that ...... when I checked f

  • Multiple Plants sharing 1 shippinh point

    Hi Gurus, I have a requirement that multple plants of different company codes needs to Share 1 shipping point( same address) Actually these 3 plant have 3 PL ware house, so these will have only 1 shipping point. What would be the implicaitons if they

  • Indesign - sorting tables or find/change commands

    Hi there! I don't think this is possible in Indesign but here is my question: I have sorted a list of product names, numbers, prices in a table in the order they have to be in. (See 1. picture) My question is: Are there any commands to tell indesign