non public selector in payload warning iOS [duplicate] - ios

I am uploading my iOS application on app store and it is having some warning when i upload the app. warning is the app references non-public selectors in payload/appname.app/appname: _terminateWithStatus I am using facebook sdk"facebook-ios-sdk-3.8" and parse sdk "parse-library-1.2.18". can anybody guide me what should i do to remove this warning?

You can't remove this warning. You may get this warning just for using a selector in your own code or third party code(may be because of facebook sdk) that has the same name as some selector that is marked as non-public. Happens to me all the time. Never got rejected for it. So you won't worry about this warning. See this Ref. , Ref2
And also see this stack question to avoid rejection, find and remove unwanted framework.

First time i got this error and then app was uploaded but with warnings but when i submitted the second version of the app at that time Apple didn't let me upload the app and was giving me error repeatedly "Your app contains non-public API usage. Please review the error, correct them and resubmit your app" after that i found my solution in this question Finding Private API Call _terminateWithStatus Answer was not very useful for me but solution in question was very useful for me. I just removed the GHUnitIOS.framework and it worked for me. May be this info can help someone else

Related

React native The app references non-public selectors in Payload

I have the following issue when I upload my React Native app to the app store
The app references non-public selectors in Payload/AppGeolocNative.app/AppGeolocNative: getAuthorizationStatus:, isPassthrough, newSocketQueueForConnectionFromAddress:onSocket:, onSuccess:, relativeSize, removeValuesForKeys:completion:, 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:, spanArray, spanArray_Count, strikeThrough, underline
I do not really understand what is the issue, everything is working ok, this is just a warning
I had the same problem and I got an email from Apple and it was telling me the reason for the error. The problem was some information I needed to add to the info.plist file. In my case it was the NSPhotoLibraryUsageDescription.
Check if you have any email from apple which telling you what is missing.

Cordova app iOS Warning: The app references non-public selectors in Payload/XXX.app/XXX: transform: (51)?

I've submitted an update of my app to ap store connect today and all of a sudden I'm getting this Warning:
The app references non-public selectors in Payload/XXX.app/XXX: transform: (51)?
The warning doesn't give any indication on whats causing this at all so I'm not sure what they are asking for or how to fix this!
any suggestion as to what this is?
I know this is just a warning at the moment and the app might pass the review but I need to know how to resolve this for future ref.

ITMS-90338: Non-public API usage

I am having trouble uploading my app to the App Store Connect. I have uploaded the same app several times before but today its showing this error:
The app references non-public selectors in Payload/Runner.app/Frameworks/webview_flutter_wkwebview.framework/webview_flutter_wkwebview: initWithFrame:configuration:, isMainFrame, setNavigationDelegate:, userContentController With error code STATE_ERROR.VALIDATION_ERROR.50 for id
I have not change anything that has to do with the webview_flutter dependency since the last upload.
Xcode Version 13.4.1
Message from Apple: "The issue has been resolved on the app validation backend. Please try resubmitting. Sorry for the trouble."

non-public selectors operationCompleted:

I am receiving following warning prior to submission to the AppStore
The app references non-public selectors in Payload/myapp.app/myapp operationCompleted:
I tried to search for the 'operationCompleted' method in my workspace but can't find anything.
It seems like I am not using the method anywhere.
How should I proceed?
You may get this warning just for using a selector in your own code or third party code that has the same name as some selector that is marked as non-public. Happens to me all the time. Never got rejected for it.
See this Ref. , Ref2

Xcode5 : The app references non-public selectors in Payload/<AppName>.app/<AppName>: setAttribution:

Today, I tried to submit an update to my app to the store using Xcode 5 and it gave the the warning The app references non-public selectors in Payload/<AppName>.app/<AppName>: setAttribution:. Before, it worked just fine, the last update was on August.
I'm using Facebook SDK 3.2 library. What could be the problem? Thanks!
Also discovered that if you replace fbProxy.userInfo.id in your code with [fbPoxy.userInfo objectForKey:#"id"] then the warnings will go away.
Naughty Facebook for using a keyword as a property name!
Try downloading the latest SDK version, Facebook says they have addressed this
https://developers.facebook.com/bugs/273730516072926
Apple will give warnings for any methods or variables if those are declared with same name in our application. But if those warnings are not critical then we don't have to worry about it. After all we can also provide a name which are meaningful to read :-)
We can check these kind of warnings threat with some utility apps like AppScanner. It will display warnings in red if we have to address it before submitting app otherwise we can neglect all other warnings.
To remove warning "the app references non-public selectors in payload: birthday",
While getting FBUser detail from (NSDictionary<FBGraphUser>*)user
instead of using
NSString *FBDoB = user.birthday;
Use this:
NSString *FBDoB = [user valueForKey:#"birthday"];
Its Done, You will get the message "Validation Successful"!!!!

Resources