Appstore审核重要通知,望周知!Invalid Binary,无效二进制!

959 阅读2分钟

通知

📢📢📢 在最近提交Appstore更新的小伙伴一定要特别注意了!

一定要注意引用到项目中的第三方库是否适配,隐私合规文件。

即:PrivacyInfo.xcprivacy

Appstore邮件内容如下:

Hello,

We noticed one or more issues with a recent submission for App Store review for the following app:

-   xxxxx - xxxxxxxxx
-   Version 1.0.x
-   Build xxx

Please correct the following issues and upload a new binary to App Store Connect.

**ITMS-91061: Missing privacy manifest** - Your app includesFrameworks/AFNetworking.framework/AFNetworking”, which includes AFNetworking, an SDK that was identified in the documentation as a commonly used third-party SDK. If a new app includes a commonly used third-party SDK, or an app update adds a new commonly used third-party SDK, the SDK must include a privacy manifest file. Please contact the provider of the SDK that includes this file to get an updated SDK version with a privacy manifest. For more details about this policy, including a list of SDKs that are required to include signatures and manifests, visit: <https://developer.apple.com/support/third-party-SDK-requirements.>

Apple Developer Relations

修改方式

方式一

及时将自己的项目第三库统一进行升级,避免遭遇此类问题。 同时,做好新版本SDK的语法兼容,避免项目报错无法正常运行。

方式二

在项目找到没有添加PrivacyInfo.xcprivacy的第三方库,对于已经不再维护的第三方库可采用此方式。 这里以Alamofire为例子,将PrivacyInfo.xcprivacy拷贝其他没此文件的第三方库中库即可。亲测有效!

WX20250214-192448.png

需要注意的第三方库清单

需要隐私清单和签名的sdk

以下是App Store应用中常用的sdk。当您在App Store Connect中提交包含这些SDK的新应用程序时,或者当您提交将列出的SDK之一添加为更新的一部分的应用程序更新时,您必须包含以下列出的任何SDK的隐私清单

在将列出的sdk用作二进制依赖项的情况下,还需要签名。

列出的SDK的任何版本,以及重新打包列表上的SDK的任何SDK,都包含在需求中。

  • Abseil
  • AFNetworking
  • Alamofire
  • AppAuth
  • BoringSSL / openssl_grpc
  • Capacitor
  • Charts
  • connectivity_plus
  • Cordova
  • device_info_plus
  • DKImagePickerController
  • DKPhotoGallery
  • FBAEMKit
  • FBLPromises
  • FBSDKCoreKit
  • FBSDKCoreKit_Basics
  • FBSDKLoginKit
  • FBSDKShareKit
  • file_picker
  • FirebaseABTesting
  • FirebaseAuth
  • FirebaseCore
  • FirebaseCoreDiagnostics
  • FirebaseCoreExtension
  • FirebaseCoreInternal
  • FirebaseCrashlytics
  • FirebaseDynamicLinks
  • FirebaseFirestore
  • FirebaseInstallations
  • FirebaseMessaging
  • FirebaseRemoteConfig
  • Flutter
  • flutter_inappwebview
  • flutter_local_notifications
  • fluttertoast
  • FMDB
  • geolocator_apple
  • GoogleDataTransport
  • GoogleSignIn
  • GoogleToolboxForMac
  • GoogleUtilities
  • grpcpp
  • GTMAppAuth
  • GTMSessionFetcher
  • hermes
  • image_picker_ios
  • IQKeyboardManager
  • IQKeyboardManagerSwift
  • Kingfisher
  • leveldb
  • Lottie
  • MBProgressHUD
  • nanopb
  • OneSignal
  • OneSignalCore
  • OneSignalExtension
  • OneSignalOutcomes
  • OpenSSL
  • OrderedSet
  • package_info
  • package_info_plus
  • path_provider
  • path_provider_ios
  • Promises
  • Protobuf
  • Reachability
  • RealmSwift
  • RxCocoa
  • RxRelay
  • RxSwift
  • SDWebImage
  • share_plus
  • shared_preferences_ios
  • SnapKit
  • sqflite
  • Starscream
  • SVProgressHUD
  • SwiftyGif
  • SwiftyJSON
  • Toast
  • UnityFramework
  • url_launcher
  • url_launcher_ios
  • video_player_avfoundation
  • wakelock
  • webview_flutter_wkwebview

原文链接: developer.apple.com/support/thi…

遵守规则,方得长治久安,最后祝大家大吉大利,今晚过审!