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

Fix Demo app crash (PayPalMessages dependency) #1329

Closed
wants to merge 1 commit into from
Closed

Conversation

scannillo
Copy link
Contributor

@scannillo scannillo commented Jun 3, 2024

JIRA: DTMOBILES-702

Summary

The demo app currently crashes when running on device. It crashes with the following:

dyld[2527]: Library not loaded: @rpath/PayPalMessages.framework/PayPalMessages
  Referenced from: <13BF88A7-5934-34EF-B939-0432239ADD13> /private/var/containers/Bundle/Application/64E0AE18-8E3E-4B36-99E5-04C5A34A0029/Demo.app/Frameworks/BraintreePayPalMessaging.framework/BraintreePayPalMessaging
  Reason: tried: '/usr/lib/swift/PayPalMessages.framework/PayPalMessages' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/PayPalMessages.framework/PayPalMessages' (errno=2), '/private/var/containers/Bundle/Application/64E0AE18-8E3E-4B36-99E5-04C5A34A0029/Demo.app/Frameworks/PayPalMessages.framework/PayPalMessages' (errno=2), '/private/var/containers/Bundle/Application/64E0AE18-8E3E-4B36-99E5-04C5A34A0029/Demo.app/Frameworks/BraintreePayPalMessaging.framework/Frameworks/PayPalMessages.framework/PayPalMessages' (errno=2), '/usr/lib/swift/PayPalMessages.framework/PayPalMessages' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/PayPalMessages.framework/PayPalMessages' (errno=2), '/private/var/containers/Bundle/Application/64E0AE18-8E3E-4B36-99E5-04C5A34A0029/Demo.app/Frameworks/PayPalMessages.framework/PayPalMessages' (errno=2), '/private/var/containers/Bundle/Application/64E0AE18-8E3E-4B36-99E5-04C5A34A0029/Demo.app/Frameworks/PayPalMessages.framework/PayPalMessages' (errno=2), '/usr/lib/swift/PayPalMessages.framework/PayPalMessages' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/PayPalMessages.framework/PayPalMessages' (errno=2), '/private/var/containers/Bundle/Application/64E0AE18-8E3E-4B36-99E5-04C5A34A0029/Demo.app/Frameworks/PayPalMessages.framework/PayPalMessages' (errno=2), '/private/var/containers/Bundle/Application/64E0AE18-8E3E-4B36-99E5-04C5A34A0029/Demo.app/Frameworks/PayPalMessages.framework/PayPalMessages' (errno=2), '/private/preboot/Cryptexes/OS@rpath/PayPalMessages.framework/PayPalMessages' (errno=2), '/usr/lib/swift/PayPalMessages.framework/PayPalMessages' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/PayPalMessages.framework/PayPalMessages' (errno=2), '/private/var/containers/Bundle/Application/64E0AE18-8E3E-4B36-99E5-04C5A34A0029/Demo.app/Frameworks/PayPalMessages.framework/PayPalMessages' (errno=2), '/private/var/containers/Bundle/Application/64E0AE18-8E3E-4B36-99E5-04C5A34A0029/Demo.app/Frameworks/BraintreePayPalMessaging.framework/Frameworks/PayPalMessages.framework/PayPalMessages' (errno=2), '/usr/lib/swift/PayPalMessages.framework/PayPalMessages' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/PayPalMessages.framework/PayPalMessages' (errno=2), '/private/var/containers/Bundle/Application/64E0AE18-8E3E-4B36-99E5-04C5A34A0029/Demo.app/Frameworks/PayPalMessages.framework/PayPalMessages' (errno=2), '/private/var/containers/Bundle/Application/64E0AE18-8E3E-4B36-99E5-04C5A34A0029/Demo.app/Frameworks/PayPalMessages.framework/PayPalMessages' (errno=2), '/usr/lib/swift/PayPalMessages.framework/PayPalMessages' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/PayPalMessages.framework/PayPalMessages' (errno=2), '/private/var/containers/Bundle/Application/64E0AE18-8E3E-4B36-99E5-04C5A34A0029/Demo.app/Frameworks/PayPalMessages.framework/PayPalMessages' (errno=2), '/private/var/containers/Bundle/Application/64E0AE18-8E3E-4B36-99E5-04C5A34A0029/Demo.app/Frameworks/PayPalMessages.framework/PayPalMessages' (errno=2)

Changes

  • Add PayPalMessages SPM package as direct dependency to Demo app

Checklist

  • Added a changelog entry

Authors

@scannillo

@scannillo scannillo requested a review from a team as a code owner June 3, 2024 19:11
@scannillo scannillo changed the title Fix Demo app crash (PayPalMessaging dependency) Fix Demo app crash (PayPalMessages dependency) Jun 3, 2024
@KunJeongPark
Copy link
Contributor

KunJeongPark commented Jun 4, 2024

I think this is same item that was attached as one of the AC to Rich's PR - #1327

@scannillo
Copy link
Contributor Author

Covered in #1327

@scannillo scannillo closed this Jun 4, 2024
@scannillo scannillo deleted the fix-demo-crash branch June 4, 2024 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants