Xcode 10 Warning: Skipping code signing because the target does not have an Info.plist file

Viewed 5979

Getting following warnings for build in Xcode 10 GM version

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

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

How to get rid of these warnings?

3 Answers

In Xcode 10 : Comment following lines from the 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

It will solve the issue. Above lines we are using in Podfile due to "IBDesignable not works with the frameworks which links with CocoaPods"

IBDesignable's issue is fixed in Xcode 10

DOCUMENTATION

I have removed this lines and warning is gone away.

Hope this will help you :)

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

you have to update to at least CocoaPods version 1.6.0.rc.1, when this problem occurred I used version 1.5.3.

here is what I did to remove this warning:

  1. Delete derived data
  2. In terminal, remove the current cocoapods using: sudo gem uninstall cocoapods
  3. install the latest cocoapod version: sudo gem install cocoapods -v 1.6.0.rc.1
  4. change directory to your project, then
  5. pod deintegrate
  6. pod install
  7. clean and rebuild the project in Xcode.

A general approach is to make a info.plist and add it to your project. Also remember to add it to the build settings of your target. This way the warning goes away.

Related