itunes store operation failed the app references non-public selectors in payload : setResult; taskWithResult

Ashish Karpe

I am getting an error while uploading to app-store using Xcode :

itunes store operation failed the app references non-public selectors in payload: setResult; taskWithResult

With reference to iOS app - Non-Public API usage- app references non-public selectors: cancelButtonClicked, setResult:

I found : PatienPortal_ios_build_new jenkins$ grep -Rnis 'etResult:' *

Binary file build/Physician Portal.xcarchive/Products/Applications/Physician Portal.app/Physician Portal matches
Binary file node_modules/cordova-plugin-facebook/src/ios/Bolts.framework/Bolts matches
node_modules/cordova-plugin-facebook/src/ios/Bolts.framework/Headers/BFTaskCompletionSource.h:37:- (void)setResult:(id)result;
node_modules/cordova-plugin-facebook/src/ios/Bolts.framework/Headers/BFTaskCompletionSource.h:63:- (BOOL)trySetResult:(id)result;
Binary file node_modules/cordova-plugin-facebook/src/ios/FBSDKCoreKit.framework/FBSDKCoreKit matches
Binary file platforms/ios/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/Physician Portal/IntermediateBuildFilesPath/Physician Portal.build/Release-iphoneos/Physician Portal.build/Objects-normal/arm64/Physician Portal matches
Binary file platforms/ios/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/Physician Portal/IntermediateBuildFilesPath/Physician Portal.build/Release-iphoneos/Physician Portal.build/Objects-normal/armv7/Physician Portal matches
Binary file platforms/ios/Physician Portal/Plugins/cordova-plugin-facebook/FBSDKCoreKit.framework/FBSDKCoreKit matches
Binary file plugins/cordova-plugin-facebook/src/ios/Bolts.framework/Bolts matches
plugins/cordova-plugin-facebook/src/ios/Bolts.framework/Headers/BFTaskCompletionSource.h:37:- (void)setResult:(id)result;
plugins/cordova-plugin-facebook/src/ios/Bolts.framework/Headers/BFTaskCompletionSource.h:63:- (BOOL)trySetResult:(id)result;
Binary file plugins/cordova-plugin-facebook/src/ios/FBSDKCoreKit.framework/FBSDKCoreKit matches

This means that issue is due to Facebook Plugin!

Furthermore, I added my bundle id to .plist reference https://developers.facebook.com :

<key>CFBundleURLTypes</key>
<array>
  <dict>
  <key>CFBundleURLSchemes</key>
  <array>
    <string>fbxxxxxx</string>
  </array>
  </dict>
</array>
<key>FacebookAppID</key>
<string>xxxxx</string>
<key>FacebookDisplayName</key>
<string>PC360-PatientPortal</string>

Still, I am getting same error! So Please help me out, I am stuck badly, what to do next?

Note: I am using Xcode 9 and building Cordova project using Jenkins.

jcesarmobile

You have to contact Apple on resolution center and tell them that you are not using any private API, then explain that the calls to setResult and taskWithResult are calls to the Facebook Bolts SDK, not to private APIs.

You can try to send them the link of the bug report opened on Facebook SDK site.

That usually work, but if it doesn't work you will have to remove the plugin adding that SDK and try with another plugin that doesn't use Bolts.

Another issue where people complains about apps being rejected because of this

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

the app references non-public selectors in payload/appname.app/appname: _terminateWithStatus

The app references non-public selectors in Payload/ (App ID) : number, setNumber:

The app references non-public selectors with Facebook SDK

Iam getting iTunes store operation failed error when validating the app

xcode 6 app submission failed with itunes store operation issue

Non-public selectors in App?

Unable to upload app to iTunes Connect - iTunes Store operation failed. Authentication timeout

iTunes Store Operation failed: Error description not available

iTunes Store Operation Failed When Uploading App Inside Xcode Description Length Too Long

xcode 6 upload app with error: iTunes Store operation failed Error Description not available

iTunes Store operation failed. The following URL schemes found in your app are disallowed: [fb]

iTunes Store Operation Failed, Missing required icon file

iTunes Store Operation Failed. A downloaded software component is corrupted and will not be used

Xcode 7.1 "iTunes store operation failed you are not authorized to use this service"

iTunes store operation failed: You are not authoried to use this service

iTunes Store Operation Failed ERROR ITMS-90701: "Missing entitlement?

iTunes Store Operation Failed error: 122 (51) while uploading .ipa to iTunes Connect

Archive Submissions Failure - The app references non-public symbols (WatchKit)

The app references non-public selector in id (Facebook SDK iOS)

Non-public API usage: The app references non-public symbols: __XCTFailureFormat, __XCTFailureHandler

Error when building universal app for the store: "Manifest references file 'MyAppName.dll' which is not part of the payload."

iTunes Store Operation Failed ERROR ITMS-90159: "Invalid provisioning profile...."

trigger.io iOS in-app purchase issue: "In-app payment failed: Cannot connect to itunes store"

Large app size in itunes store

In App purchase failed with error Error Domain=SKErrorDomain Code=0 "Cannot connect to iTunes Store"

iTunes Store Operation Failed ERROR ITMS-90396: "Invalid Icon.with an alpha channel. Icons should not have an alpha channel."

App does not uploaded on iOS App connect store with reason non-public APIs

"Cannot connect to iTunes Store" in-app purchases

App Store File Size Warning in iTunes Connect