Skip to content

[BUG] Missing resource bundles for StripeIdentity package dependency when building via xcode command line - Xcodebuild error 65 #3898

Open
@stephenpbrown

Description

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.

Activity

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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions