fix: correct watch target name and Sentry script section ordering
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user