diff --git a/ProjectClock.xcodeproj/project.pbxproj b/ProjectClock.xcodeproj/project.pbxproj index bbab793..b87edbb 100644 --- a/ProjectClock.xcodeproj/project.pbxproj +++ b/ProjectClock.xcodeproj/project.pbxproj @@ -17,6 +17,7 @@ 4FF0684625A5F18700304E6B /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 4FF0684425A5F18700304E6B /* Main.storyboard */; }; 4FF0684825A5F18800304E6B /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 4FF0684725A5F18800304E6B /* Assets.xcassets */; }; 4FF0684B25A5F18800304E6B /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 4FF0684925A5F18800304E6B /* LaunchScreen.storyboard */; }; + 7C83963025AF34F10027A94C /* HealthKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7C83962F25AF34F10027A94C /* HealthKit.framework */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ @@ -32,6 +33,8 @@ 4FF0684725A5F18800304E6B /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 4FF0684A25A5F18800304E6B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 4FF0684C25A5F18800304E6B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 7C83962D25AF34F00027A94C /* ProjectClock.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = ProjectClock.entitlements; sourceTree = ""; }; + 7C83962F25AF34F10027A94C /* HealthKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = HealthKit.framework; path = System/Library/Frameworks/HealthKit.framework; sourceTree = SDKROOT; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -39,6 +42,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 7C83963025AF34F10027A94C /* HealthKit.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -50,6 +54,7 @@ children = ( 4FF0683D25A5F18700304E6B /* ProjectClock */, 4FF0683C25A5F18700304E6B /* Products */, + 7C83962E25AF34F10027A94C /* Frameworks */, ); sourceTree = ""; }; @@ -64,6 +69,7 @@ 4FF0683D25A5F18700304E6B /* ProjectClock */ = { isa = PBXGroup; children = ( + 7C83962D25AF34F00027A94C /* ProjectClock.entitlements */, 4FF0683E25A5F18700304E6B /* AppDelegate.swift */, 4FF0684025A5F18700304E6B /* SceneDelegate.swift */, 4FF0684225A5F18700304E6B /* ViewController.swift */, @@ -79,6 +85,14 @@ path = ProjectClock; sourceTree = ""; }; + 7C83962E25AF34F10027A94C /* Frameworks */ = { + isa = PBXGroup; + children = ( + 7C83962F25AF34F10027A94C /* HealthKit.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -302,6 +316,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = ProjectClock/ProjectClock.entitlements; CODE_SIGN_STYLE = Automatic; DEVELOPMENT_TEAM = JJNC9EQDFU; INFOPLIST_FILE = ProjectClock/Info.plist; @@ -321,6 +336,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = ProjectClock/ProjectClock.entitlements; CODE_SIGN_STYLE = Automatic; DEVELOPMENT_TEAM = JJNC9EQDFU; INFOPLIST_FILE = ProjectClock/Info.plist; diff --git a/ProjectClock/ProjectClock.entitlements b/ProjectClock/ProjectClock.entitlements new file mode 100644 index 0000000..2ab14a2 --- /dev/null +++ b/ProjectClock/ProjectClock.entitlements @@ -0,0 +1,10 @@ + + + + + com.apple.developer.healthkit + + com.apple.developer.healthkit.access + + +