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.
Pods
directory .gitignored), but mine will! https://mcmap.net/q/649853/-xcode-14-cannot-code-sign-because-the-target-does-not-have-an-info-plist-file – Snowflake