TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Apple keeps rejecting my binary

38 pointsby strzalekover 10 years ago

7 comments

chtonover 10 years ago
I&#x27;m not an iOS developer, so take what I say with a grain of salt:<p>- The first call mentioned seems to request a URL for iCloud. According to official guidance (<a href="https://developer.apple.com/library/mac/documentation/General/Conceptual/iCloudDesignGuide/Chapters/iCloudFundametals.html" rel="nofollow">https:&#x2F;&#x2F;developer.apple.com&#x2F;library&#x2F;mac&#x2F;documentation&#x2F;Genera...</a>), you shouldn&#x27;t call it from a main thread. Is it possible that the poster is doing that? The trace he gave indicates it went wrong during a wait, so that would be the first avenue for searching.<p>TestFlight may be testing an edge case, but experience learns that if their configuration allows them to do something that crashes your app, you&#x27;ll have problems like that in the wild too.<p>- In the second problem, the submission to the appstore, the note from the reviewer clearly indicated that it did launch, but it did not run at the correct resolution. It&#x27;s supposed to maintain the resolution it would have on an iPhone, not scale up or down by itself. Forgive my bluntness, but this problem seems to be one of language barrier, not of Apple&#x27;s testing systems.<p>The post writer comparing his problems to Panic Inc.&#x27;s seems a bit much. Panic had a genuine problems with the rules, not a technical one. For them, the process didn&#x27;t go wrong, the rules it followed simply weren&#x27;t up to snuff.
Mithalduover 10 years ago
This seems to be a case of Apple doing the right thing in a weird way. The docs say not to call this function from the main thread, but from a background thread:<p><pre><code> https:&#x2F;&#x2F;developer.apple.com&#x2F;library&#x2F;mac&#x2F;documentation&#x2F;Cocoa&#x2F;Reference&#x2F;Foundation&#x2F;Classes&#x2F;NSFileManager_Class&#x2F;index.html#&#x2F;&#x2F;apple_ref&#x2F;occ&#x2F;instm&#x2F;NSFileManager&#x2F;URLForUbiquityContainerIdentifier: </code></pre> (Url quoted because the : is part of it and hn-auto-linking won&#x27;t include it.)<p>From that first screenshot however he is calling it from the main thread, and their test system likely is built to trap that with a crash.
评论 #8757932 未加载
评论 #8757955 未加载
mynegationover 10 years ago
Title is a bit confusing. At first, I thought that their app is rejected because Apple thinks that it is somehow tied to Panic Inc and this is bad. Apparently there was some previous misunderstanding between Apple and Panic and Apple rectified things and apologized. Author claims that unlike Panic Inc., they do not have influence and brand recognition for that to happen.
krzyzanowskimover 10 years ago
Hi, somebody put this link here. Thank you for you comments about main-thread issue, surely it may be the reason behind crash (I would expect warning or exception but hey, I&#x27;ve should read documentation more carefully).<p>This is a great community, I love you all ;)
kenrikmover 10 years ago
iOS Developer here. This is pretty standard, I&#x27;ve been rejected for having a UIWebView (not even a main feature) in an iPhone App that displayed content that did autoscale correctly on the iPhone but when the user agent changed to iPad (still an iPhone app) it would resize the page to the iPad dimensions. I don&#x27;t know how Apple can expect you to have control over content on the web but in some cases they do. So yeah expect to see &quot;Rejected&quot; a decent amount and this is indeed Par for the course. Best bet is to just fix it, suck it up and resubmit.
GFK_of_xmaspastover 10 years ago
&quot;And I’m pretty sure it’s something wrog with their testing environment, because this call shouldn’t crash and it’s not with properly configured system&quot;<p>I don&#x27;t do iOS, but I hate programmers like this.
MrDosuover 10 years ago
Works on my machine!