xcode

ive made me an xcode 3.2.4 with all sdk´s from 3.0 to 4.1 - works, but i am missing the version-choice in the dropdown

as i got really on edge due apples sdk-politic with the new xcode-versions, i composed my own xcode. until some days i had installed 3.2.2, 3.2.3 and 3.2.4 at the same time - no diskussion, there was no other way. that this is no elegant way i think anybody can understand. so i just copied the sdk-folders ( /Developer/Platforms/iPhone[OS...

Really, why does XCode always report every compile error twice?

So, get this: Ever since I've started using XCode to handle my software development (Objective C), I've tolerated the fact that every compile error (every) is being reported twice. I've never had an error count that was an odd number! So, if I have one syntax error, Xcode reports it twice. This is the same for even the static analy...

Can I deploy app to iphone 3gs iOS 4 from XCode_3.1.4_iPhone_SDK_3.1.2 directly

Currently I installed XCode_3.1.4_iPhone_SDK_3.1.2 on Mac OSX 10.5.8, and I plan to buy an iphone 3gs 8G iOS 4 in the following days. I heard from friends that iOS 4 can't be downgraded to 3.x! My question is, can XCode_3.1.4_iPhone_SDK_3.1.2 deploy app to iOS 4 device via iDP? Should I upgrade system to 10.6.4 and install Xcode_3.2.3_i...

iPhone UIImageView with Camera or Camera Roll Picker Memory Warning Level 2

Hi All. I'm soooooo close to finally finishing my first app to put in the store. Everything works just fine and memory leaks are almost totally nonexistent....except when I'm using the Camera or Selecting an Image from the Camera roll. If the user chooses the camera vs. the roll....the camera works fine...takes a picture and then when...

Xcode: "Build and run" without restarting iPhone emulator

I just started fighting my way to Xcode and iPhone development, so this is probably a stupid question, but there is this strange behavior of Xcode that I can't seem to get behind. When I change my code (.m, .h files) and press "Build and Run", the (already running) emulator seems to restart my app, but doesn't actually reflect my change...

How to create an application bundle in Xcode?

Alright, I have just finished coding an application in Xcode... How do I create an application bundle out of this? I tried using the "Release" build configuration, but on a tester's computer the application states that the application requires a newer version of OS X. He has the latest one! This is my info.plist. <?xml version="1.0"...

Entitlements.plist Not Right

When I generate an Entitlements.plist the contents are like this <key>application-identifier</key> <string>$(AppIdentifierPrefix)$(CFBundleIdentifier)</string> <key>keychain-access-groups</key> <array> <string>$(AppIdentifierPrefix)$(CFBundleIdentifier)</string> </array> Instead of being like this <?xml version...

New build rule for XCode project not working

I have setup a custom build rule using a custom script.. cp ${INPUT_FILE_PATH} ${INPUT_FILE_PATH}.myplist It runs on files of the type "background_*.plist" which are in my project. All the script should be doing is copying the existing plist files to a new file with the added extension of ".myplist" yet this simple script does not se...

Can't connect IBOutlets in XCode Tab Bar Application

I started with a Tab Bar Application. I deleted the SecondViewController.xib and in Interface Builder I deleted the associated tab bar button. Then in XCode I created a SecondViewController and a ThirdViewController. I added two tab bar buttons in IB and made these view controllers the file owners for their respective buttons. Then in th...

Doodle Jump like gameplay

Hello, I am pretty new to cocos2d. Could someone please direct me to a good tutorial on how to make a game like doodle jump. I need to know how to make him bounce of the platforms, spawn platforms, use the accelerometer to control the player, etc. Thanks ...

Objective-C: "warning: property 'owner' type does not match protocol 'PieceModel' property type"

I'm getting this warning. What I'm trying to do is have a family of classes and a parallel family of protocols. The class Piece has a declaration like this: @interface Piece : NSManagedObject <PieceModel> { } ... @property (nonatomic, retain) Player *owner; ... @end PieceModel has this @protocol PieceModel <NSObject> ... @prope...

Source code not showing while debugging in XCode, only assembly

Is there any reason why XCode would fail to show the source code for a specific file while debugging? I have a breakpoint in the file which xcode hits correctly, but all I see is assembly. More annoyingly, this problem only shows up for one specific file (a regular .m file), but no other file. None of my co-workers have this problem, so ...

Testing Classes in Objective-C

I'm trying to find a way to test my objective-c classes like i test my java classes. Whenever i build a java class I just drop a main() method at the bottom of my class and tell eclipse to compile/run the class I'm working with. However, in objective-c I'm not allowed to do this. I have been reading around the web and have heard a lot a...

xCode 3.14 iPhone Development Problem

I am new to iPhone development. I am running OSX 10.5.8 and xCode 3.14. I signed up as an Apple developer, downloaded the iPhone SDK and xCode and installed everything properly (based on what I have read online). When I go up to File->New Project to create my first iPhone project, there is no option for the iPhone templates. I am only...

How to stop NSTimer scheduledTimerWithTimeInterval Time) userInfo:nil

Hey so i am just making an example application and i am having a little trouble, So i have a table view and then i have a few rows and when a user clicks a row it takes them to a new view. On this view i have a button to play music. I am using a timer to make a slider bar increase based on music duration and remaining time. Now my probl...

Xcode says: "No memory available to program now: unsafe to call malloc"

I am working on an opengl application and implementing a bezier surface in the iPhone and I am getting this: Data Formatters temporarily unavailable, will re-try after a 'continue'. (Not safe to call dlopen at this time.) No memory available to program now: unsafe to call malloc and sometimes I get malloc_error_break free...

My own (new) class not found after xcode update

I'm developing iphone app. Yesterday I updated my xcode to to newest version and clean build folders (deleted it), then created new class (nothing special): @interface EnemyFactory : NSObject { } +(Enemy *)properReferenceForName: (NSString *) name; @end Implementation is trivial and not important. What is happening now: I've got sth ...

Search file in Xcode

Hello, I use xcode search to quick open files in project. It works very good when the files are in current project, but when I have one project that includes other sub-projects it searches only in files from current project. Is it possible to search a file in all files from all sub-projects? I don't like to open a sub-project every tim...

howto create Quick Help enntry for custom functions in XCode

Hello, I still searched for this but without success. I would like to create 'Quick Help' entries in XCode for custom classes. Don't know Quick Help? Select a function-name, right-click and choose 'Quick Help' Then you can see function-description, etc. Somebody an idea how to accomplish this? Rene ...

Applescript Xcode to clean, build and install on iPhone device

Hi, I'm trying to applescript XCode into building and launching on device. My script is as follows: tell application "Xcode" open "tmp:iphone:Guidepal:Guidepal.xcodeproj" tell project "Guidepal" clean build launch end tell end tell My project consists of two targets, MainTarget and a SideTarget, th...