iphone-simulator

xcode slow to install on simulator and device

To 'build and go' on the simulator takes about 30 seconds To 'build and go' on the device takes about 5 mins. I am 99% sure the reason is that I have lot of images (~4000 ~80mb). The build itself stage takes about 2 seconds, so the problem is the install. Does anyone have any tips to speed it up? The images do not need to be changed...

How do I put images on the iPad Simulator

Is there anyway of placing images on the iPad simulator? ...

iOS Question. Can I distribute the Xcode simulator versions of my app?

I would like to send someone the Xcode simulator version - not the device version - of my iPad app. I have located the .app file in the Finder. Do I just zip it up and send it off or is it more complicated than that? Thanks, Doug UPDATE Chrisbtoo got the answer on this one however he left of some critical bits for those of you trying ...

How to rotate a circle(Fortune wheel) clockwise and anticlockwise?

How to rotate a circle(Fortune wheel) clockwise and anticlockwise by touching circle in particular direction.i.e. if I touch circle and drag my fingur on Iphone in clockwise direction 'my circle will start rotation in clockwise direction and vice versa. If anybody have an idea about it please share it as soon as possible. Thanx in advanc...

Is it possible to use iPhone Simulator 3.1 from XCode 3.2.3 ?

Because the Simulator 3.2 and 4.0 in the SDK 4 do NOT actually work for iPhone simulation (which always comes out iPad and not responding at all), I ended up with 2 SDK installations, using SDK 3.1.3/Simulator 3.1 for simulation, and SDK 4 for building onto the iPhone with OS 4. (More details here.) I tried to use the old Simulator 3.1 ...

dateformatter works in simulator but not on device

Hi, this code works on simulator ... but not on my ipod touch... on ipod I see the unformated date :-( NSDateFormatter* formatter = [[[NSDateFormatter alloc] init] retain]; //Date Before = Sun, 20 Jun 2010 06:00:00 +020 [formatter setDateFormat:@"EEE, dd MMM yyyy HH:mm:ss Z"]; NSDate *d = [formatter dateFromString:...

IPhone 3, iPhone 4, and iPad orientation handling

I have a view with a tableView and a mapView. In portrait mode, I want the mapView to occupy the top 60% of the screen, and the table view, the bottom 40%. In landscape, I want the mapView to occupy 45% of the screen on the right, and the tableView 55% on the left. Thus, I thought that something like this ought to work: -(void)wi...

Organizer will not accept Provisioning Profile, or Run App on Device, states version of OS is too Old, but it matches the latest?

Organizer states, “The version of iPhone OS doesn’t match iPhone OS supported for development”, but this is the message that I get... But as you can see, I have 4.0 (8A293) on iPhone, and the same Xcode OS (8A293). So why is it having an issue? My Organizer indicator color doesn't turn green like it used to either, only get orange. T...

iPad simulator broken

iPad simulator won't run my app! It loads and animates in and then crashes halfway through the loading animation. Xcode reports: Debugging Terminated. Why? I just had this on my iPod touch (8GB) and I rebooted them both. EDIT: This code in the delegate seems to be causing an issue: NSLog(@"Device: %@", [[UIDevice currentDevice] u...

Submitting iPhone app to app store without testing on a device

I've tested my app thoroughly on the simulator, but I don't have an iphone/ipad/ipod touch on which to test the app. Are there likely to be bugs that dont expose themselves until I test it on the device? if i had a macbook, id take my code along with me and meet up with a friend or a stranger to test the app, but im working with a mac ...

Linker error (only simulator) with own library after update to iPhone SDK 4.0

Hey all, I recently updated to iPhone SDK 4.0 and are no longer able to build my project for the iPhone simulator. The problem is that classes of one of my own libraries can no longer be found by ld: "_OBJC_CLASS_$_Book", referenced from: objc-class-ref-to-Book in Category.o (maybe you meant: ...) ld: symbol(s) not found collect2...

Keyboard shows up when not needed

Hello, I've just downloaded SDK 4.0 and I wanted to tun my iPhone application developed against SDK 3.1.3. Unfortunately the app behaves in a strange way in the Simulator for iPhone 4.0. The first thing is that I have a view with a table view with text fields in the cells. When I show the view the keyboard immediately shows up, but I c...

iPhone Simulator Crash after upgrading to XCode 3.2.3

Hi all, I just installed the new XCode with iPhone SDK 4.0. On my project, I set version 4.0 as my base version, as deployment target, 3.0 is selected. Before the update, everything went fine. Now, if I run the iPad simulator, everything still works fine. But when I try to run it in the iPhone simulator, the app crashes before the star...

iPhone device has taken over!

Hi, I have been developing an iPhone app for a few months now (my first app) using the 3.1.2 SDK. All of a sudden, my app started defaulting to running on the device during debug. I assumed that somehow my target settings had changed, but when I checked them, they said they were targeting the simulator, not the device. I checked all the...

Can i access iPod Library on simulator?

I am trying some code to open iPod Library using simulator but app crashes with this error MPMediaLibrary: Unable to launch iPod library server: application not found Do i need real iphone to test this code? ...

How to figure out "Color of a specific pixel" in an image?

I have an image which is inside an Image View.I want to find color of a specific pixel (say x=10,y=20)inside the image.A working code would really help me out.Thanks in advance ...

iPhone viewForZoomingInScrollView behaviour changes in iOS3.2 +

Hi, i have a scroll view which represents a map, it has pins on it, when the user zooms the map, my app uses viewForZoomingInScrollView to ensure all the pins remain the same size( I ensure the location of the pin point is maintained by setting the anchor point on the layer) here is the general gist of the code.. - (UIView *)viewForZo...

Is it possible to test iOS4 multitasking/background music playing on the simulator?

I have added the UIBackgroundModes property in Info.plist to have an array entry of "audio" and have added the call to setup the audio session: [session setCategory: AVAudioSessionCategoryPlayback error: &error];. However, the only test device I have is the iPod Touch 2G which doesn't support multitasking. I've tried the simulator but ...

Cannot input characters in iPhone simulator on proxy screen

I am developing in Appcelerator Titanium for iPhone, and have a weird problem. The Mac I am working on is behind a proxy, and needs to authenticate to communicate with the network. I have set this up through Safari, and it works well in all programs (even Safari in the iPhone Simulator). The problem is that when my app tries to connect ...

How to pass the parameters from a user-defined to delegate method in objective C (iPhone)

Hi, everyone I want to ask about the passing parameter in objective C on iPhone simulator. Is it possible to pass an parameter (e.g. NSArray) to the delegate method? I wrote a program, when the user press a button, it will call a function called 'pressLoginButton' (user-defined). After complete the function, I have to pass an NSArray ...