fix: correct watch target name and Sentry script section ordering
This commit is contained in:
@@ -100,7 +100,7 @@
|
||||
"appExtensions": [
|
||||
{
|
||||
"bundleIdentifier": "nl.guido-it.swimbuddy.watch",
|
||||
"targetName": "SwimBuddyWatch",
|
||||
"targetName": "SwimBuddy Watch",
|
||||
"entitlements": {
|
||||
"com.apple.security.application-groups": [
|
||||
"group.nl.guido-it.swimbuddy"
|
||||
|
||||
@@ -88,7 +88,7 @@ const pkgRefLine = `\t\t${pkgRefId} /* XCRemoteSwiftPackageReference "sentry-coc
|
||||
if (!content.includes("/* Begin XCRemoteSwiftPackageReference section */")) {
|
||||
content = content.replace(
|
||||
/\/\* 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 {
|
||||
content = content.replace(
|
||||
@@ -103,7 +103,7 @@ const prodDepLine = `\t\t${prodDepId} /* ${SENTRY_PRODUCT} */ = {isa = XCSwiftPa
|
||||
if (!content.includes("/* Begin XCSwiftPackageProductDependency section */")) {
|
||||
content = content.replace(
|
||||
/\/\* 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 {
|
||||
content = content.replace(
|
||||
|
||||
Reference in New Issue
Block a user