赞
踩
最新的苹果上架提示:
- Hello,
-
- We noticed one or more issues with a recent delivery for the following app:
-
- *********
- Version 1.7.4
- Build 1060239
- Although delivery was successful, you may want to correct the following issues in your next delivery. Once you've corrected the issues, upload a new binary to App Store Connect.
-
- ITMS-90725: SDK version issue - This app was built with the iOS 16.2 SDK. Starting April 29, 2024, all iOS and iPadOS apps must be built with the iOS 17 SDK or later, included in Xcode 15 or later, in order to be uploaded to App Store Connect or submitted for distribution.
-
- Apple Developer Relations
于是升级了到 xcode15,更新 pod 后,firebase 库提示出错:
A function declaration without a prototype is deprecated in all versions of C
一、方案一
在 pod 库脚本中添加如下代码:
-
- # Make it work with GoogleDataTransport
- if target.name.start_with? "GoogleDataTransport"
- target.build_configurations.each do |config|
- config.build_settings['CLANG_WARN_STRICT_PROTOTYPES'] = 'NO'
- end
- end
- end
重新运行 pod install
二、方案二:
在 pod 的设置中
Pods => Build settings => Strict Prototypes => set to NO
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。