CocoaPods错误地处理了grpc pod

时间:2019-04-17 16:29:33

标签: macos cocoapods grpc

对于将二进制文件上传到Mac App Store之后为什么出现代码签名错误的原因,我完全感到困惑。我认为此错误与Firebase有关,因此引发了一个问题there。但是,建议在此处重新打开它,因为似乎CocoaPods处理gRPC-Core.podspec的过程不正确。

我在macOS应用中附加了以下Pod:

pod 'FirebaseCore'
    pod 'FirebaseAuth'
    pod 'FirebaseFirestore'
    pod 'FirebaseFunctions'

上传二进制文件后,我在电子邮件中收到以下错误:

Dear Developer,

We identified one or more issues with a recent delivery for your app, "Driving Theory Test 2019 (UK)". Please correct the following issues, then upload again.

Invalid Signature - The main app bundle Driving Theory Test 2019 (UK) at path Driving Theory Test 2019 (UK).app has following signing error(s): --prepared:/Volumes/data01/app_data/dstr/mz_2944365260435506569dir/mz_252358220600660519dir/MY_BUNDLE.pkg/Payload/Driving Theory Test 2019 (UK).app/Contents/Frameworks/GoogleUtilities.framework/Versions/Current/. --validated:/Volumes/data01/app_data/dstr/mz_2944365260435506569dir/mz_252358220600660519dir/MY_BUNDLE.pkg/Payload/Driving Theory Test 2019 (UK).app/Contents/Frameworks/GoogleUtilities.framework/Versions/Current/. --prepared:/Volumes/data01/app_data/dstr/mz_2944365260435506569dir/mz_252358220600660519dir/MY_BUNDLE.pkg/Payload/Driving Theory Test 2019 (UK).app/Contents/Frameworks/grpc.framework/Versions/Current/. --validated:/Volumes/data01/app_data/dstr/mz_2944365260435506569dir/mz_252358220600660519dir/MY_BUNDLE.pkg/Payload/Driving Theory Test 2019 (UK).app/Contents/Frameworks/grpc.framework/Versions/Current/. /Volumes/data01/app_data/dstr/mz_2944365260435506569dir/mz_252358220600660519dir/MY_BUNDLE.pkg/Payload/Driving Theory Test 2019 (UK).app: embedded framework contains modified or invalid version In subcomponent: /Volumes/data01/app_data/dstr/mz_2944365260435506569dir/mz_252358220600660519dir/MY_BUNDLE.pkg/Payload/Driving Theory Test 2019 (UK).app/Contents/Frameworks/grpc.framework . Refer to the Code Signing and Application Sandboxing Guide at http://developer.apple.com/library/mac/#documentation/Security/Conceptual/CodeSigningGuide/AboutCS/AboutCS.html and Technical Note 2206 at https://developer.apple.com/library/mac/technotes/tn2206/_index.html for more information.

Invalid Signature - The nested app bundle grpc at path Driving Theory Test 2019 (UK).app/Contents/Frameworks/grpc.framework has following signing error(s): bundle format unrecognized, invalid, or unsuitable . Refer to the Code Signing and Application Sandboxing Guide at http://developer.apple.com/library/mac/#documentation/Security/Conceptual/CodeSigningGuide/AboutCS/AboutCS.html and Technical Note 2206 at https://developer.apple.com/library/mac/technotes/tn2206/_index.html for more information.

Invalid Signature - The nested app bundle grpcpp at path Driving Theory Test 2019 (UK).app/Contents/Frameworks/grpcpp.framework has following signing error(s): bundle format unrecognized, invalid, or unsuitable . Refer to the Code Signing and Application Sandboxing Guide at http://developer.apple.com/library/mac/#documentation/Security/Conceptual/CodeSigningGuide/AboutCS/AboutCS.html and Technical Note 2206 at https://developer.apple.com/library/mac/technotes/tn2206/_index.html for more information.

Invalid Signature - The nested app bundle openssl_grpc at path Driving Theory Test 2019 (UK).app/Contents/Frameworks/openssl_grpc.framework has following signing error(s): bundle format unrecognized, invalid, or unsuitable . Refer to the Code Signing and Application Sandboxing Guide at http://developer.apple.com/library/mac/#documentation/Security/Conceptual/CodeSigningGuide/AboutCS/AboutCS.html and Technical Note 2206 at https://developer.apple.com/library/mac/technotes/tn2206/_index.html for more information.

Unable to Sign - This package doesn't meet the current code signing requirements. For more information, see the Code Signing and Application Sandboxing Guide and Technical Note 2206.

Specifically, codesign generated the following error:

        MY_BUNDLE.pkg/Payload/Driving Theory Test 2019 (UK).app/Contents/Frameworks/grpc.framework/Versions/src: bundle format unrecognized, invalid, or unsuitable
        MY_BUNDLE.pkg/Payload/Driving Theory Test 2019 (UK).app/Contents/Frameworks/grpcpp.framework/Versions/src: bundle format unrecognized, invalid, or unsuitable
        MY_BUNDLE.pkg/Payload/Driving Theory Test 2019 (UK).app/Contents/Frameworks/openssl_grpc.framework/Versions/crypto: bundle format unrecognized, invalid, or unsuitable
        MY_BUNDLE.pkg/Payload/Driving Theory Test 2019 (UK).app/Contents/Frameworks/openssl_grpc.framework/Versions/ssl: bundle format unrecognized, invalid, or unsuitable
        MY_BUNDLE.pkg/Payload/Driving Theory Test 2019 (UK).app/Contents/Frameworks/openssl_grpc.framework/Versions/third_party: bundle format unrecognized, invalid, or unsuitable
Malformed Framework - The framework bundle grpc (Driving Theory Test 2019 (UK).app/Contents/Frameworks/grpc.framework) Info.plist for Versions/src is either missing or malformed. Please provide a valid Info.plist. Refer to the Anatomy of Framework Bundles for more information.

Malformed Framework - The framework bundle grpcpp (Driving Theory Test 2019 (UK).app/Contents/Frameworks/grpcpp.framework) Info.plist for Versions/src is either missing or malformed. Please provide a valid Info.plist. Refer to the Anatomy of Framework Bundles for more information.

Malformed Framework - The framework bundle openssl_grpc (Driving Theory Test 2019 (UK).app/Contents/Frameworks/openssl_grpc.framework) Info.plist for Versions/crypto is either missing or malformed. Please provide a valid Info.plist. Refer to the Anatomy of Framework Bundles for more information.

Malformed Framework - The framework bundle openssl_grpc (Driving Theory Test 2019 (UK).app/Contents/Frameworks/openssl_grpc.framework) Info.plist for Versions/ssl is either missing or malformed. Please provide a valid Info.plist. Refer to the Anatomy of Framework Bundles for more information.

Malformed Framework - The framework bundle openssl_grpc (Driving Theory Test 2019 (UK).app/Contents/Frameworks/openssl_grpc.framework) Info.plist for Versions/third_party is either missing or malformed. Please provide a valid Info.plist. Refer to the Anatomy of Framework Bundles for more information.

Best regards,

The App Store Team

如果在这里发布我的问题,我并不感到惊讶,但我希望有人能够为我提供帮助或将我重定向到正确的地方。

CocoaPods 1.5.x,1.6.x和1.7.x beta版发生错误。

0 个答案:

没有答案