-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Enum cases with associated values cannot be marked potentially unavailable #1186
Comments
I got the same. Any solutions ? |
Also having this issue now |
Hi, we have the same issue did you find a solution or a workaround to fix it ? |
Workaround: change iOS 10.3 to iOS 10. So iOS 10, * |
Change where ? ios development target ? in the Podfile ? |
No. Double click both of the errors in Xcode. It will take you to the right file and lines directly. |
it's not same it was iOS 11. i put iOS 10, i manage to build but how to make it persistent ? because everyone will encounter that issue ios 15 is out next week , and clicking and change it manually it's not really a good workaround. |
Good. Then I can not help you. 😄 |
@dcvz David can you reopen this? This is critical as iOS 15 is going to be released soon... We just got our app refused by Apple during review because of this. |
If you change it to iOS 10 as I said, the app should be approved. I have it approved in the App Store AND it works on iOS 15. It is just a .h file that you change and it will stay forever, unless you update React Native Track Player. |
It won't "stay forever" except if we include in our CI process to change it every time we build... It would be better to correct the source, no? |
I don’t know what you are doing, but I changed the file, archived the project, built it and sent it to the App Store. I don’t need to change it ‘every time’. I agree @dcvz could take a look and rather make a real, permanent fix that is compliant to iOS 15 development rules. But for now, I would just go this way, so the app will be approved and not crash in iOS 15 next week. ;-)) |
Hey folks thanks for pinging this and flagging it as an incorrectly closed issue! I know iOS 15 is coming really soon. I've reopened the issue and will do my best to take a look tomorrow with the latest Xcode. |
I just shipped a new version of RNTP v2.1.0 - could ya'll give this a try? This release drops support for iOS 11, which allows us to remove these tags. RN no longer supports iOS 10 anyway. |
@dcvz can we also have this in v1 ? We are still using v1 and got build errors using XCode 13. Thank you. |
having same issue on rntp 2.1.1, Xcode 13. is there any solution of this, folks? |
@DennisdeWitNL thank you 🙏 Switching to IOS 10 in P.S I also think that issue is only with Xcode 13^ |
All, this appears to be working in v2. v1 is no longer supported. I'm closing this issue, but if anyone is still having problems on the most recent v2 release let me know and I'll reopen it. |
Dear,
With the introduction with iOS 15 and Xcode 13, I have discovered a bug. I can no longer compile an app for iOS 15. The problem is in react-native-track-player/Vendor/SwiftAudio/Classes/NowPlayingInfoController/NowPlayingInfoProperty/NowPlayingInfoProperty
The problem is with the following code:
`public enum NowPlayingInfoProperty: NowPlayingInfoKeyValue {
Resulting in: Enum cases with associated values cannot be marked potentially unavailable (@available(iOS 10.3, *))
I use react-native-track-player 1.2.7. Any solutions?
The text was updated successfully, but these errors were encountered: