iphone simulator deny locating
how can i configure the Xcode simulator to NOT localize me. i want to check my locationManagerDidFail Methode. ...
how can i configure the Xcode simulator to NOT localize me. i want to check my locationManagerDidFail Methode. ...
I had a big project with a bunch of files I was not using. Little by little, I started removing the references to those files from xcode, until I got the project completely cleaned up. What I want to do now is to remove all these unused files from my hard drive for good. Is there an automated way to do this? ...
Hey there, I saw some documentation and previous questions about this, but couln't find a solution. My code looks like: for(NSString str : NSArray){ NSLog(str); } The error is at the : Thanks in advance. ...
Hi all, I have a problem linking with a .a C static library I have compiled as a separate target. My library is called libtest.a and has only one function: int test() which returns 1 always. I have put libtest.a and test.h (its header file) in a mylibrary_directory Then I create a new iphone view base project and added mylibrary_dir...
Hi, I can't convert my app to an Ipa without sign that works. Please, any help? ¿Error 0xE80000080? ...
I asked this question before and now the problem seems to have returned with XCode 3.2.3. When I run unit tests and I get an assertion failure I don't seem to get the little message bubbles in the left gutter like I used to. I can hit Cmd+plus to highlight the errant assert and get a partial status at the bottom of the window but I don't...
Hello I have a cover flow and it has 3 different image sets. One of them needs to be generated and I have been trying to get it populated with a thread for larger selections of images. Here is a bit of my code: - (void) startSongThread { [NSThread detachNewThreadSelector:@selector(songThreadMain) toTarget:self withObject:nil]; ...
Hi Guys, I need to add some attributes to my core data model and I am having a terrible time getting lightweight migration to work! I keep getting the error "Cant merge models with two different entities named blah". Here's what I've done ... Added this code to my app delegate. (NSPersistentStoreCoordinator*)persistentStoreCoordin...
Hi there, I recently installed XCode 3.2.4 to my machine. This comes with iOS SDK 4.1. Annoyingly I can no longer install my app to any iPhone. The option to tick "Device" in the drop down for where to install to is present, but when I click it, it doesn't become ticked. Strangely I can only run my app on the simulator, despite the opti...
I have a project that uses OpenAL. The project is built against the 10.5 SDK, and the version of the OpenAL.framework in 10.5 causes some problems. I want to link to a custom-built version of the OpenAL.framework that resides in my source tree. However, Xcode resolutely refuses to do this. No matter what I try, it insists on linking to ...
Hi, I am having difficulties with some logic. What I am trying to do is I have a nsmutablearray which I want to do a check with an object. If i have selected multiple creditcards in a particular view i store that card details name is my nsmutablearray called filteredCard. Then I have objects of companies which has one or more creditcard...
Hi everyone, So I'm working on iPhone and everything is going swell. Except for the last two hours. I was editing some class, then saved and built and suddenly I had tons of errors in another class implementation file. It seems that all the errors have to do with class members (variables) because the only errors I have are "object undec...
What is Objective C++ and can I use this language in Xcode? ...
While making changes to an iPhone app I saved and compiled; got the errors below... undid everything and I am now stuck with these errors. I've tried cleaning the build, copying the files out of this folder, tried building on another machine. Nothing I can think of solves it, the change I made was to the .xib file; I removed the IBOutlet...
hi, i got this link error when i tried to install my app to device: ldr 12-bit displacement out of range (4628 max +/-4096) in _ABAddressBookCreate$stub in _ABAddressBookCreate$stub from collect2: ld returned 1 exit status how can i solve this? in simulator there is no error. i search everywhere, there is no "ABAddressBookCreate...
Hi folks, I have a simple question: My XCode project has a file called someLib.a, which I can see both inside the Xcode project and in the project's directory if I Reveal it in Finder. As usual, I made an import operation through the SCM by selecting the projects folder, however, If I make a checkout afterwards and open the project I ...
Hi all, I have a three UIImageView variables called myPicture1, myPicture2 and myPicture3. In a for loop I am trying to increase the number at the end of myPicture by 1 so that I can assign a random image to each of the three variables. Here is the code below : for (i=0; i<3; i++) { int g = arc4random() % 19; NSString *imagename = [...
When running my iPhone app code with memory leak tool it says that i have two memory leaks in this method. The first when calling cell.textLabel setText: and the second when calling cell.imageView setImage: I can't figure out what it's wrong, please can you help me? - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIn...
I'd like to popup a calendar control (like the month view from the calendar provided by Apple), which can be used as date picker. I've already made some research, but I'm asking if I missed something out. There are several free available libraries: * Kal * GCCalendar * TapkuLibrary * iphonecal * iphone-gcal Also there is one comme...
I'm writing an iPad split view-based application and I've a NSMutableArray with some objects passed to the main tableView with this code: - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifier = @"CellIdentifier"; // Dequeue or create a cell of th...