17 lines
481 B
JavaScript
17 lines
481 B
JavaScript
/** @type {import('@bacons/apple-targets/app.plugin').ConfigFunction} */
|
|
module.exports = (config) => ({
|
|
name: config.name,
|
|
type: "watch",
|
|
icon: "../../assets/icon.png",
|
|
deploymentTarget: "10.0",
|
|
frameworks: ["SwiftUI", "HealthKit"],
|
|
entitlements: {
|
|
"com.apple.security.application-groups":
|
|
config.ios?.entitlements?.[
|
|
"com.apple.security.application-groups"
|
|
] ?? [],
|
|
"com.apple.developer.healthkit": true,
|
|
"com.apple.developer.healthkit.access": [],
|
|
},
|
|
});
|