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

Dependency CocoaAsyncSocket Causing ITMS-90338 Appstore Connect Rejections #1399

Closed
RayHughes opened this issue Jun 7, 2022 · 3 comments
Closed

Comments

@RayHughes
Copy link

RayHughes commented Jun 7, 2022

Description:

Dependency CocoaAsyncSocket is causing ITMS-90338 (private api) Appstore Connect rejections. This started occurring today after the iOS 16 keynote. No changes to my build were made and it seems be a wide spread issue affecting many developers & dependencies in cross platform frameworks such as react native.

Note: Some of these API errors are from other dependencies as well. The ones I am referring to are exclusive to CocoaAsyncSocket and socket:: methods.

TMS-90338: Non-public API usage - The app references non-public 
selectors: estimatedProgress, initWithFrame:configuration:, 
initWithURL:configuration:, 
initWithURL:entersReaderIfAvailable:, isMainFrame, 
isPassthrough, navigationType, 
newSocketQueueForConnectionFromAddress:onSocket:, onSuccess:, 
removeValuesForKeys:completion:, setNavigationDelegate:, 
setProcessPool:, socket:didAcceptNewSocket:, 


socket:didConnectToHost:port:, socket:didConnectToUrl:, 
socket:didReadData:withTag:, 
socket:didReadPartialDataOfLength:tag:, 
socket:didReceiveTrust:completionHandler:, 
socket:didWriteDataWithTag:, socket:didWritePartialDataOfLength:tag:, 
socket:shouldTimeoutReadWithTag:elapsed:bytesDone:, socket:shouldTimeoutWriteWithTag:elapsed:bytesDone:, 
socketDidCloseReadStream:, socketDidDisconnect:withError:, 
socketDidSecure:, targetFrame, userContentController,** 


websiteDataStore. If method names in your source code match the 
private Apple APIs listed above, altering your method names will 
help prevent this app from being flagged in future submissions. 
In addition, note that one or more of the above APIs may be 
located in a static library that was included with your app. If so, they must be removed. For further information, visit the 
Technical Support Information at 
http://developer.apple.com/support/technical/

Environment

All

Steps to Reproduce Issue:

  1. Archive for Release
  2. Upload via Xcode
  3. Upload Fails
@RayHughes
Copy link
Author

@jkasten2
Copy link
Member

jkasten2 commented Jun 7, 2022

@RayHughes Thanks for letting us know. Just to callout, OneSignal doesn't use CocoaAsyncSocket but seems like expo does.

@jkasten2 jkasten2 closed this as completed Jun 7, 2022
@richardReitz
Copy link

Same issue on App Store delivery.

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

No branches or pull requests

3 participants