本文介绍了警告是否有害:因为目标没有Info.plist文件,所以跳过代码签名?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在安装Firebase Core和崩溃解析后,我在Xcode 10上收到此警告:

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

这是我使用的吊舱:

# 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

我试图在此处找到解决方案:,在此处 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安装),清理,构建,删除派生数据等,但是警告仍然存在....

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 ....

我仍然可以毫无问题地将我的应用发布到应用商店吗?老实说,我是一个初学者,我仍然对与代码签名相关的问题感到困惑,这让我感到担忧,因为如果要从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.

这篇关于警告是否有害:因为目标没有Info.plist文件,所以跳过代码签名?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-12 05:54