BEHealthKit 1.11
A HealthKit plugin for Unity
Loading...
Searching...
No Matches
Properties | Public Member Functions | Static Public Member Functions | List of all members
BeliefEngine.HealthKit.HealthKitBuildProcessor Class Reference

Build processor script. More...

Detailed Description

This build processor updates the Xcode project in order to build automatically. It adds the HealthKit capability and frameworks, and creates an entitlements file. It also scans through the scenes in the Unity project looking for a HealthKitDataTypes object, and extracts the usage / update strings from it, which are used to present an alert to the user when requesting permission.

Properties

int callbackOrder [get]
 required by the IProcessScene interface. Set high to let other postprocess scripts run first.
 

Public Member Functions

void OnProcessScene (Scene scene, BuildReport report)
 Searches for HealthKitDataTypes objects & reads the usage strings for the OnPostprocessBuild phase.
 

Static Public Member Functions

static void OnPostprocessBuild (BuildTarget buildTarget, string path)
 Updates the Xcode project.
 

Member Function Documentation

◆ OnPostprocessBuild()

static void BeliefEngine.HealthKit.HealthKitBuildProcessor.OnPostprocessBuild ( BuildTarget buildTarget,
string path )
inlinestatic
Parameters
buildTargetthe target build platform
paththe path of the target build

◆ OnProcessScene()

void BeliefEngine.HealthKit.HealthKitBuildProcessor.OnProcessScene ( Scene scene,
BuildReport report )
inline
Parameters
scenethe scene being processed.
reporta report containing information about the current build