警告是否有害:Skipping code signature because the target no Info.plist file? [英] Is it harmful to have warning: Skipping code signing because the target does not have an Info.plist file?

查看:20
本文介绍了警告是否有害:Skipping code signature because the target no Info.plist file?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I have this warning on my Xcode 10 after installing firebase core and crashlytic:

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

Warning : Skipping code signing because the target does not have an Info.plist file. (in target 'FirebaseCore')

这是我使用的吊舱:

# 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 警告:跳过代码签名,因为目标没有 Info.plist 文件 在这里 https://github.com/firebase/firebase-ios-sdk/issues/1846

I have tried to find the solution in here: Xcode 10 Warning: Skipping code signing because the target does not have an Info.plist file and in here https://github.com/firebase/firebase-ios-sdk/issues/1846

但似乎没有办法忽略这个警告....

but it seems no solution to omit this warning ....

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

I have tried to remove those pod and install it again (pod install), clean, build, remove derived data etc, but the warning is still there....

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

and when I try to run the app on my actual device with this warning, I have error:

证书已过期或已被吊销

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

Even though this error is easy to solve by Deleting all provisioning profiles at ~/Library/MobileDevice/Provisioning\ Profiles/ and I can run the app on my actual device.

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

so my question is ....

我还能将我的应用发布到应用商店吗?老实说,我是一个初学者,我仍然对代码签名相关感到困惑,这让我很担心,因为我必须一遍又一遍地手动删除所有配置文件 ~/Library/MobileDevice/Provisioning\ Profiles如果我想将应用程序从 Xcode 10 安装到我的真实设备.

can I still publish my app to the app store without any problem ? to be honest I am a beginner and I am still confused about code signing related, it makes me worried because I have to delete manually all provisioning profile ~/Library/MobileDevice/Provisioning\ Profiles over and over again if I want to install the app to my real device from the Xcode 10.

推荐答案

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

To fix the warning, update to at least CocoaPods version 1.6.0.rc.1

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

The warning is not harmful because FirebaseCore is a static library that gets linked at build time.

这篇关于警告是否有害:Skipping code signature because the target no Info.plist file?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆