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
asked Sep 26, 2022 at 13:34
spatak
1,4895 gold badges19 silver badges32 bronze badges
-
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.sushrut619– sushrut6192022年09月26日 15:30:03 +00:00Commented 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 releasespatak– spatak2022年09月26日 19:26:41 +00:00Commented Sep 26, 2022 at 19:26
-
No, still running through all Pods requiring Development Teamspatak– spatak2022年12月08日 08:42:27 +00:00Commented Dec 8, 2022 at 8:42
-
@spatak did you find any solution for this issue. Its so annoying.F.Fabian– F.Fabian2023年09月29日 14:25:10 +00:00Commented Sep 29, 2023 at 14:25
-
1@F.Fabian not yet mate, not yet :(spatak– spatak2023年09月29日 18:49:51 +00:00Commented Sep 29, 2023 at 18:49
1 Answer 1
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
Sign up to request clarification or add additional context in comments.
Comments
default