Compile error packaging for tvOS:
Does not affect iOS
UATHelper: Packaging (tvOS): UnrealBuildTool: D:\Build\joseph.wysosky_Main\Engine\Source\Runtime\Core\Private\iOS\IOSAppDelegate.cpp(388,12): error: 'setBatteryMonitoringEnabled:' is unavailable: not available on tvOS UATHelper: Packaging (tvOS): UnrealBuildTool: UATHelper: Packaging (tvOS): UnrealBuildTool: [myDevice setBatteryMonitoringEnabled : YES]; UATHelper: Packaging (tvOS): UnrealBuildTool: UATHelper: Packaging (tvOS): UnrealBuildTool: ^ UATHelper: Packaging (tvOS): UnrealBuildTool: UATHelper: Packaging (tvOS): UnrealBuildTool: /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:67:61: note: property 'batteryMonitoringEnabled' is declared unavailable here UATHelper: Packaging (tvOS): UnrealBuildTool: UATHelper: Packaging (tvOS): UnrealBuildTool: @property(nonatomic,getter=isBatteryMonitoringEnabled) BOOL batteryMonitoringEnabled NS_AVAILABLE_IOS(3_0) __TVOS_PROHIBITED; // default is NO UATHelper: Packaging (tvOS): UnrealBuildTool: UATHelper: Packaging (tvOS): UnrealBuildTool: ^ UATHelper: Packaging (tvOS): UnrealBuildTool: UATHelper: Packaging (tvOS): UnrealBuildTool: /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:67:61: note: 'setBatteryMonitoringEnabled:' has been explicitly marked unavailable here UATHelper: Packaging (tvOS): UnrealBuildTool: UATHelper: Packaging (tvOS): UnrealBuildTool: In file included from /Users/compile/UE4/Builds/RDU-WD-7313/D/Build/joseph.wysosky_Main/Samples/Games/PlatformerGame/Intermediate/Build/TVOS/PlatformerGame/Development/Core/Module.Core.3_of_8.cpp:27: UATHelper: Packaging (tvOS): UnrealBuildTool: UATHelper: Packaging (tvOS): UnrealBuildTool: D:\Build\joseph.wysosky_Main\Engine\Source\Runtime\Core\Private\iOS\IOSAppDelegate.cpp(390,26): error: 'batteryLevel' is unavailable: not available on tvOS UATHelper: Packaging (tvOS): UnrealBuildTool: UATHelper: Packaging (tvOS): UnrealBuildTool: return ((int)([myDevice batteryLevel] * 100)); UATHelper: Packaging (tvOS): UnrealBuildTool: UATHelper: Packaging (tvOS): UnrealBuildTool: ^ UATHelper: Packaging (tvOS): UnrealBuildTool: UATHelper: Packaging (tvOS): UnrealBuildTool: /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:69:61: note: property 'batteryLevel' is declared unavailable here UATHelper: Packaging (tvOS): UnrealBuildTool: UATHelper: Packaging (tvOS): UnrealBuildTool: @property(nonatomic,readonly) float batteryLevel NS_AVAILABLE_IOS(3_0) __TVOS_PROHIBITED; // 0 .. 1.0. -1.0 if UIDeviceBatteryStateUnknown UATHelper: Packaging (tvOS): UnrealBuildTool: UATHelper: Packaging (tvOS): UnrealBuildTool: ^ UATHelper: Packaging (tvOS): UnrealBuildTool: UATHelper: Packaging (tvOS): UnrealBuildTool: /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:69:61: note: 'batteryLevel' has been explicitly marked unavailable here UATHelper: Packaging (tvOS): UnrealBuildTool: UATHelper: Packaging (tvOS): UnrealBuildTool: 2 errors generated.
Result: Compile failure
I am not able to find world outliner how to enable it?
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
How can i modify the param name in EQS node
Delay nodes occasionally don't fire the "Completed" output in a nativized build
How does TextureRenderTarget2D get TArray<uint8> type data?
How to achieve HLSL Multiple Render Target in Material blueprints?
When I open UE4 4.24.3 it appears that. Does anyone know how to solve?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-39569 in the post.
0 |
Component | UE - Platform - Mobile |
---|---|
Affects Versions | 4.15 |
Target Fix | 4.15 |
Created | Dec 9, 2016 |
---|---|
Resolved | Dec 13, 2016 |
Updated | Sep 16, 2019 |