In my Xcode 4.0 IOS 4.3 instruments not working when checking leaks on device.It works fine with simulator.I tried reinstalling my Xcode.It doesn't show anything when i choose targets in the instrument.Any help is appreciated.
Thanks in advance.
Did you try selecting the target from the top bar;(Next to the Record, restart button)
After connecting the device, it should show choose target.
Try choosing your target from there.
Related
I have come across a strange issue with my simulator (on my iMac). It does not seem to replicate the code I have in Xcode. Even though if I run the same code on my Mac Book Air it works fine. I have downloaded it to my iPhone and that works fine. Not sure what I've done. I am running the app on Xcode 6.4 . Is it worth just deleting Xcode and then re-downloading ?
Launch the iOS Simulator and go to Simulator > Reset Content and Settings...
This wipes the simulated iOS device and should clear up any issues.
If this does not work, try "Product -> Clean" or "Window -> Projects" - select your project from the left hand side and select delete on the right hand side (alongside Derived Data).
When running Xcode shows older version of the project both on iOS simulator and iOS Device! It never shows the new background picture I have added although it's there in the storyboard and saved!
I tried cleaning the project even with the option key pressed but still!
I have localizations and it was working well!
What could it be? Where is the problem?
I tried searching but I ran out of terms and still no effective results.
Sometimes apps get "stuck" in the simulator. Try deleting it (long press, then click the "x") and then check ~/Library/Application Support/iPhone Simulator/[ios version]/Applications to see if it still exists. If it does, just delete it.
You can also try iOS Simulator > Reset Content and Settings....
I had a similar issue where an old storyboard were used on device instead of the most updated one I was working on.
The problem was due to the localization, I had my storyboard localized in 2 different languages and the device were using the storyboard localized in an other language than the default one which was somehow outdated.
Hope it helps.
I was working with XCode 4.3 and having a working code. But after upgrading to 4.4 i met with a problem. The problem is that current user location is not being showed on the iphone simulator. I mean the blue dot. And also my pins dissappeared and map is not focusing to the area i wanted. Do u have any idea about this problem?
Did you try this
self.mapView.showsUserLocation=YES;
GPS services doesn't work well in simulator. Apple has supported it in simulator 5 but not in the prior versions.
Make sure you have the Edit Scheme... > Run > Options the 'Allow Location Simulation' checked.
I also had the issue at first. Pin was there but no map displayed, only a grid.
I played with the map to move it around and it start working.
I have xcode 7.3.1
I'm trying to replace my iPad icon app on my iPad. However, for some reason the icon doesn't change and app always installed with the old icon.
I tried the following -
didn't find anything wrong with info.plist file
installed on iPhone & iPad simulator and also on my iPhone - works fine with the right icon
delete app and reinstall on iPad - doesn't help
restart the iPad - doesn't help
clean cache - the only clean cache option I found on my iPad is related to the Safari app - tried it anyway - doesn't help.
My iPad is running with iOs 4.3.3 - icon doesn't change
My iPhone is running with iOS 5.0 - works fine
iPhone & iPad simulators 4.3 & 5.0 - works fine.
Any idea?
Many thanks for your help,
Dudi
You can try some of these: restarting xcode, clean build folder, project-archive and look inside the zip, check ipad-icon in your project with finder.
good luck.
Have you tried deleting the app off of your iPad as well as running a Clean Build before re-installing it back on to your iPad?
Try a clean build: Product > Clean.
Particularly having deleted the app off your device, and still found this problem, the need for a clean build is by far the most likely issue.
Can I somehow force a specific hardware device when running my universal app? Whenever I rebuild and test, iPhone 3 fires up and I have to switch over to iPad and rotate the device.
Annoying.
Project > Edit Project Settings > Targeted Device Family > iPad
I finally solved this problem myself.
First, install new version of xCode, which is xCode 4.
Then set project scheme to iphone simulator and run app in xCode several times.
And re-install xCode 3 and the problem will be gone away!