Adding a ReadMe doc to Xcode projects??

I have tried adding a simple TextEdit file to my project folder(s) and they never appear when in Xcode.
Does anyone know how to do this?
Thanks.

Did you add from within Xcode? Right click on a group (eg Resources), then select 'Add' then 'Existing Files' and complete the dialog.

Similar Messages

  • Adding a summition form to xcode project

    So im new to xcode and coding lanuage in general. Im learning how to code by doing basic stuff. Now what i want to do is set up it so when you tap on the tab that says "Product Request" if pops up a little form with a few fields like name, email, description, etc, then a summit button and when they click summit it will send what they put in the slots to me in an email. Thanks for the help!

    Hello,
    This is not a Basic Program .
    If you want I'll help you with one thing ... , You choose.

  • 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?

  • Problems with a xcode project

    Hi there,
    I'm trying to compile an existing Xcode project which has used boost library and threadpool library. I have already added the correct header path and library path, and the boost has been successfully compiled(cause the code uses libboost_thread.a).
    Here's my header search path:
    /usr/local/installation/prefix/include(boost header after installed)
    /usr/local/boost1_450
    /Users/niexiao2008/threadpool-025-src/threadpool/boost
    And the library search path is:
    /usr/local/installation/prefix/lib
    I'm sure the boost library has been installed correctly and passed through some test codes, but there's still some problems when buliding the project:
    i686-apple-darwin10-gcc-4.2.1: error trying to exec '/Developer/usr/bin/../libexec/gcc/i686-apple-darwin10/4.2.1/cc1plus': execv: Argument list too long
    Command /Developer/usr/bin/gcc-4.2 failed with exit code 1
    Could someone please help?

    In the Build results window select the compile line that is failing. This should reveal a 'details' icon on the line to the right. Click the icon to display the actual compile command and try to determine why the argument list is too long.

  • Docs on XCode and using svn

    Background
    It has been a long time since I worked actively with any version control software. Long before cvs was available, we rolled our own, with a combination of check-out and check-in methods which could be overridden based on permissions given to different users.
    I barely used cvs at one of my previous positions, and actually just left the archiving to the group that wanted me to write the code. I gave them new releases and they put them into cvs.
    Now, svn seems to be the tool of choice, and I have been able to extract code from other people's svn repositories, but have no real experience in setting one up from scratch, or integrating it with an existing or new XCode project.
    I have read the svn docs, a few months ago, while looking at various code examples, so I have a very rudimentary understanding of the commands, but would certainly NOT call myself proficient. I'm not sure I would even consider myself qualified to be a noob as far as actually using svn. However, after rolling my own and managing it for many years, I understand all the concepts.
    I'm on OSX 10.5.8 using XCode 3.1.3. SnowLeopard is still a twinkle in my eye as far as upgrading, however I plan to look at upgrading to XCode 3.1.4 once I shift some disk space around so I have room for the upgrade.
    Question
    How do I step-by-step take a project, in this case, a complete working project in XCode, that I could call version 1.0, and put it under svn version control. There appear to be hooks in XCode for this already, but i do not know enough about either XCode or svn and how they interact.
    My main interest is in being able to take my working project and try some new code or features, and still be able to grab the most recent prior working version, instead of just having the one current development version.
    Pointers to the right documentation sections would be most helpful, but please don't just tell me to read all the docs, XCode, svn, cvs, etc. and figure out how the pieces fit together. I've already tried that and none of what I read stuck in my memory as far as how they work together.
    If this is the wrong place to ask this question, please direct me to any better places.
    -C

    reststop wrote:
    It looks like google can find Docs at Apple faster than I can...
    Mega dittos and pass the OxyContin®. I still try the search engine at the iPhone and Mac library pages, but Google does all the heavy lifting.
    I'm going with the newer docs!
    Et made a really solid point in advising you not to choose your archiving and versioning tools based on what Xcode directly supports. I'm currently collaborating on an iPhone project with a friend on the East Coast who set us up with Beanstalk and Versions. Beanstalk is free, but the Versions client was about 50 USD. This is my first experience with SVN so I'm unable to compare it with other products, but I can tell you it meets all the needs of a 2-programmer project quite nicely. We're also getting the advantage of an offsite server backup in the bargain. So far I've seen nothing but good reviews of Beanstalk, and haven't yet seen any sign of our code or artwork in the store, so I feel fairly comfortable with this service.
    Anyway returning to Et's point, I haven't even tried hooking the above up to Xcode. The Versions client lets you sync one or more folders to the archive on Beanstalk. So if you sync up your Xcode project folder, you're good to go. As always I'm putting this out there so others can teach me how to use SVN correctly, but that's what I'm doing now and quite happy with it.
    \- Ray

  • RSS and Xcode projects (Mac)

    Is it possible to generate a controller or any type of file in Xcode and receive an rss feed to the application? I've looked around for examples and nothing has come to my attention that could work for my application. The only thing I can seem to find are a ton of iPhone rss tutorials, unfortunately I can't find any on Mac OS X Xcode projects.

    Here's what I have so far. Pardon the twitter stuff, I found this through a twitter tutorial. ould this comply with any other xml type? Anybody?
    #import "AppController.h"
    @implementation AppController
    - (IBAction) getPublicTimeline:(id)sender
    [progress startAnimation:nil]; //Start progress animation spinner.
    //First we create the NSURLRequest that we're going to send to the server...
    NSString *urlString = @"http://twitter.com/statuses/public_timeline.xml"; //Create an NSString called urlString containing the URL we want to access.
    NSURL *url = [NSURL URLWithString:urlString]; //Create an NSURL containing (NSString)urlString
    NSURLRequest *urlRequest = [NSURLRequest requestWithURL:url //Create an NSURLRequest with (NSURL)url, by default this is a GET request, you can specify a POST request by adding an additional argument.
    cachePolicy:NSURLRequestReturnCacheDataElseLoad //If cached data exists, return that, otherwise fetch new data.
    timeoutInterval:30]; //Wait 30 seconds for response before giving up.
    NSData *urlData; //NSData object for containing data returned from Twitter server.
    NSURLResponse *response; //NSURLResponse object for containing response code from server.
    NSError *error; //NSError for containing error from NSURLConnection (i.e. unable to connect, etc.)
    //Now we're going to use NSURLConnection to send a request to the Twitter server...
    urlData = [NSURLConnection sendSynchronousRequest:urlRequest //Send a SynchronousRequest -- this means that the code stops executing until the data is returned from the server. Sending an unsynchronous request would allow code execution to continue.
    returningResponse:&response //Pass the returned response into (NSURLResponse)response
    error:&error]; //Pass the returned error into (NSError)error
    //Check to make sure data was loaded into (NSData)urlData, if not stop executing and display an error.
    if (!urlData) {
    NSAlert *alert = [NSAlert alertWithError:error];
    [alert runModal];
    return;
    [timelineXML release]; //Release previous (NSXMLDocument)timelineXML object from memory (if any existed).
    timelineXML = [[NSXMLDocument alloc] initWithData:urlData //Allocate memory for and initilize a new NSXMLDocument called timelineXML and parse (NSData)urlData into it.
    options:0
    error:&error];
    //Check to make sure data was loaded into (NSXMLDocument)timelineXML, if not stop executing and display an error.
    if (!timelineXML) {
    NSAlert *alert = [NSAlert alertWithError:error];
    [alert runModal];
    return;
    [statuses release]; //Release previous (NSArray)statuses object from memory (if any existed).
    statuses = [[timelineXML nodesForXPath:@"statuses/status" //Load nodes from the XPath "statuses/status" in (NSXMLDocument)timelineXML into (NSArray)statuses.
    error:&error] retain]; //Retain the object so it doesn't drop from memory until we tell it to.
    //Check to make sure data was loaded into (NSArray)statuses, if not stop executing and display an error.
    if (!statuses) {
    NSAlert *alert = [NSAlert alertWithError:error];
    [alert runModal];
    return;
    [timelineView reloadData]; //Refresh (NSTableView)timelineView.
    [progress stopAnimation:nil]; //Stop the progress spinner.
    - (NSString *)stringForPath:(NSString *)xp ofNode:(NSXMLNode *)n //We will use this function to get the stringValue for a specific node in (NSArray)statuses
    NSError *error; //Create NSError object named error.
    NSArray *nodes = [n nodesForXPath:xp error:&error]; //Get the nodes from one of the status objects in (NSArray)statuses for the XPath specified by xp and load them into (NSArray)nodes.
    if (!nodes) { //If (NSArray)nodes does not exist (wasn't created)...
    NSAlert *alert = [NSAlert alertWithError:error]; //Create an alert with the error.
    [alert runModal]; //Display that allert.
    return nil; //Return nil for this function.
    if ([nodes count] == 0) { //If (NSArray)nodes is empty...
    return nil; //Return nil for this function.
    } else { //Otherwise...
    return [[nodes objectAtIndex:0] stringValue]; //Return the stringValue for the node from the status object from (NSArray)statuses.
    #pragma mark TableView data source methods
    //These data source methods are required when assigning an object as a dataSource for an NSTableView
    -(int) numberOfRowsInTableView:(NSTableView*)tv //Returns the number of rows that need to be in the table view.
    return [statuses count]; //Return the number of objects in (NSArray)statuses.
    - (id)tableView:(NSTableView *)tv objectValueForTableColumn:(NSTableColumn *)tableColumn row:(int)row //Called by NSTableView when loading data, returns the value at (NSTableColumn)tableColumn and (int)row.
    NSXMLNode *node = [statuses objectAtIndex:row]; //Load the status object from (NSArray)statuses that corresponds to the row that the NSTableView is requesting into (NSXMLNode)node
    NSString *xPath = [tableColumn identifier]; //Load the identifier value for the tableColumn requested by the NSTableView into (NSString)xPath.
    return [self stringForPath:xPath ofNode:node]; //Return the value returned by the stringForPath: ofNode: method.
    @end

  • Is it possible to hyperlink or something elso to an XCode project

    Hi,
    that I can get to an Xcode project inside an Keynote presentation...
    I don't know if it understandable but I meant to open or to let see an Xcode project while I give an presentation. AND Go back to the Keynote...

    Start here.
    Don't miss this:
    Stage 7: Titling and Adding Text to the Slideshow
    Add a title to your slideshow using the titling controls. Insert a blank slide at the beginning of the movie to display your title. You can also use blank slides to act as chapter dividers. Add text to individual slides where appropriate.
    or this:
    Adding Text to an Individual Slide
    Message was edited by: Kirby Krieger -- added final link.

  • 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.

  • 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

  • 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 from makefile rules.

    Dear All,
    I have crashed into an old project but new to me and it was not setup for Xcode. I have successfully compiled it in the command line mode using Intel c++/fortran compilers and using Xcode to debug it.
    The thing is that Xcode complained about some preprocessor definitions not being defined; however, it is defined when I assign the flag during the compile time. Since it is already compiled, there is no way to give additional preprocessor definitions to the code.
    I am wondering if Xcode has anyway to derive the rule for code linking according to the binary it reads in. Apparently it can debug and walk through the code now, why can it not derive the building rules? I am just thinking a quicker way to replace the command line makefiles by a single Xcode project.
    Anyone?
    Thanks in advance.
    Alvyn

    Can't you just recompile with with the additional flags?
    Something that is already built with makefiles should probably be kept that way.

  • 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

  • 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

  • Xcode Project to Makefile

    Does Apple's Developer Tool package include a tool for converting an Xcode project to a Makefile, for building from a shell prompt or script?

    Thanks, that's the command I forgot - though it would be nice to see the dependencies listed in familiar Makefile format.

  • I am in the middle of an xcode project. Can I get back to summary?

    I am in the middle of an xcode project. Can I get back to summary?

    I need to go back and change the default orientation held in summary.  I also need to add icons in. I do this all in summary I believe but cannot see how I get back to it.

Maybe you are looking for

  • How can I create a redirect - on page not found?

    I have asked this before but things have changed since.... I am editing a site on a NON-LINUX server, one which can use VB code... The problem is that there are a lot of obsolete pages and I want to remove them I want to put a sitewide function in pl

  • CreativeCloud won't install with errorcode (1): Can't install CreativeCloud-Desktop

    Yeah,, so it won't install for my trial, and I don't know what to do. Look at the title for the information the error-code gave me.

  • Macbook Pro and Sibelius?

    I'm still pretty new to my mac, but I'm figuring it out and I love it. I recently purchased Sibelius and installed it on my computer. Everything seemed to go fine, and I registered it. After I set up my new score (choose the key, time signiture, titl

  • Error Message:  (1074724867:3)

    I am using Adobe Reader 10.1.0 on  Windows Vista:  I receive the above error message whenever I try to open attachments of PDF documents from my email, or even when I am at a site that I need to open a PDF from.  This problem was occuring for a while

  • Spothlight doesn't work

    Spotlight does not search the most files . I did reindex spothlight with onix and with the terminal . Indexing is done, but nothing changes . I tried searching with mdfind from the terminal , and I do not by any out . The boot disk is OK . I've repai