iphone-simulator

iPhone App works in simulator but not on device (NSUserDefaults)

Hi! I have some code, which works perfect in the simulator, but i cant run it on a real iPhone device and i dont get the reason: - (void)loadView { self.title = @"Optionen"; [super loadView]; } - (void)viewDidLoad { [super viewDidLoad]; NSMutableArray *strArray = [NSMutableArray new]; NSUserDefaults *prefs = [NSUserDefaults ...

Running 3.1.x iPhone Simulator after upgrading to 3.2.4

I have an app that I want to distribute to 3.1.x devices, but I don't have a device to test on. I ran the app on another dev's 3.1 device, and it crashes, so I definitely have some debugging to do. Rather than find and buy an old 3.x device, I'd like to run a 3.1.x Simulator. Is there any way to do that? I have upgraded my XCode instal...

Is there a tool to look in core date binStore file on iPhone simulator ?

I would like to look at what is in my core data store when running on iPhone simulatore. I can see the file on my Mac but I don't know of any tool to read .binStore files. I am using binStore instead of SQLite because of core data query restrictions when using an SQLite backend. Other wise I would read it FireFox add-on. ...

Associating a marker (dot) with calendar control

Hi, My Application requires the calendar control and i had downloaded the custom calendar control from the below given link. http://blog.webscale.co.in/?p=244 Now the thing we want to do is put a dot in the tile for the dates which has some data associated with it. How can I implement it using the above calendar? Please Give Your Sug...

Error on installation on iPhone, iPod devices "Application exited abnormally with signal 11: Segmentation fault"

I tried to install my application on the devices by using Build and Run from xCode, the application works fine, but when I quit, in the springboard there's no icon for the application, I found the following log on the device's console (which I takes from the Organizer application) Wed Oct 20 17:05:48 iPod-01 com.apple.launchd[1] (UIKitA...

Crashes when in simulator when button pressed

I have 3 views and the first view has a motion background (sequence of pictures), music, and two buttons. When I push either button it crashes. I have a feeling its a memory problem but I'm not sure how to fix this. I'm rather new to Xcode. ...

User specific issue with iPhone SDK

Hey guys. I'm having this problem for 2 days now and I really don't know what to do anymore. When I run the iPhone 4 simulator and click a specific picker, the app crashes with the error: 'NSRangeException', reason: '* -[NSMutableArray objectAtIndex:]: index 4294967295 beyond bounds [0 .. 3]' However, it doesn't happen with...

Network Reachability error: in iphone os 4

my project was buied in os 3.0 but now i want to do some changes with os 4. so when i run my project in xcode 3.2.4. i get those errors...... ld: warning: in /Users/abc/SystemConfiguration.framework/SystemConfiguration, missing required architecture i386 in file ld: warning: in /Users/abc/libz.1.2.3.dylib, missing required architec...

xcode 3.2.4 simulator issue with in-app messaging

Just upgraded to xcode 3.2.4 and am having some issues with the simulator. Prior to the xcode upgrade I was testing my app in the simulator for using in-app mail and in-app messaging. I would switch between the different OS (3.1 and 4 - I believe) and check to make sure that the in-app messaging functions were disable on a device prior t...

iPhone simulator keeps app running on Build and Run

I have a problem with my iPhone simulator. Since yesterday when I press Build and run. Xcode builds the project Simulator closes the running app Simulator opens the running app in same state as it closed (multitasking?) The old build keeps running, I have to quit the simulator before i can run the new build. I tried cleaning the p...

IPhone core data simulator

I've created an app that uses core data. Is there a way to view the sqlite db on the simulator? A tool perhaps that allows to query the sqlite db on the simulator? Like a data browser? Is there a way to browse the iphone simulator to the sqlite db location? ...

TV out window in iPad simulator disappears on landscape mode

I'm making an app for the iPad with TV output to an extra screen. Everything works fine, but for some reason the TV out window disappears when I put the iPad in landscape mode. I commented all the code that makes it go to landscape automatically but as soon as I rotate in iPhone simulator, the tv output window goes away. Is it just not ...

output different from simulator and iphone device

The output from simulator and iphone device is different. what is the actualy problem?can download the sample code from below link. the path of the road is not the same for both. i also need to move the car from start to end with the validation. currently my validation is not working.all the details are in Readme Link Download (1.3MB) ...

how to read a file from documents directory

i hav to read the file with name myname.plist from documents directory .....i want to store the content of the file to string.... ...

Resources seem not to be copied to iPhone

I've created a prototype app which uploads a bunch of photos to a webserver. Everything works fine in the simulator. But when I want to try it on an actual device it does not find the images. I've included them under the resources group in Xcode. Anyone? Best –f ...

add observer on annotationView, call once in simulator 4.0

hi, i add annotationView on the mapView then for each annotation i add a observer: problem when i call the observer by the action click on annotationView, it response only once and then do nothing the second time.(PS: this happen only on simulator 4.0 and 4.1) that is the code that i use. BOOL annotationAppeared = [[change valueForKey:NS...

location problem in IOS4

i am using location in my app and tested it with IOS 3 simulatior it works fine also on device it works fie. but when tested it on IOS4 simulator it crashes..and unable to find location I know that the location on simulator is of infinite loop cupertino california. but it is not working in IOS4... and i don't have Iphone4...So can't tes...

How to resume iPhone app after a Phone Call

Hi there, I am creating an iPhone app in which I am providing a call feature with the help of which a user can call place a call on a specified number. I am able achieve the above feature via open URL. Now after completion of the call I want to resume the execution of app automatically. Although a user can make a fast app switch in iOS...

Does CGContextRotateCTM rotate on different rotational speeds on simulator and device?

I have a project where it rotates 2 spindles 360 degrees both at different speeds over time. I have noticed that it runs well on simulator but when I test it on a device it is significantly slower. The timing taken to make the first 3 full rotations on the simulator and the device are: On Simulator: 7.0, 7.2, 7.2 On Device: 19.3, 19.5,...

Certificate creation for Apple push notifications

Hi, I need to integrate apple push notifications. I am not clear about the certificate needed for the server. As I know this is a generated certificate form server end and does it needed to be signed by a valid certificate authority? If so how does APNS going to validate this? For the apple sandbox cant we proceed with a test certifica...