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] Missing resource bundles for StripeIdentity package dependency when building via xcode command line - Xcodebuild error 65 #3898

Open
stephenpbrown opened this issue Aug 7, 2024 · 0 comments

Comments

@stephenpbrown
Copy link

Summary

I'm currently implementing the identity verification SDK into our iOS app. I added the package dependency for the stripe-ios-spm URL, and then added StripeIdentity to target my project. The project compiles and builds locally to my device for testing, and everything works great.

The issue happens when I try to pass our validation pipeline, which builds the project using the xcode build CLI command.
It looks like the CLI is trying to copy Stripe bundles from my project, instead of the Stripe project:
image

This causes the build to fail with xcodebuild error 65, since it can't find the bundles for Stripe_StripeUICore.bundle and Stripe_StripeIdentity.bundle

Code to reproduce

Add the StripeIdentity package product to target a project via package dependencies, then build the project using the xcode build CLI.

iOS version

17.5.1

Installation method

Via package dependency

SDK version

23.29.0

Other information

  • I tried making linking optional in the build phases, but that didn't change anything
  • I tried linking the whole Stripe package, but that also failed

To circumvent this for now, I've manually linked the necessary xcframework libraries, which successfully passes the xcode build CLI. But it would be really nice to not have to add a bunch of files to my project repo if it can be helped.
Hopefully this can be resolved so I can switch back to using a package dependency.

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

No branches or pull requests

2 participants