【问题标题】:Is it harmful to have warning: Skipping code signing because the target does not have an Info.plist file?警告是否有害:由于目标没有 Info.plist 文件而跳过代码签名?
【发布时间】:2019-06-22 03:04:26
【问题描述】:

安装 firebase 核心和 crashlytic 后,我的 Xcode 10 上出现此警告:

警告:跳过代码签名,因为目标没有 Info.plist 文件。 (在目标“FirebaseCore”中)

这是我使用的 pod:

# Uncomment the next line to define a global platform for your project
 platform :ios, '9.3'

target 'xxx' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  # Pods for xxx
    pod 'Firebase/Core'
    pod 'Fabric', '~> 1.9.0'
    pod 'Crashlytics', '~> 3.12.0'




end

我试图在这里找到解决方案:Xcode 10 Warning: Skipping code signing because the target does not have an Info.plist file 和这里https://github.com/firebase/firebase-ios-sdk/issues/1846

但忽略此警告似乎没有解决方案....

我已尝试删除这些 pod 并再次安装(pod install)、清理、构建、删除派生数据等,但警告仍然存在......

当我尝试在带有此警告的实际设备上运行应用程序时,出现错误:

证书已过期或已被吊销

尽管通过删除~/Library/MobileDevice/Provisioning\ Profiles/ 的所有配置文件很容易解决此错误,并且我可以在我的实际设备上运行该应用程序。

所以我的问题是......

我仍然可以毫无问题地将我的应用发布到应用商店吗?老实说,我是一个初学者,我仍然对与代码签名相关的问题感到困惑,这让我很担心,因为如果我想从Xcode 10。

【问题讨论】:

    标签: ios firebase cocoapods appstore-approval xcode10


    【解决方案1】:

    要修复警告,请至少更新到 CocoaPods 版本 1.6.0.rc.1

    警告无害,因为FirebaseCore 是一个在构建时链接的静态库。

    【讨论】:

      猜你喜欢
      • 2019-02-19
      • 2022-09-27
      • 2019-04-22
      • 2012-10-07
      • 1970-01-01
      • 2016-09-20
      • 1970-01-01
      • 2014-12-03
      • 2022-09-30
      相关资源
      最近更新 更多