I've given an ad hoc version of my app to some users. Two of them have the app die on start up while one user has no issues. I can also install the ad hoc without issue...but that is always the case for me. One user sent the info below from the Xcode Organizer Console. They didn't find any crash logs. I don't know what to make of th...
Alright I have two problems. I'm using AVAudioPlayer to play a simple audio file in .caf format. What I'm trying to do is have a play and pause button. Here is a sample of a simple IBAction to play the audio from a button.
- (IBAction) clear {
NSString *path = [[NSBundle mainBundle] pathForResource:@"clear" ofType:@"caf"];
AVAudioPla...
If I create an App for the iPhone (OS 3) will it run without modification on an iPod Touch or will I need to create a separate binary? If it is the same runtime, does it just have stubs for the iPhone only features or do you have to check feature by feature using UIDevice to ensure the particular class/method is supported on the device ...
Hi,
I defined a UIView "RowOfThree" inwhich there are 3 labels. i also defined a UIView "Table" inwhich there are numer of objects of type "Row".
the following code is in a method within object "Table":
RowOfThree *rowOfThree = [[RowOfThree alloc] init];
[self addSubview:rowOfThree];
for some reason it doesn't add the view.
i tried def...
After I upgraded using a clean install from OS X 10.5 to 10.6.2 and upgraded the XCode to 3.2.1 I wasn't able to use distributed builds feature anymore.
There are several issues that I detected:
In most cases Bonjour is not detecting the other computers even they are on the same switch.
I added a custom 'set' where I added manually th...
If I have something I want to do repeatedly in an Xcode iPhone app, how do I set it up and call it?
For example, if I wanted to do this simple line lots of times from lots of different places in an app: label1.text = @"Hello";
And then what if I wanted to call or perform it from lots of different apps: how would I convert it into my o...
I'm supporting 10.4+ by picking the most-current API at runtime:
if ([fileManager respondsToSelector:@selector(removeItemAtPath:error:)])
[fileManager removeItemAtPath:downloadDir error:NULL];
else
[fileManager removeFileAtPath:downloadDir handler:nil];
In this case, 10.5 and up will use removeItemAtPath:error: and 10.4 will u...
I have a fairly complex (iPhone SDK) Xcode project, with many targets -- 4 static libs, unit tests, multiple sample apps, a BuildAll that runs a shell script, and a Package that runs another shell script. The "BuildAll" target creates a directory in the project with some subdirectories with contents ready for distribution.
When I click ...
I love the "Organize Imports" command in Eclipse to implicitly add and remove classes imported into a source file (as in Java or ActionScript).
Is there a command in Xcode to update the #import directives at the top of.m Objective-C files based on the classes referenced within the file?
...
with the newer sdk we can see a menu named accessibility in identity inspector.What does it do and how we can use it in application?
...
I'm writing a plain C project. I'm using a Mac and I like working with Xcode and I want to use the Xcode project and build environment. I'd like to be able to build it on other platforms though. Not being overly familiar with Linux (yet) I assume this would involve a makefile. My project has no dependencies and it's about as vanilla as i...
how can we open compass app from our native iphone application? also i am using mapkit and i want to show the direction heading from user location to another location in maps application how can we achieve this?
...
In short:
Is there a way to create a static library in Xcode such that when clients link with that library, they also link with the frameworks upon which that library depends?
The problem:
We have a shared Xcode project which contains multiple static library targets containing all of our common code. E.g., If a project wants to use th...
I don't like using Xcode's console output window when debugging an iPhone app in the Simulator (or on a device for that matter). I'd like to be able to use the Unix toolbox and do things like filter the logging output with grep. But to do this I need to get Xcode to send the logging output for the running iPhone app to the Terminal.
Is ...
I made a fresh view-based app project which has a MyProjectViewController.xib. Then I created AnotherViewController class with an acomanying XIB file. I opened MyProjectViewController.xib up in IB and dropped a "View Controller" object into my window. But now I want to hook the view of that view controllers up with the view of MyProject...
I am trying to add linked libraries in Xcode 3.2.1 to follow this tutorial. The instructions I am following are here
Add the Quartz framework to the project’s target.
In the Xcode Groups & Files list, select the QCDemo target.
Press Command-I to display the Target Info window.
Click General.
Under linked libraries, click the plus (+) ...
I get the following error when connecting XCode to a repository on GoogleCode.com
Error: 175002 (RA layer request failed) Description: Server sent unexpected return value (405 Method Not Allowed) in response to OPTIONS request for 'http://touchcode.googlecode.com/hg'
Has anyone see this before and how do I resolve it?
...
I have an app in the app store that uses a wildcard bundle identifier. I want to implement in-app purchashing , which requires a non wildcard ID. How do I convert the wildcard ID of an existing app to a static ID for in-app purchase and push notification?
...
Hi
I've 2 devices (iPhone + iPod) connected to my Mac and both are available as developper devices in XCode. How can I choose which one to use for testing purpose and switch from one to the other when I want ? For the moment the only way I found is to unplug the unwanted one in order for the other to be available. Am I missing something...
I am using Xcode 3.2.1 in project, where Base SDK is iPhone Device 3.0 and iPhone OS Deployment Target is iPhone OS 2.0, in other words a backwards compatible application.
The problem is MapKit Framework. It's added as Weak linked library, but the app just does not link for "Device - 2.2.1" target. I have run out of ideas... What else ...