iTunes存储操作失败,该应用在有效载荷中引用了非公共选择器:setResult; taskWithResult [英] itunes store operation failed the app references non-public selectors in payload : setResult; taskWithResult

查看:127
本文介绍了iTunes存储操作失败,该应用在有效载荷中引用了非公共选择器:setResult; taskWithResult的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Xcode上传到应用商店时出现错误:

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

参考 iOS应用-非公共API的用法-应用引用了非公共选择器:cancelButtonClicked,setResult:

我发现: PatienPortal_ios_build_new jenkins $ grep -Rnis'etResult:'*

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

这意味着该问题归因于Facebook插件!

This means that issue is due to Facebook Plugin!

此外,我将我的捆绑包ID添加到.plist参考 https://developers.facebook.com :

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?

注意:我正在使用Xcode 9,并使用Jenkins构建Cordova项目.

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

推荐答案

您必须与解决中心的Apple联系,并告诉他们您没有使用任何私有API,然后解释对setResult和taskWithResult的调用是对的调用. Facebook Bolts SDK,而不是私有API.

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.

您可以尝试向他们发送在Facebook SDK上打开的错误报告的链接地点.

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

通常可以,但是如果不起作用,则必须删除添加该SDK的插件,然后尝试使用另一个不使用Bolts的插件.

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

这篇关于iTunes存储操作失败,该应用在有效载荷中引用了非公共选择器:setResult; taskWithResult的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆