cocoapods-pod-sign is a tool to help you set cocopads bundle identifier and team. In order to solve the compilation error of Xcode14.
$ gem install cocoapods-pod-sign
There are two ways to use it, one is to automatically obtain the bundle identifier and team, and the other is to set it manually.
Just write the following code into the Podfile, it will automatically read the bundle identifier and team from the main project.
plugin 'cocoapods-pod-sign'
You can also manually specify the bundle identifier and team under different configs. For example:
Debug bundle identifier: com.aaa.bbb team: ABCDEFG
Release bundle identifier: com.ccc.ddd team: HIJKLMN
Profile bundle identifier: com.xxx.eee team: ASDFGHJ
plugin 'cocoapods-pod-sign'
config_pod_bundle_id_and_team_id({
'Debug' => {:bundle_id => 'com.aaa.bbb', :team_id => 'ABCDEFG'},
'Release' => {:bundle_id => 'com.ccc.ddd', :team_id => 'HIJKLMN'},
'Profile' => {:bundle_id => 'com.xxx.eee', :team_id => 'ASDFGHJ'}
})