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

Tests crash when including the Snapchat SDK #18

Open
IanHoar opened this issue Jun 12, 2024 · 0 comments
Open

Tests crash when including the Snapchat SDK #18

IanHoar opened this issue Jun 12, 2024 · 0 comments

Comments

@IanHoar
Copy link

IanHoar commented Jun 12, 2024

Hey there,

I'm working on a small feature to implement sharing to snapchat. When I include the SDK (2.5.0) I don't have warnings in the codebase and I can successfully use the SDK to post to Snapchat, however, when I run my tests locally and on CI they crash.

Here's an example of the failure:

Failed to load the test bundle. (Underlying Error: The bundle “FeatureAppTests” couldn’t be loaded. The bundle couldn’t be loaded. Try reinstalling the bundle. dlopen(/Users/ianhoar/Library/Developer/Xcode/DerivedData/foo-bifxvzpatbimcmbncssovfckjavg/Build/Products/Debug-Production-iphonesimulator/FeatureAppTests.xctest/FeatureAppTests, 0x0109): Library not loaded: @rpath/SCSDKCoreKit.framework/SCSDKCoreKit
  Referenced from: <F383647A-CB64-38EE-BB39-CEC11ECB9BA8> /Users/ianhoar/Library/Developer/Xcode/DerivedData/foo-bifxvzpatbimcmbncssovfckjavg/Build/Products/Debug-Production-iphonesimulator/FeatureAppTests.xctest/FeatureAppTests
  Reason: tried: '/Users/ianhoar/Library/Developer/Xcode/DerivedData/foo-bifxvzpatbimcmbncssovfckjavg/Build/Products/Debug-Production-iphonesimulator/SCSDKCoreKit.framework/SCSDKCoreKit' (code signature in <A6E227AD-AA6E-3071-B749-283177FE83B0> '/Users/ianhoar/Library/Developer/Xcode/DerivedData/foo-bifxvzpatbimcmbncssovfckjavg/Build/Products/Debug-Production-iphonesimulator/SCSDKCoreKit.framework/SCSDKCoreKit' not valid for use in process: Trying to load an unsigned library), '/Users/ianhoar/Library/Developer/Xcode/DerivedData/foo-bifxvzpatbimcmbncssovfckjavg/Build/Products/Debug-Production-iphonesimulator/PackageFrameworks/SCSDKCoreKit.framework/SCSDKCoreKit' (no such file), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/SCSDKCoreKit.framework/SCSDKCoreKit' (no such file), '/Users/ianhoar/Library/Developer/Xcode/DerivedData/foo-bifxvzpatbimcmbncssovfckjavg/Build/Products/Debug-Production-iphonesimulator/SCSDKCoreKit.framework/SCSDKCoreKit' (code signature in <A6E227AD-AA6E-3071-B749-283177FE83B0> '/Users/ianhoar/Library/Developer/Xcode/DerivedData/foo-bifxvzpatbimcmbncssovfckjavg/Build/Products/Debug-Production-iphonesimulator/SCSDKCoreKit.framework/SCSDKCoreKit' not valid for use in process: Trying to load an unsigned library), '/Users/ianhoar/Library/Developer/Xcode/DerivedData/foo-bifxvzpatbimcmbncssovfckjavg/Build/Products/Debug-Production-iphonesimulator/PackageFrameworks/SCSDKCoreKit.framework/SCSDKCoreKit' (no such file), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/SCSDKCoreKit.framework/SCSDKCoreKit' (no such file), '/Users/ianhoar/Library/Developer/Xcode/DerivedData/foo-bifxvzpatbimcmbncssovfckjavg/Build/Products/Debug-Production-iphonesimulator/FeatureAppTests.xctest/Frameworks/SCSDKCoreKit.framework/SCSDKCoreKit' (no such file), '/Users/ianhoar/Library/Developer/Xcode/DerivedData/foo-bifxvzpatbimcmbncssovfckjavg/Build/Products/Debug-Production-iphonesimulator/FeatureAppTests.xctest/../Frameworks/SCSDKCoreKit.framework/SCSDKCoreKit' (no such file), '/Users/ianhoar/Library/Developer/Xcode/DerivedData/foo-bifxvzpatbimcmbncssovfckjavg/Build/Products/Debug-Production-iphonesimulator/FeatureAppTests.xctest/Frameworks/SCSDKCoreKit.framework/SCSDKCoreKit' (no such file), '/Users/ianhoar/Library/Developer/Xcode/DerivedData/foo-bifxvzpatbimcmbncssovfckjavg/Build/Products/Debug-Production-iphonesimulator/FeatureAppTests.xctest/../Frameworks/SCSDKCoreKit.framework/SCSDKCoreKit' (no such file), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/SCSDKCoreKit.framework/SCSDKCoreKit' (no such file), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks/SCSDKCoreKit.framework/SCSDKCoreKit' (no such file), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib/SCSDKCoreKit.framework/SCSDKCoreKit' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/SCSDKCoreKit.framework/SCSDKCoreKit' (no such file))
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

No branches or pull requests

1 participant