fix: correct watch target name and Sentry script section ordering

This commit is contained in:
2026-08-18 11:32:37 +02:00
parent 122aa443aa
commit 7e3b95be8e
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -100,7 +100,7 @@
"appExtensions": [ "appExtensions": [
{ {
"bundleIdentifier": "nl.guido-it.swimbuddy.watch", "bundleIdentifier": "nl.guido-it.swimbuddy.watch",
"targetName": "SwimBuddyWatch", "targetName": "SwimBuddy Watch",
"entitlements": { "entitlements": {
"com.apple.security.application-groups": [ "com.apple.security.application-groups": [
"group.nl.guido-it.swimbuddy" "group.nl.guido-it.swimbuddy"
+2 -2
View File
@@ -88,7 +88,7 @@ const pkgRefLine = `\t\t${pkgRefId} /* XCRemoteSwiftPackageReference "sentry-coc
if (!content.includes("/* Begin XCRemoteSwiftPackageReference section */")) { if (!content.includes("/* Begin XCRemoteSwiftPackageReference section */")) {
content = content.replace( content = content.replace(
/\/\* End PBXProject section \*\//, /\/\* End PBXProject section \*\//,
`/* Begin XCRemoteSwiftPackageReference section */\n${pkgRefLine}\n/* End XCRemoteSwiftPackageReference section */\n/* End PBXProject section */` `/* End PBXProject section */\n/* Begin XCRemoteSwiftPackageReference section */\n${pkgRefLine}\n/* End XCRemoteSwiftPackageReference section */`
); );
} else { } else {
content = content.replace( content = content.replace(
@@ -103,7 +103,7 @@ const prodDepLine = `\t\t${prodDepId} /* ${SENTRY_PRODUCT} */ = {isa = XCSwiftPa
if (!content.includes("/* Begin XCSwiftPackageProductDependency section */")) { if (!content.includes("/* Begin XCSwiftPackageProductDependency section */")) {
content = content.replace( content = content.replace(
/\/\* End XCRemoteSwiftPackageReference section \*\//, /\/\* End XCRemoteSwiftPackageReference section \*\//,
`/* Begin XCSwiftPackageProductDependency section */\n${prodDepLine}\n/* End XCSwiftPackageProductDependency section */\n/* End XCRemoteSwiftPackageReference section */` `/* End XCRemoteSwiftPackageReference section */\n/* Begin XCSwiftPackageProductDependency section */\n${prodDepLine}\n/* End XCSwiftPackageProductDependency section */`
); );
} else { } else {
content = content.replace( content = content.replace(