Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App store rejection #226

Closed
dillonykyang opened this issue Feb 23, 2015 · 11 comments
Closed

App store rejection #226

dillonykyang opened this issue Feb 23, 2015 · 11 comments

Comments

@dillonykyang
Copy link

The use of _connect method in SRWebSocket.m is causing the app being rejected in the automated screening process during an app store submission.

Here's a reply from the Apple review team.

This issue can occur if an app calls names that are similar to or directly calls our non-public APIs. It would be appropriate to remove all references to the selectors listed in the error message you received before resubmitting this app for review. I have verified that _connect shares a name with a private API and that it falls into this category of selectors.

@acorscadden
Copy link

Hmm, I haven't noticed this, and I've been submitting apps with SocketRocket pretty recently. I'll keep an eye on this.

@frobichaud
Copy link

Same issue here. Please mark #228 as a duplicate.

@klivin
Copy link

klivin commented Feb 28, 2015

I am also getting this error while submitting app. I was previously using test flight, but that went away last week so as people transfer to iTunes connect deployment, I imagine this issue will become very present...
I changed _connect to tempConnect to temporarily pass the rejection.

@fatuhoku
Copy link

+1 app store rejection on TestFlight here.

@nzeltzer
Copy link

nzeltzer commented Apr 6, 2015

As a general rule, it's probably just best to avoid prefixing method names with underscores:

"Don’t use the underscore character as a prefix for your private methods. Apple reserves this convention." (Apple/Coding Guidelines/Naming Methods)

@naartjie
Copy link

@dillonykyang Does this affect any specific versions of SocketRocket? I just had an app accepted which is using SocketRocket version 0.2.0.

@naartjie
Copy link

I just had a look at the source for the old 0.2.0 version which I am using, and _connect wasn't there. Instead there used to be a _connectToHost which was removed and replaced with _connect in this commit.

@acorscadden please could you check which version SocketRocket you were using, thanks!

Apple are being petty here, but it's just a private method, and if a rename is all that is needed, then let's do that. It can just be called connect without the underscore surely?

naartjie added a commit to naartjie/SocketRocket that referenced this issue Apr 17, 2015
@naartjie
Copy link

I created a PR.

tkopczuk added a commit to SwingDev/SocketRocket that referenced this issue May 12, 2015
fix facebookincubator#226: rename _connect / _disconnect pair to connect / disconnect
@ghost
Copy link

ghost commented Jun 13, 2015

Hi! Everyone, we got successfully deploy a new app with socketRocket Blumr for android, ios and web.

@erickreutz
Copy link

Running into this issue trying to upload our build to iTunes Connect today. Apple complains we are using non-public APIs. _connect, _disconnect.

@dfed
Copy link
Contributor

dfed commented Jul 1, 2015

Fixing this with #252. Thanks for bringing this to our attention!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants