Я полностью озадачен, почему я получаю ошибку подписания кода ПОСЛЕ того, как мой бинарный файл загружен в Mac App Store. Я думал, что эта ошибка связана с Firebase и открыл проблему там . Однако было предложено вновь открыть его здесь, поскольку кажется, что CocoaPods неправильно обрабатывает gRPC-Core.podspec .
У меня есть следующие модули, прикрепленные к моему приложению macOS:
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.