iPhone map tiling issue on device and iOS simulator - iphone

I have run into a very confusing situation with maps on the iPhone. Everything had been running without a hitch on a maps based app that I was developing, and then yesterday my device and the iOS simulators started exhibiting some bizarre behaviour where the tiles the app was fetching for the map did not line up with where they should be.
Here's a screenshot of what I am seeing.
This is happening on both my device (after a factory reset as well) and on the iOS simulator. I managed to fix the simulator by reinstalling Xcode, but this problem seems to be back! I can't for the life of me figure out what it could be.
I should note that I have tried clearing the map tiles cache and it would fix it for a while then the problem would start again.
Also I cleared the map tiles cache and then created an brand new MapKit app and the problem started again so I am sure it isn't my app causing it. It is happening also on the iOS 4 and 5 simulators.
Thanks so much for your help!

There have been quite some reports of people from the Japan area that this affects all devices in the area. Maybe this is the same thing in Australia as well. There is a lengthy apple discussion on https://discussions.apple.com/message/16630435 with affected people.

Related

iPhone App Different Behaviour Archive Version Compared to XCode Debugging

I've got a frustrating problem here in that my iPhone app seems to run fine in XCode (running in the simulator or debugging it with iPhone plugged in), but archive versions act differently.
My sprites are supposed to perform movement only in a strict grid pattern and at constant speeds, but they are sort of skipping around and moving in unexpected diagonals.
I don't think it's IOS7-related because the problem doesn't manifest in the new version (7) of the simulator.
I never saw this problem in months of development and dev testing. It only seems to have started happening since I started producing and distributing archives.
App details:
Game, cocos2D
Hardware:
MacBook Air, iPhone5, IOS7
I ended up getting some help from someone on the Apple Developer Forums, but I'd like to update this posting as well, even though it's redundant.
I've been running XCode for over 2 years and I didn't realize build configurations could cause different behaviour.
By setting the Run scheme to use the Release build configuration I was able to re-create the problem on the device.
The problem still existed of course, but this posting I found suggested turning off compiler optimizations to solve a vaguely similar problem.
That did it. Somehow the calculations that occur to control sprite vectors in my application behave strangely with compiler optimizations turned on.

iPhone 5 app rotating when it shouldn't (only on app store)

I have an app that shouldn't rotate unless on one particular screen.
The problem is that it is rotating on all screens, but the real big problem is that it only occurs when the users download the app from app store and are using it on iPhone 5, so I can't really find a way to test and fix the bug, since I wasn't able to reproduce it (in a development environment) so far.
I believe this is not an iOS problem since other devices with the same version are doing ok with the version I uploaded to apple through XCode, the bug really only occur when downloaded from app store and is installed on iPhone 5.
Any thoughts on what might be happening or how to fix it?
Thanks in advance!

Blank screen on some user devices. No crash reports. Can't replicate the bug - how to fix it?

I released an iPhone/iPad app some weeks ago. From 15 reviews (worldwide) I got a dozen 1 star reviews from users saying the app does not work, they only get a blank screen. The other three are happy and it works for them.
I tested the app on an iPad 1, an iPad 2, an iPhone 3GS and several iPhone 4s - it worked on every device flawlessly. And it passed the app store submission process, so it must have worked at Apple...
The crash report in iTunes Connect is empty - the app obviously does not crash, it just hangs somewhere.
Unfortunately there is no way to contact the users where it doesn't work :-(
I know its really hard to help with that less information, but I don't know what to do when I can't replicate the problem on my side...
So does anybody has any idea?
If its a memory problem - shouldn't the app crash then?
I use AVFoundation to play a movie and I know of some flaws since its a relatively new library - does somebody know of this problem (a blank screen) in relation with AVFoundation?
It would be helpful as well if you could download the app (the name is "Hyperactive") and test if you get a blank screen. If so I would be glad to learn the exact device and the iOS version. I hope this is not missunderstood as spam, thats not what I intend...
Thanks in advance,
best regards,
Walchy
This is a longshot, but maybe the user had the application running for a long time, receiving a viewDidUnload, and something you unload is not getting reloaded on the viewDidLoad.
Try running a "Simulate Memory Warning" on the iphone simulator options.
Both iPhone and iPad versions work fine on iPad 1.
Application won't install on iPhone 3G with iOS 4.2.1.
Have you tested your application on a jailbroken device?
It turned out that the black screen only happens on an iPod Touch and the solution is very easy:
You need an additional entry in the .plist file for the iPod Touch:
Main nib file base name ...
iPod Touch 4G thinks it's an iPad

iPhone Simulator Intermittent Slowdown

Almost every time I use the iPhone Simulator, I get intermittent slowdowns. Everything is running smooth and then the whole UI randomly drops down to 1-5fps. View pushes, animations and everything related to the UI just becomes sluggish for 2-10 seconds. Then all of sudden it comes back to normal again.
I've googled this issue several times and just can't find a solution. My guess is that there's some 3rd party extension/plugin that's causing this slowdown, but I'm not sure how to debug this.
This has been the case for the last 4 SDK installations. Happens on all simulators (iPhone, iPhone 4 and iPad). Happens in my own apps as well as in Apple's stock apps (Photos, Safari, Settings) and even in the Home Screen.
This issue makes debugging/testing extremely annoying. Any guess what could be the issue?
Ended up deleting everything in the ~/Library/Application Support/iPhone Simulator folder. It had some really old folders back from the 3.0 days. Maybe some incompatibility, I'm not sure.
Haven't had the issue since.
EDIT: Nope, this is only a temporary fix. Still looking for a permanent solution.
I know it's been a while, but it seems like Xcode 4.2 fixed this for good.
I noticed some slowdowns in the simulator when FaceTime for Mac is running, but it's not as bad as you describe. Have you tried when nothing else is running on your Mac?
Total long shot: Are you using Core Location at all? (GPS Stuff)?
I have seen the same kind of behavior your are talking about when I turn location tracking on inside my simulated iPhone app.

App freeze and then crashes on splash screen

I have an iPhone App published for a while, developed under the SDK3, and everything works great. Some weeks ago, when Apple released the SDK4 I made some changes to my app to support multitasking (it plays audio in the background).
In my simulator and my device (iPhone 3GS iOS4) the app runs great, there is no problem at all. But, now when I submit the update, a lot of users are contacting me because they say that the app freezes on the splash screen and after waiting about 40-60 seconds, it crashes.
By asking to the users, I have determinate that the problem is only in those devices that haves iOS4 (iPhone 3Gs and 4G).
I tested the app over and over in my simulator and my device but it never happens to me!! Some one have any idea or information about this?
I will really appreciate it. Thanks.
After search for the crashes, and try over and over, I can't reproduce the bug on
my devices. So, I decide to start reading at the Apple Developer Forums and I
found a thread where my suspicions are affirmed: this problem is caused by an internal
iOS4 bug.
"There's a bug in the App Store's code signing process. Talk to DTS: they can
help you with the workaround. Mention rdar://7909951."
"...but it should be the cause of nearly all "failed to launch in time" inside
libobjc:_mapStrHash..." (This appears in some of my app crashes)
Here is the link to the post: failed to launch in time in iOS4
There is no certain solution, but some suggest that a start is changing from arm6 to arm7 and try.
You can try changing some code in the app for producing a different binary and submit it again.
I hope it can help anyone else.
Check the crash report on itunesconnect.apple.com
iPhone 3G also supports iOS 4, except it "doesn't support multitasking" (presumably due to lack of RAM?). If you're only seeing crashes on the 3GS and 4, then that might be the issue.
Default.png is shown on launch, but it's also shown on the foreground when the OS didn't manage to get a screenshot while backgrounding, or for various other reasons (e.g. your app was launched with openURL, so the UI is likely to be different).