You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Summary
- Use `#if os(iOS) || os(tvOS)` instead of `canImport(UIKit)` for
UIWindowScene (not available on watchOS)
- Use `#if os(iOS)` for `presentCodeRedemptionSheet` (iOS-only API)
- Use `#if os(iOS) || os(tvOS) || os(visionOS)` for `UIApplication.open`
(not available on watchOS/macOS)
- Add `watchOS 9.0` to `@available` for `getAppTransactionIOS`
(AppTransaction requires watchOS 9.0+)
- Add `tvOS 16.0` to `@available` annotations for consistency
Fixes watchOS build errors that occurred after merging #80.
## Test plan
- [x] Validated with `pod lib lint openiap.podspec --allow-warnings`
- [ ] CI build passes for all platforms (iOS, macOS, tvOS, watchOS)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Added support for tvOS 16.0 and watchOS 9.0 platforms.
* **Improvements**
* Enhanced platform detection logic across Apple devices for better
compatibility.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
0 commit comments