File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
SparkyFitnessMobile/ios/SparkyFitnessMobile.xcodeproj Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -120,12 +120,12 @@ jobs:
120120 done
121121
122122 echo "Applying Ad-Hoc signature to App binary with entitlements..."
123- # Sign the main binary EXPLICITLY
124- codesign -s - --entitlements SparkyFitnessMobile/SparkyFitnessMobile.entitlements --force "$APP_PATH/SparkyFitnessMobile"
123+ # Sign the main binary EXPLICITLY with DER entitlements
124+ codesign -s - --entitlements SparkyFitnessMobile/SparkyFitnessMobile.entitlements --force --generate-entitlement-der "$APP_PATH/SparkyFitnessMobile"
125125
126126 echo "Applying Ad-Hoc signature to App Bundle..."
127- # Sign the bundle wrapper
128- codesign -s - --entitlements SparkyFitnessMobile/SparkyFitnessMobile.entitlements -- force "$APP_PATH"
127+ # Sign the bundle wrapper (without entitlements, they are in the binary)
128+ codesign -s - --force "$APP_PATH"
129129
130130 # VERIFY the entitlements were applied
131131 echo "Verifying Entitlements on Binary:"
Original file line number Diff line number Diff line change 135135 TargetAttributes = {
136136 13B07F861A680F5B00A75B9A = {
137137 LastSwiftMigration = 1120;
138+ SystemCapabilities = {
139+ com.apple.HealthKit = {
140+ enabled = 1;
141+ };
142+ };
138143 };
139144 };
140145 };
You can’t perform that action at this time.
0 commit comments