Search Issue Tracker
Fixed in 5.3.1
Votes
0
Found in
5.3.0p1
Issue ID
754412
Regression
No
[tvOS] 'UIBackgroundFetchResult' enum not available when building with Xcode 7.2
To Reproduce:
1. Build attached project for tvOS.
2. Remove 'App Icons Source' and 'Launch Images Source' in Xcode build settings.
3. Build.
You'll get these error
/Users/paulius/Desktop/old 2/Test_Projects/z_archive/builds/tvOS_icon_test_5/Classes/UnityAppController.mm:165:137: 'UIBackgroundFetchResult' is unavailable: not available on tvOS
/Users/paulius/Desktop/old 2/Test_Projects/z_archive/builds/tvOS_icon_test_5/Classes/UnityAppController.mm:171:11: 'UIBackgroundFetchResultNoData' is unavailable: not available on tvOS
because 'UIBackgroundFetchResult' is no available pn tvOS (for some reason this builds with 7.1)
removing
__TVOS_PROHIBITED
from
typedef NS_ENUM(NSUInteger, UIBackgroundFetchResult) {
UIBackgroundFetchResultNewData,
UIBackgroundFetchResultNoData,
UIBackgroundFetchResultFailed
} NS_ENUM_AVAILABLE_IOS(7_0) __TVOS_PROHIBITED;
(UIApplication.h) seems to fix(?) it and the app can be deployed
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Swizzle Node Input/Output and Mask Update Incorrectly After Undo
- [URP] Crash on GameObject::QueryComponentByType when baking a Reflection Probe in an unsaved/untitled Scene
- No Icons are used for the Entry and Exit States in the Inspector when selected in an Animator Controller
- Crash on PlayerMain(int, char const**) when exiting Standalone Player with a Particle System in the Scene
- No Icon is used for the Runtime Animator Controller Type in a Search Window when assigning an Animator Controller in the Animator Component
Add comment