Both projects won’t build with the Xcode 14 beta because of no selected Development Team. Both times it’s the target with the blue lego icon (Bundles I suppose?)
It seems that in earlier versions of Xcode the Team also wasn’t set but it hasn’t lead to a build error.
Would it be wrong to select my own development team here?
6
Answers
This
post_install
script in podfile fixed it. As it seems setting the own developer team is necessary. Replace Your Team ID with the TeamID of your project.I prefer the below code so you not need to sign every individual package and it is easy when you are using multiple signing teams.
My problem was flutter.h not found, google sign in (as above) and webview. This few lines worked if it helps :
In case there is someone needs to know the correct structure of the PodFile
If you’re experiencing errors with a particular framework, you can manually replace the problematic Pods. To do so, add the debug and release file "CODE_SIGNING_ALLOWED = NO" in the Support Files section located below.
This is sample
If you have different signing certificates for different schemes and don’t need the pods signed, you can leave the Team in Xcode to none with the Automatically manage signing checked by default.
Then add the following config.build_settings… lines to the post_install step in your Pod file, example: