Application rejected but working 100% fine on my Development Phone.

Hi,
I have an application that i submitted to iTunes Connect for approval. It uses Location Manager to find the device location at the Start-Up. It got rejected from apple, the mail from them says:
Application crashing on iPhone OS 2.2 and Mac OS X 10.5.6. It crashes
consistently on the iPhone 3G, but does not crash on iPod touch.
Steps to Reproduce (WiFi):
1. Launch the application.
2. Wait for the device to prompt you to use location. When the prompt
appears, tap OK. The application crashes (exits).
Steps to Reproduce (3G):
1. Launch the application.
2. Wait for the device to prompt you to use location. Prompt attempts to
appear (screen dims) but does not. The application then crashes (exits).
The application,however, is working fine at my development device.I am using Wi-Fi at my end. IPhone and MAC versions are:
IPhone 3G - OS 2.2 ( 57GG )
MAC OS 10.5.5
They are also using the same configuration for testing my app. Below is the line from crash report that they have sent me.
OS Version: iPhone OS 2.2 (5G77)
Is there anything i am missing? The package bundle is also correct i think because it is uploaded successfully on the iTunes Store.
Any guidance will be helpful for me.

Thanks for all your replies.
@xnav
I tried running the application with Wi-Fi OFF. It just displays my custom alert that i coded for
- (void)locationManager:(CLLocationManager *)manager didFailWithError:(NSError *)error{
delegate method. No crashes even with negative longitude values.
@Michael
With Airplane Mode turned ON, the application is unable to get the device location. So everytime the control reaches to
- (void)locationManager:(CLLocationManager *)manager didFailWithError:(NSError *)error{
and my application displays an alert, but no crashes here. The user can set its location in a textfield and can use the application.
@StatCoder
Not yet tested with Ad-Hoc distribution. But can it really make any difference as my debug configuration and distribution configurations are exactly same except the Profiles parameter.

Similar Messages

  • I m trying to send a email and sms alert using php and it works fine on all systems except on Iphone,the problem is swedish charcters doesn't show on iphones used by people in sweden but works absolutely fine on iphones in india. plz help

    I m trying to send a email and sms alert to people and it works fine on all systems expect on Iphone,the problem is swedish charcters doesn't show on iphones used by people in sweden but works absolutely fine on iphones in india.
    the code i m using is right below,plz have a look and not into the problem as problem is a bit strange.
    $headers = "MIME-Version: 1.0\n" ;
                $headers .= "Content-Type: text/plain; charset=\"UTF-8\"\n";
                $headers .= "X-Priority: 1 (Highest)\n";
                $headers .= "X-MSMail-Priority: High\n";
                $headers .= "Importance: High\n";
                // Additional headers
                $headers .= 'From: Rakesh <[email protected]>' . "\r\n";
                foreach($disemail as $email)
                    $to = $email;
                    $subject = $succMessage['email_subject'];
                    $message = $smsText;
                    mail($to,'=?UTF-8?B?'.base64_encode($subject).'?=',$message,$header);
            if (stripos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== FALSE) {
            $smsText = utf8_encode($smsText);

    i have tried this new charset combination specifically for iphone and i m waiting for response from sweden alliance.....i hope this works fine as iso works great for 8-bit characters.
    would like to have your thoughts though.
    $headers .= "Content-Type:text/plain; charset=\"iso-8859-1\"\n  format=flowed Content-Transfer-Encoding: quoted-printable";

  • Ipohne 5s got wet, now there is no service but works perfectly fine. help ?

    is it because it got wet ? or just a service problem?

    myrna.parcero wrote:
    ipohne 5s got wet, now there is no service but works perfectly fine.
    Since it has notservice, it obviously does not "works perfectly fine".
    is it because it got wet ? or just a service problem?
    One or the other or both.
    Contact your cell carrier and/or take the phone into an Apple store.
    FYI: wet is considered accidental damage and is not covered under warranty.
    $269 (in U.S.) to replace the phone at Apple.
    -> http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=ipho ne

  • When a PDF is opened in a tab, my laptop's touchpad scroll stops working for other tabs. (But works perfectly fine on the pdf tab or with every tab after closing the pdf tab)

    My touchpad scroll was not working many times after i installed firefox 6. But it works perfectly fine in other browsers at the same time.
    After some playing around, i found that this problem occurs only when a pdf is open in some tab (The scrolling works in pdf's tab but not in other tabs). Once that particular tab is closed, the scrolling starts working properly.

    Using similar scroll function on my netbook. To add to the above, I find that using scroll is actually causing the PDF to scroll rather than the tab I'm actually in.
    Reader 9 is installed on my Win7 Starter.

  • Cover Flow Slow when browsing - but works just fine if internet is open

    Hi:
    I have installed and am using itunes 7.0.2. When I select the Cover Flow view, the album covers come up and everything seems to work but there is a major lag and my dual core processor computer running Windows XP MCE is maxed out at between 70-90%. If, however, I open up Firefox or Thunderbird and then try it, my processor chugs along at 10-17% and everything in itunes works without any lag at all. Shutting down the internet connection brings the lag and system resource hogging back to critical.
    Any ideas what is happening or how to fix it?
    Thanks

    Did you post from the system that has the problem? (Your "More System Details" list shows Flash 11.7 instead of 11.8 for some reason.)
    This is some standard guidance that addresses the most common issues with Flash in Firefox. I'm sure you've seen some of it before, but just in case:
    (1) Make sure all recorders/downloaders that interact with Flash media are as up-to-date as possible, or disable them.
    (2) Disable hardware graphics acceleration in Firefox and in Flash ''(I see from your post that you've done this part)''
    (A) In Firefox, un-check the box here and restart:
    orange Firefox button (or Tools menu) > Options > Advanced > General > "Use hardware acceleration when available"
    (B) In Flash, see this support article from Adobe: http://helpx.adobe.com/flash-player/kb/video-playback-issues.html#main_Solve_video_playback_issues
    (3) Disable protected mode (Windows Vista/7/8)
    See this support article from Adobe under the heading "Last Resort": [http://forums.adobe.com/message/4468493#TemporaryWorkaround Adobe Forums: How do I troubleshoot Flash Player's protected mode for Firefox?]

  • IPod shuffle 2nd gen not recognized in Mac either Finder or iTunes (but is detected and works perfectly fine on Windows)... i tried using iPod Reset Utility, but no luck...

    i've been working on this for the past few days, and still no luck... iPod Shuffle 2nd generation (i know it's old).... not detected in my home MacBook... but works perfectly fine on Windows....
    i tried using iPod Reset Utility, soooo many times... and i only had twice the luck of having it formatted... but even though it is formatted, it still isn't recognized in iTunes or even in Finder.... other than the 2 times of having it formatted using iPod Reset Utility, i had seen all the reuslts, like: Error ressetting the ipod blah blah: iPod has been reset, keep plugged in, until reset is completed blah blah: iPod has been reset, unplug and replug your iPod blah blah... etc, i have seen all the possible effects of iPod Reset Utility, but still no luck getting it recognized in iTunes or Finder....
    and then , i tried connecting it to a windows computer (but i didn't restore it from there, and just ejected it from windows iTunes), after ejecting it from windows, and then connecting it to Mac, it worked miraculuosly.... perfectly synced and able to put music and listen to them... ejected iPod... after a few minutes, i wanted to add some other music, but when i connected it again, Bam!!!! not working again... even after connecting to windows, it didn't work anymore... guess the magic trick has been doomed...
    i badly need help... puhlease...  (^_^)

    Hey, I hear ya and can sympathize. I have the same
    issue. The difference is that my computer can "see"
    my ipod but it refuses to show up in itunes itself;
    therefore, I can't put anything on the ipod (from the
    computer) and vice-versa. Apple support is clueless.
    This is very frustrating to say the least. Itunes
    keeps telling me that my ipod is synced to a
    "different" computer, which isn't true. It's the
    same computer. The difference is that when I first
    got the 'pod and used it with this computer (and
    everything worked fine), I was running XP. I
    installed Vista and after that, all the problems
    started. If I ever get this resolved, believe me,
    I'll post something here.
    I'm guessing that somehow, itunes "sees" what
    computer it's hooked to by "looking" at something in
    the OS. Change the OS and it "thinks" it's seeing a
    "different" computer.
    Try reformatting it.

  • My iPad mini was working very fine from last 9 months....but suddenly today I found it discharging from 100% to 34% though I didn't use it at all...and also found my mini is slightly heated up at the bottom..any help regarding this would be greatful

    My iPad mini was working very fine from last 9 months....but suddenly today I found it discharging from 100% to 34% though I didn't use it at all...and also found my mini is slightly heated up at the bottom..any help regarding this would be greatful

    Same thing happened to me with my peruvian credit card in the peruvian app store, I want to buy an app, but it says that my credit card is "not supported in the Peruvian app store"

  • I have a Mac running 10.9.2. My wireless mouse with not scroll in mail but works fine in other applications? Any suggestions?

    I have a Mac running 10.9.2. My apple wireless mouse will not scroll in Mail but works fine in other applications.
    Any suggestions?

    First, see this discussion. If the solution suggested there doesn't work for you, continue.
    If you've installed a Mail plugin called "Mail Unread Menu" and you know how to remove it, please do that, then quit and relaunch Mail. Test. Otherwise, see below.
    Back up all data.
    1. Triple-click anywhere in the line below on this page to select it:  
    ~/Library/Mail/Bundles
    Right-click or control-click the highlighted line and select 
    Services ▹ Open
    from the contextual menu.* A folder may open, or you may get an error message that the item can't be found. Either result is normal. If the folder does open and has contents, move the contents to the Desktop. Relaunch Mail and test. If there's no change, put the contents of the folder back and quit Mail again.
    2. Repeat with this line:
    /Library/Mail/Bundles
    This time you may be prompted for your login password when you remove the items. Make sure they're removed from the folder and not just copied to the Desktop. If necessary, copy them first and then move the originals to the Trash.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

  • Recently, I can't get any sound from my game applications.  Sound works fine with video, streaming, etc, but not my game applications.  I've tried powering down and re-booting, but the sound does not return.  Can anyone help me?

    Recently, I can't get any sound from my game applications.  Sound works fine with video, streaming, etc, but not my game applications.  I've tried powering down and re-booting, but the sound does not return.  Can anyone help me?

    Have you got notifications muted ? Only notifications (including games) get muted, so the Music and Videos apps, and headphones, still get sound.
    Depending on what you've got Settings > General > Use Side Switch To set to (mute or rotation lock), then you can mute notifications by the switch on the right hand side of the iPad above the volume switch, or via control centre : swipe up from the bottom edge of the screen and it's the right-most of the 5 icons in the middle of it (if the icon is white then it's 'on', tap it to turn it grey and 'off'). The function that isn't on the side switch is set via control centre instead : http://support.apple.com/kb/HT4085

  • Internet works fine but some applications won't work (wrt54g2)

    So my connection works just fine with most applications and browsing, but when I try logging into a ventrilo server I'll just get stuck on synchronizing.
    When playing Heroes of Newerth too, for an  instance, I'm not able to connect to any games or download the game list.
    I've opened all related ports and also set my computer up as DMZ to see if that was the problem, still didn't work.
    The router is WRT54G2 updated to the newest firmware.
    I also have a D-LINK router and both ventrilo and heroes of newerth work just fine on that router.
    Any ideas?

    Who is your ISP....?
    Are you able to login in the ventrilo server when connected directly to the modem...?
    As you have upgraded the router's firmware,I would suggest you to reset the router for 35 seconds,power cycle the router and re-configure it from scratch...Now,try to open the required ports on the router and check.

  • Why do downloaded fonts not work in photoshop elements 10 but work fine in other applications?

    Having trouble with downloaded fonts in adobe photoshop elements 10.  Can anyone suggest how to fix this problem?  The font does not show detail (all filled in black) in elements but is perfectly fine in other applications on my mac. 

    PSE simply uses the system fonts. Have you installed the font in the default location?
    Are you using a small font size on a large resolution image?

  • My brand new mac pro always had Internet connection issues at school. WHY is that? I see the school's Internet working perfectly fine on other PC's, but there is never a day where my mac doesn't have Internet connection issues at school. How do I fix it?

    I got my mac pro in the middle of August. School started the week after. Internet was working perfectly fine at home. But at school, I never had a good connection. Sometimes on the good days I get a connection when I'm sitting at the exact spot in class I always sit at. It's ridiculous and it's frustrating. I invested my money into this laptop and I'm beginning to regret it. I thought it was the school's Internet, but I don't see Internet issues with other PC users. It's most frustrating on registration days and I'm trying to register for my classes before it gets taken, but again... Internet connection issues. It's random. Majority of the time, it doesn't work at all. I've done Network Diagnosis and turning WiFi off then turning it on again. I've done everything I could. I put my money on this laptop and it was a lot of money. I could have bought an 800 dollars laptop and I would have Internet connection anywhere on campus. So, I don't want to continue everyday to regret on buying this laptop every time I try to connect to the Internet at school or Starbucks or anywhere else. How do I fix this? What's the problem ?
    At school, I heard this guy had a problem with Internet connections too and he owned a new mac book pro. He said something like Apple messed up on something, but he fixed it. If I knew mac book pro's had these issues I wouldn't have bought it in the first place. It's freezing on me every other day. It's ridiculous. But what concerns me the most is the Internet connection. So someone please tell me what can I do next to prevent the problem? Am I doing something wrong maybe?

    Hi Kevin,
    I'm using an XLR input mic which is connected to the phantom power enabled XLR mic socket on a USB M-Audio M-Track. The M-Track is connected by USB to the Mac Pro - so effectively I've got an M-Audio USB soundcard with a mic input.  I've also tried a microphone that is a straight XLR to USB cable (guessing with some soundcard chip buried in the usb plug) but that also yields the same effect of bad latency, intermittent quality, stuttering and repeating and echoing (without the speakers on during record so its not feedback).
    The mic works absolutely fine with other recording applications I have on the mac at the moment - albeit non-adobe ones (tested it on the EasyAudioRecorder - and it lives up to its name. it's easy)
    I will try with Audition and report back, but sitting here right now I can imagine it would work fine with audition too - it just seems to be the way premiere is set up for recording into the timeline is a bit sketchy.  I'm willing to accept it might well be a quirk with the new Mac Pro trashcan - I'm not weighting all the woes on premiere.
    Any thoughts or am I out of luck to sit with my fingers crossed for a fix in the next round of updates?
    Nathan.

  • Links within a pdf won't open in Safari, but work fine on Explorer, Firefox

    I created a pdf with embedded links and posted it to my site. The links within the pdf work just fine with Internet Explorer and Mozilla Firefox, but they will not open with Safari, neither on a Mac nor on a Windows platform.
    Why is this happening and how can I fix it?

    Hi and Welcome to Apple Discussions...
    Try this. In the Safari window, click the Preferences icon right side of page.
    Then select the General tab.
    At the bottom of that window, below, "Open links from applications", choose the option you want.
    Carolyn

  • Can't connect to websites with any browser. Bookmarks do not work but bookmarks  through bookmarks edit works just fine.

    Can't connect to websites with any browser. Bookmarks do not work but bookmarks  through bookmarks edit works just fine.

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Please take this step regardless of the results of Step 1.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

  • My wireless earbuds work just fine, but some third-party apps play audio only through the iPod speaker even though the buds are properly connected.

    My wireless earbuds work just fine, but some third-party apps play audio only through the iPod and iPhone speaker even though the buds are properly connected. Does anyone know why and is there a solution?

    Assuming you are using Bluetooth headphones, do the apps have the option to use Bluetooth?
    The app should have an option to select the speaker (or wired earphones) or the Bluetooth headphones.
    You can also try:
    iOS: Troubleshooting applications purchased from the App Store
    Contact the developer/go to their support site if only one app.
    Restore from backup. See:
    iOS: How to back up              
    Restore to factory settings/new iPod

Maybe you are looking for