5

Before upgrading Xcode to 14.0 version, I didn't have any problems with re-running application on real device - I selected the development team only once, and then made the build/run continuously

Now, after upgrading to Xcode 14.0, each time after cleaning the build, I have to set the development team again and again on each subsequent build/run

enter image description here

asked Sep 26, 2022 at 13:34
5
  • I updated my react-native version from 0.69.5 to 0.70.1 at nearly the same time I upgraded my xcode, so I thought this issue was due to react-native or some dependency upgrade. It could also be due to xcode. It does not seem a major issue but definitely is an annoying inconvenience. Commented Sep 26, 2022 at 15:30
  • Totally agree, it doesn't affect business logic, or programming solutions - it's just uncomfortable. Hope they fix it in next release Commented Sep 26, 2022 at 19:26
  • No, still running through all Pods requiring Development Team Commented Dec 8, 2022 at 8:42
  • @spatak did you find any solution for this issue. Its so annoying. Commented Sep 29, 2023 at 14:25
  • 1
    @F.Fabian not yet mate, not yet :( Commented Sep 29, 2023 at 18:49

1 Answer 1

0

I found following solution on github: Github Issue Comment

Add following code snippet to your post install function in the Podfile. It fixed the issue for me in Production (fastlane) and Debug.

post_install do |installer|
 ...
 # https://github.com/CocoaPods/CocoaPods/issues/11402#issuecomment-1201464693
 installer.pods_project.targets.each do |target|
 if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
 target.build_configurations.each do |config|
 config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
 end
 end
 end
end
answered Oct 1, 2023 at 12:02
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.