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

XCode 15.3 unable to build on device #3549

Open
RushanB opened this issue Apr 30, 2024 · 6 comments
Open

XCode 15.3 unable to build on device #3549

RushanB opened this issue Apr 30, 2024 · 6 comments

Comments

@RushanB
Copy link

RushanB commented Apr 30, 2024

Summary

Able to build and run on simulator, but on device it keeps saying library not loaded

Library not loaded: @rpath/CaptureCore.framework/CaptureCore
 Referenced from: <86ED1679-C998-3378-B8CD-E6D368549409> /private/var/containers/Bundle/Application/7CBB2F91-307E-4CD8-A36A-899CAFF4DA13/ABCD.app/Frameworks/ABCD.framework/ABCD
 
 Reason: tried: '/Users/abcd/Library/Developer/Xcode/DerivedData/ABCD-glawfeexxlunkjdqtsoifnzacoot/Build/Products/Debug-iphoneos/PackageFrameworks/CaptureCore.framework/CaptureCore' (no such file), '/private/preboot/Cryptexes/OS/Users/abcd/Library/Developer/Xcode/DerivedData/ABCD-glawfeexxlunkjdqtsoifnzacoot/Build/Products/Debug-iphoneos/PackageFrameworks/CaptureCore.framework/CaptureCore' (no such file), '/private/var/containers/Bundle/Application/7CBB2F91-307E-4CD8-A36A-899CAFF4DA13/ABCD.app/Frameworks/CaptureCore.framework/CaptureCore' (no such file), '/private/var/containers/Bundle/Application/7CBB2F91-307E-4CD8-A36A-899CAFF4DA13/ABCD.app/Frameworks/ABCD.framework/Frameworks/CaptureCore.framework/CaptureCore' (no such file), '/Users/abcd/Library/Developer/Xcode/DerivedData/ABCD-glawfeexxlunkjdqtsoifnzacoot/Build/Products/Debug-iphoneos/PackageFrameworks/CaptureCore.framework/CaptureCore' (no such file),

Code to reproduce

Just trying to build on device

iOS version

17.4.1

Installation method

Swift package manager

SDK version

23.27.1

When I check the contents of PackageFramework folder, it is empty and the CaptureCore.framework is located in the folder level with all the other frameworks

@RushanB RushanB changed the title Unable to build on device XCode 15.3 unable to build on device Apr 30, 2024
@RushanB
Copy link
Author

RushanB commented Apr 30, 2024

Looks like when I downgrade to 23.26.0, I'm able to run on device

@davidme-stripe
Copy link
Contributor

Hello, thanks for filing this! Which framework are you trying to use? Is it StripeIdentity, or a payments-related framework?

@RushanB
Copy link
Author

RushanB commented May 1, 2024

StripeIdentity framework

davidme-stripe

@RushanB
Copy link
Author

RushanB commented May 1, 2024

@davidme-stripe Also got this email from Apple when submitting a build to the app store

image

@sgrant-stripe
Copy link
Contributor

Hi @RushanB, can you verify two things:

  1. You're app to build and run the ImageVerification Example app on device.
  2. Your app includes the listed missing framework in the "General" tab under "Frameworks, Libraries, and Embedded Content"?

Here's what it looks like for the sample app:

ImageVerification Example

@mohit-kapadia-at-lirisoft
Copy link

mohit-kapadia-at-lirisoft commented May 6, 2024

Even I see this issue, but a different framework. Any help?

Screenshot 2024-05-06 at 11 28 20 AM

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

4 participants