Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 891
Sahil Kapoor Avatar asked Sep 14 '18 12:09

Sahil Kapoor


People also ask

How do I add info to target plist?

To discover it click on the name of your project in the Navigator, then click your Target and, at last, click on the Info tab and you will get the Custom iOS Target Properties menu… the good old Info. plist!


2 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 :)

like image 194
Ashish Kakkad Avatar answered Sep 24 '22 05:09

Ashish Kakkad


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.
like image 1
Alexa289 Avatar answered Sep 25 '22 05:09

Alexa289