Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 14 - Cannot code sign because the target does not have an Info.plist file

I am using cocoapods in my project and it was working fine but after upgrade to Xcode 14 it is giving different kind or errors.

Firstly it was asking for bit code and later asked for the development team which I resolved using following script in podfile

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      #config.build_settings['BITCODE_GENERATION_MODE'] = 'bitcode'
      config.build_settings['ENABLE_BITCODE'] = 'YES'
      config.build_settings["DEVELOPMENT_TEAM"] = " Your Team ID "
    end
  end
end

After resolving those error another one has started to appear i.e.

error build: Cannot code sign because the target does not have an Info.plist file and one is not being generated automatically. Apply an Info.plist file to the target using the INFOPLIST_FILE build setting or generate one automatically by setting the GENERATE_INFOPLIST_FILE build setting to YES (recommended).

my pods are updated and cocoa pod version is 1.11.3. How can i resolve this error?

EDIT:

Some details are mentioned here but none is working for me.

like image 563
Hassy Avatar asked Dec 01 '25 10:12

Hassy


1 Answers

I Solved it making this change:

Pods -> Build Settings -> Packaging -> Generate Info.plist File = Yes

like image 107
lucas emanuel himelfarb Avatar answered Dec 06 '25 10:12

lucas emanuel himelfarb



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!