Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Unable to build with Xcode 14 beta #1991

Closed
jsahoo opened this issue Aug 4, 2022 · 5 comments
Closed

[BUG] Unable to build with Xcode 14 beta #1991

jsahoo opened this issue Aug 4, 2022 · 5 comments
Labels

Comments

@jsahoo
Copy link

jsahoo commented Aug 4, 2022

Summary

Our project fails to compile with Xcode 14 beta:
Screen Shot 2022-08-04 at 11 06 46 AM
Note that the project compiles successfully with Xcode 13

SDK version

  - Stripe (22.6.0):
    - Stripe/Stripe3DS2 (= 22.6.0)
    - StripeApplePay (= 22.6.0)
    - StripeCore (= 22.6.0)
    - StripeUICore (= 22.6.0)
  - Stripe/Stripe3DS2 (22.6.0):
    - StripeApplePay (= 22.6.0)
    - StripeCore (= 22.6.0)
    - StripeUICore (= 22.6.0)
  - StripeApplePay (22.6.0):
    - StripeCore (= 22.6.0)
  - StripeCore (22.6.0)
  - StripeUICore (22.6.0):
    - StripeCore (= 22.6.0)
@jsahoo jsahoo added the kind:bug label Aug 4, 2022
@wooj-stripe
Copy link
Collaborator

Hi @jsahoo

I don't think this error with regards to selecting a "development team" is specific to the Stripe SDK. I believe xcode is asking for you to select a development team in your project. I will be optimistically closing this ticket as I do not believe this is related to the Stripe SDK, but feel free to re-open if I've misunderstood the problem you're encountering.

@jsahoo
Copy link
Author

jsahoo commented Aug 4, 2022

Hi @wooj-stripe,

We've added the Stripe SDK to our project via CocoaPods, and as you can see from the screenshot above, the signing errors are showing up under the Pods project and are specifically related to only Stripe-related targets. We have a bunch of other pods added to our project and none of them throw this signing error (or any error). The signing for our actual project and each target within is configured properly. As I mentioned, we have no problem building on Xcode 13. So I don't believe it's a signing issue on our side.

The issue seems to be with these four blue targets within the Pods project:
image

Upon closer inspection, it seems that for some reason each of these targets has automatic code signing enabled:
image

I'm not very familiar with the inner workings of CocoaPods, but I don't believe these should be signed? Other targets for other pods (e.g. PromiseKit) are not signed:
image
image

In fact, even the plain "Stripe" target (highlighted) seems to correctly not be signed:
image
image

So it seems like for some reason those four blue targets are getting automatic code signing enabled. In Xcode 13, though the same error message does actually display under Signing & Capabilities, it doesn't actually cause compilation to fail.
image

@wooj-stripe
Copy link
Collaborator

Hey @jsahoo,

Sorry to hear you are still having issues with this, and thank you for the detailed screenshots. Based on on this, I suspect this has something to do with cocoapods and xcode 14 beta.

I believe this is related to this issue here:
CocoaPods/CocoaPods#11402

Feel free to re-open the issue if this does not address your issue.

@jsahoo
Copy link
Author

jsahoo commented Aug 5, 2022

Thanks @wooj-stripe, that turned out to be the issue and the solution within worked. Thanks for finding that and pointing me to it!

@azadbaljeet
Copy link

func _delegateToAppleDelegateMapping() -> [Selector: Selector] {}, getting issue , please see image
Screenshot 2023-06-02 at 5 36 36 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants