xcode

Unable to have two versions of the same app on the one iphone

Hi there! I have two versions of my app. I'm trying to keep a copy of each on my iPhone for testing purposes. In my build settings, my bundle display name is ${PRODUCT_NAME} and I've given each version of my app a different product name (eg "v92" and "v10"). When I install each version to my iPhone, they both appear side by side with d...

Xcode is stuck when trying to refactor a class

Hi, Xcode gets stuck if I try to rename a class via refactoring. It shows "Applying Changes" window and says "Please wait while changes are made." But changes are never made. It's stuck! How can I solve this problem? ...

How to get all duplicate symbol linker errors at once?

Hi, I am building a C++ project in XCode which uses two libraries. Say for e.g libX.a and libY.a. There are some function definitions common on libX.a and libY.a for which I get duplicate symbol linker error. This is fine, but I get only one error at a time. Once I fix the error, I'll get the next duplicate symbol error and this proces...

xcode error: there is no sdk for "iphoneos2.2.1"

So I downloaded a sample application and I'm guessing it was made before the iphone os 4. And when I try to compile it gives me that error. I don't know if the programming would be any different. Can someone tell me if there were any changes in programming between os 2.2.1 and os 4? How do I make this application compatible for os 4? ...

XCode still referring older framework

I'm using StakKit framework on my MacOX application, When I added newer version of the framework to the project. I have noticed that XCode is still referring to the older framework and I get warning like SKUser may not respond to '-gravatarIconURL' How do I fix this issue? any suggestions? ...

Xcode Subversion Problem

I am trying to get subversion up and running through xcode. I'm following apples docs at http://developer.apple.com/mac/articles/server/subversionwithxcode3.html Everything looks to be going okay until I try and add the repository, which indicates that the connection is established, but I am getting this error. The authenticity of ...

iphone - Xcode 3.2.3 refusing to run simulator 3.1.3

I have a project build to work with iPhone 3* and 4. Base SDK is set to 4. Target OS is set to 3. I have an iPhone 3GS with 3.1.3. Xcode 3.2.3 refuses to install the app on this iPhone. It refuses also to run the simulator. WHen I try to debug on the device I get "Failed to upload". When I try to debug on the simulator I get a message...

XCode building: identical configurations behave differently

I have a superweird problem: I get a crash (EXC_BAD_ACCESS) when running my app with Release as active configuration on my 3.1.3 iPhone 3G. (works well in debug configuration or in simulator , works perfectly on device running iOS4). My first guess was one setting in the Release configuration was erroneous/missing. In order to test it ...

Intelligent Obj-C variable contents while debugging in Xcode?

In its default (ie, my) configuration, Xcode is somewhat unhelpful in its debugger window for variables, especially those of the common Objective-C collections variety. The debugger seems to usually want to display the underlying Obj-C structure when I expand some object, so I'm looking at isas and the class hierarchy. But what I almo...

xcode internal error "The event stream <DTFileSystemEventStream"

I get the following error when i open this xcode project I have tried doing a "xcodebuild -activetarget -configuration Debug" from the command line also and i get the same error with a stacktrace 2010-07-14 12:55 xcodebuild[4991] (CarbonCore.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-2...

Adding a sound to load with a spash screen in xcode

Hi I have set up a splash screen for my app project and would like to have an sound (mp3) play just after the splash screen loads. I am new to using xcode and wondered whether some one could advise on what code I will need to input/where to input it.. Many Thanks ...

How do I bundle a specific webkit build with my Cocoa App

I've got a Hybrid Cocoa/Webkit application that has extensive Javascript usage, and seems to break every time Apple updates the Safari browser (or the underlying webkit framework in OSX). I understand it will probably mean a much bigger binary, but is there a way to force my application to use an older, bundled WebKit framework vs. the ...

Simulator app is no longer automatically updated

I have just upgraded to xcode 3.2.3. When I build and run the app, the simulator is not updated with the latest app build. Anyone knows why this has changed in this new release of xcode. If it is it's a shame as the environment is not as productive as it used to be, having to delete the app file each time in finder. Any ideas? ...

Using the same iPhone app name as many other apps

Does anyone know where I set my iPhone apps name? When trying to determine what to call my iPhone app... I noticed that I can pick a name that ALREADY has several apps called the same thing. Why is that allowed? http://tinypic.com/r/nygwso/3 ...

Integrating a TabBar and an ActionSheet appears, without disabling the TabBar..

Hi folks! I have been having this problem which has costed me lots of time. I am still lost.. This is something I am seeking to do (Refer to the "Main Page" pic): http://www.netbanker.com/2009/04/mastercard_launches_atm_hunter_iphone_app.html I want an Actionsheet to rise from the TabBar, without disabling it. I have tried many diffe...

Tracing/finding function calls and arguments made by an AppKit class method

Suppose I'm calling class method + (NSStatusBar *)systemStatusBar: NSStatusBar *sB; sB=[NSStatusBar systemStatusBar]; My question is what's the best way to trace that class method call and find out what it is calling in terms of other methods and arguments? Does this entail advanced disassembly beyond what XCode provides? Thanks ...

Problem with non-transparented buttons on a transparent scrollview

Hi all. I have created a scrollview, and some button are placed on this scrollview. And scrollview is transparent with alpha = 0.5. The fact that my buttons are also transparent despite they are set to alpha of 1 and their opacity is set to YES. And I khow that I added any subview to any superView view then the properties of superview sh...

Xcode: 3.0-style message bubbles in 3.2

Is there a way to get back the old-school, "ugly" message bubbles that insert themselves in the middle of the code, as opposed to the new message bubbles that are hidden beside an icon on the left side until you click on them, when they appear on the right side? Despite the reflowing of code they did, this is primarily why I actually pr...

iPhone: App Crashes When Search Bar Used in TableView

I'm new to this and in my application I use UISearchBar. When I enter any word to search in it the application crashes. In my project I am using sqlite and values are fetched from the db in AppDelegate and saved in an NSMutableArray named docArray. RootViewController.m - (void)viewDidLoad{ listOfItems = [[NSMutableArray alloc] ini...

iPhone Xcode RELEASE configuration build error - yet DEBUG works OK

Hi, I am a fairly new iPhone developer. I have four apps in final testing stages and working to get them signed and ready for the app store. I duplicated the RELEASE configuration, and when I try to build using it I get this error: Precompile myappname_Prefix.pch<br> Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4...