xcode

Xcode iPhone OS multiple versions

Is there a way to add earlier versions of iphone os in xcode 3.1.2, so I can build by app for different os versions? ...

Xcode SVN Error: Attempted to lock an already-locked dir, How to solve?

Error: 155004 (Attempted to lock an already-locked dir) Description: Working copy '/Users/Carrie/MyProjects/Sandbox/Flip/Classes' locked ...

Built in Analyzer in Xcode 3.1.4

Hi all, I wonder if the built in Analyzer in Xcode 3.1.4 makes it redundant to use LLVM/Clang Static Analyzer separately? Please refer to the original article here: Finding memory leaks with the LLVM/Clang Static Analyzer Thanks. ...

Xcode + remove all breakpoints

Hello, Is there any way to remove all the breakpoints in Xcode? Regards, Pratik ...

date preprocesseor like ___DATE___ in Xcode

how to have a string of ___DATE___ for compile date version in an application ...

Choosing iPhone SDK in latest Xcode: Only 3.0 SDKs are available, but I have 2.0 on disk

After I downloaded the latest Xcode with the 3.1.2 SDK, I can't build and test for 2.2.1 anymore. I have the 2.2.1 SDK in the proper directory of my Developer folder. Is there a setting I have to change? ...

Something changed, now 5800 compiler errors from precompiled header

I apparently changed something in an iPhone Xcode project, and now when it precompiles the headers I'm getting In file included from [...] /Foundation.framework/Headers/Foundation.h:8, from [...] /UIKit.framework/Headers/UIAccelerometer.h:8, from [...] /UIKit.framework/Headers/UIKit.h:9: /Developer/Plat...

Trouble Using Third Party Framework In Xcode 3.2

I am attempting to set up my own project using a third party library (MPOAuthConnection) for connecting to an oauth REST API. Steps I've gone through thus far: Downloaded source for MPOAuthConnection. Built source and had a resulting MPOAuth.framework in the Product tab. Opened my existing project and dragged the MPOAuth.framework in...

merging or combining two projects. two delegates, two windows.

Thinking about divide and conquer, I decided to start an application having small pieces of my big app. I thought it was more convenient and easier specially as far as errors go. When I tried to merge two of them, I faced the problem of having separate delegates, and mainwindow. Maybe merging the method of the delegate applicationDidFini...

How to make Xcode "Run Script" to always run

I have a "run script" step that dynamically creates resources/files that I copy into the build dirs. Every run of this script produces different content so I want it to run on every build. The script gets run correctly on a clean build however once a build is made the step is not run again since no source has been modified. I tried ...

Generating Xcode projects by hand.

I know how to build an existing Xcode project using xcodebuild, but I also need to generate Xcode projects from maybe a Python/Shell script. Is there any document somewhere that describes the process? ...

Visual Studio Solution behavior in XCode

Is it possible to have multiple projects in one xcode project all accessible for simultaneous development? Specific situation is to have an application and middleware library under simultaneous development in XCode: all source is accessible for modification (both app's and lib's) but library code is building into library and linking to ...

Best way to install a custom cocoa framework

I have a custom framework that, following the advice in Apple's Framework Programming Guide >> Installing your framework I install in /Library/Frameworks. I do this by adding a Run Script build phase with the following script: cp -R build/Debug/MyFramework.framework /Library/Frameworks In my projects I then link against /Library/Fram...

Objective-C - simple setting property example erroring with 'request for ___ in something not a structure or union'

Hi all, I've been banging my head with this one this evening and am sure it's something very simple that I've missed I've created a new project with the appdelegate and a view controller class as below. The view controller synthesises the property in the .m, and the app delegate header imports the view controller .h file. Code below: V...

How to add a notification for pop view controller in iphone application?

I have seen the sample application of iPhone MP-movie player - controller. They have added a notification on the sample code. // Register to receive a notification that the movie is now in memory and ready to play [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(moviePreloadDidFinish:) name:MPMovieP...

std::map initialization crashing on iPhone device, but not in simulator.

I've tried turning on the Call C++ Default Ctors/Dtors in Objective-C flag but I'm still getting an EXC_BAD_ACCESS error when I first try to access my map: (*[TextureBatcher getSharedTextureBatcher].getMap)[texID].vertexCount=0; (*[TextureBatcher getSharedTextureBatcher].getMap)[texID].indexCount=0; getMap just returns a reference to ...

Connect iPhone App to PostgreSQL Using Libpq

I need to create an application for the iPhone that will connect to a PostgreSQL 8.4 database using libpq. The problem is I can't get a simple iPhone that links to libpq to compile. I am however able to get the equivalent application that is a regular Mac desktop app to compile and connect to PostgreSQL without any issues. I'm on Xcode ...

Documentation to write plugin for xcode

Is there any documentation available on how to write plugins for the xcode? I have googled the subject but i was not able to find any reasonable answer, so i was wondering if someone here knows the resources which can help. In general i am looking for how i can create "Project Templates" for different kind of languages or framework. In ...

how can I fix xcode compiling everything all the time ?

Hi, I've started to use XCode and it seems to work, well, most of it. The annoying thing is it compiles all the source files, even those that didn't change, each and every time. I'm getting the grips with openframeworks and I waste time compiling the openframeworks source files every time although they don't change. Here are my IDE a...

How to create a Login and Registration page in Objective-C and how connect it to the server?

Hi guys! I want to create a Login and Registration page in Objective-C but I am very new in iPhone programming. How can i create that pages and how connect it to the server? Thanks to everyone can help me! ...