Note that there are some explanatory texts on larger screens.

plurals
  1. POApp Store code runs different from Xcode/Device code on iPhone 3G
    primarykey
    data
    text
    <p>I'm not sure how to explain this one. I submitted an update of one of my apps to the store yesterday. The <strong>first screenshot</strong> is how one particular screen appears <em>running on my iPhone 3G, running iOS 4.2.1, downloaded from the App Store:</em></p> <p>And the <strong>second image</strong> below is the <em>exact same code</em>, no changes have been made since the original submission, running on the exact same device tethered through Xcode.</p> <p>The application <em>runs fine</em> on my iPhone 4, running iOS 5, downloaded from the App Store. So to recap:</p> <ol> <li>App obtained from App Store is <strong>flawed</strong> on iPhone 3G</li> <li>App obtained from App Store is <strong>good</strong> on iPhone 4</li> <li>App tethered through Xcode is <strong>good</strong> on iPhone 3G</li> </ol> <p>These are not the only graphical inconsistencies, but they're all related to custom UITableViewCell code, which doesn't do anything more than push labels a few pixels in each directory, and has been working fine since day one. I have filed a report with idp-dts, and am waiting to hear back from them, but as the waiting list is usually a week or more, I'd rather figure this out on my own.</p> <p>Any help/tips/guesses would be very appreciated!</p> <p><strong>iPhone 3G running App Store version of my application:</strong></p> <p><img src="https://i.stack.imgur.com/5ggma.png" alt="enter image description here"></p> <p><strong>iPhone 3G running Xcode tethered version of my application:</strong></p> <p><img src="https://i.stack.imgur.com/vxs1W.png" alt="enter image description here"></p> <p><strong>Edit:</strong> This sounds quite similar to this problem: <a href="https://stackoverflow.com/questions/5490432/building-with-llvm-and-any-optimization-causes-app-to-crash-on-startup/5490540#5490540">Building with LLVM and any optimization causes app to crash on startup</a> The customer who contacted me was using a 2nd generation iPod Touch, the only other hardware other than the iPhone 3G that uses armv6.</p> <p><strong>Edit 2:</strong> Here's the snippet of code that sets the bounds of the color bar on the left side. There doesn't seem to be anything fishy going on in the code:</p> <pre><code>- (void)layoutSubviews { CGRect colorViewFrame = self.bounds; colorViewFrame.size.width = 6; colorViewFrame.origin.y += 3; colorViewFrame.origin.x -= 1; colorViewFrame.size.height -= 8; colorView.frame = colorViewFrame; ... } </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload