Closed xmollv closed 1 month ago
Hey @xmollv,
Thank you for flagging this. We'll look into it and get back to you soon.
Hello @leschlogl any update on this? We're seeing the same crash.
Hi @msrutek-paylocity and @xmollv,
We were able to reproduce and fix the issue. It should be included in the next release. It should be released this or in the next week.
Hello!
We just released v2.2.11 that addresses this issue.
Please, let us know if everything is okay so we can close this issue!
Thank you!
@leschlogl trying to update to the 2.2.11
version, we get these errors.
Cannot find type 'SwiftUICore' in scope Failed to build module 'GiphyUISDK'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)', while this compiler is 'Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)'). Please select a toolchain which matches the SDK. Command SwiftCompile failed with a nonzero exit code
Has the SDK been built with a newer Swift version? This feels like a breaking change 🤔
Hello!
We just released v2.2.11 that addresses this issue.
Please, let us know if everything is okay so we can close this issue!
Thank you!
We release weekly, so on next Monday it'll go live the version that contains the upgraded version of the Giphy SDK. If the crash still happens I'll let you know again! Thanks for the fix 🙏🏼
@leschlogl trying to update to the
2.2.11
version, we get these errors.Cannot find type 'SwiftUICore' in scope Failed to build module 'GiphyUISDK'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)', while this compiler is 'Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)'). Please select a toolchain which matches the SDK. Command SwiftCompile failed with a nonzero exit code
Has the SDK been built with a newer Swift version? This feels like a breaking change 🤔
I've upgraded to it and it seems to be compiling fine for me! I'm on Xcode 16 tho (still on Swift 5, not upgraded to 6 yet).
I'm on Xcode 16 tho (still on Swift 5, not upgraded to 6 yet).
We're still using Xcode 15.4
Hi @msrutek-paylocity
Thanks for letting us know and I apologise for that.
We released v2.2.12 that is Xcode 15 compatible.
Thank you!
@leschlogl thank you, 2.2.12
works ✅ ... I guess this issue can be closed then :)
🐛 Bug Report
We've been observing a crash, but we're not very clear on why it happens. The crash is the following:
I can't get you the symbolicated crash logs because we have the GiphySDK as a dependency to an internal SPM package, and apparently there's a limitation on SPM <> Xcode where the dSYMs are not generated if the SPM package is not explicitly defined as
.dynamic
, which we can't change at this very moment (I understand that this is far from ideal). See:To Reproduce
Unknown, but seems related to serializing the last used gifs to be displayed later on. It seems to happen right once the user selects a GIF and we receive the
GiphyDelegate
callbackGiphyDelegate.didSelectMedia(giphyViewController:media:)
.Expected behavior
SDK doesn't crash.
Actual Behavior
Sometimes the SDK does crash.
Your Environment
Reproducible Demo
N/A