-
Notifications
You must be signed in to change notification settings - Fork 31
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
Type 'UIApplication' does not conform to protocol 'TikTokURLOpener' (Xcode 16 beta 3) #40
Comments
I have the same issue |
Reproducible on Xcode 16 beta 4 as well. |
@AustinConlon Oh yeah it’s not going away. TikTok must fix their SDK. It’s not complicated but must be done. |
this PR should fix the issue #41 |
This issue is still actual for anyone who wants to run his project on Xcode 16 Beta. |
Stil an issue for me. |
Since the Xcode 16 RC is now out, it would be great to see this prioritized. |
Xcode 16 is now on the app store. Meaning the SDK officially doesn't work anymore ? |
When will this be fixed? |
Having the same issue |
Version 2.5 fixes the issue guys… |
It seems that version 2.5.0 has not been published or at least not available in CocoaPods. |
It is published and it works via SPM https://github.com/tiktok/tiktok-opensdk-ios/releases/tag/v2.5.0 |
SPM only suport swift,but not suport cocoapods,please publish whith cocoapods,thanks |
I ain’t the maintainer. My original issue was fixed; you should open a new one if you need it. |
你好,来信已收到,谢谢
|
The package does not compile on Xcode 16 beta 3 (and 4).
The
UIApplication
class is made to conform toTikTokURLOpener
in the package (which is an excessively bad practice, mainly due to the error we get now).It used to work because
UIApplication
implemented the functionopen(_ url: URL, options: [UIApplication.OpenExternalURLOptionsKey : Any], completionHandler completion: ((Bool) -> Void)?)
. Now the function’s signature has changed slightly; it isopen(_ url: URL, options: [UIApplication.OpenExternalURLOptionsKey : Any], completionHandler completion: (@Sendable @MainActor (Bool) -> Void)?)
so it does not work anymore.Please don’t make external types conform to internal protocols, it is never a good idea.
The text was updated successfully, but these errors were encountered: