代码之家  ›  专栏  ›  技术社区  ›  Sahil Kapoor

Xcode 10警告:跳过代码签名,因为目标没有Info.plist文件

  •  15
  • Sahil Kapoor  · 技术社区  · 6 年前

    正在获取以下内置警告 Xcode 10 GM版本

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

    如何摆脱这些警告?

    2 回复  |  直到 5 年前
        1
  •  3
  •   Ashish Kakkad Roman Scher    6 年前

    在xcode10中:注释Podfile中的以下行

    # Workaround for Cocoapods issue #7606
    #post_install do |installer|
    #    installer.pods_project.build_configurations.each do |config|
    #        config.build_settings.delete('CODE_SIGNING_ALLOWED')
    #        config.build_settings.delete('CODE_SIGNING_REQUIRED')
    #    end
    #end
    

    IBDesignable的问题在Xcode 10中修复

    DOCUMENTATION

    我已经删除了这条线,警告也消失了。

    希望这能帮到你:)

        2
  •  1
  •   Alexa289    6 年前

    据Paul Beusterien说: Is it harmful to have warning: Skipping code signing because the target does not have an Info.plist file?

    以下是我删除此警告所做的操作:

    1. 删除派生数据
    2. sudo gem uninstall cocoapods
    3. 安装最新cocoapod版本: sudo gem install cocoapods -v 1.6.0.rc.1
    4. pod deintegrate
    5. pod install
    6. 在Xcode中清理并重建项目。
        3
  •  0
  •   Sentry.co    4 年前

    一般的方法是创建info.plist并将其添加到项目中。还要记住将其添加到目标的生成设置中。这样警告就消失了。