Skip to content

Commit 4314fa2

Browse files
authored
chose: Fix "Build and Upload iOS-Swift to Testflight" workflow (#4404)
ix "Build and Upload iOS-Swift to Testflight"
1 parent a930c80 commit 4314fa2

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

Samples/iOS-Swift/iOS-Swift.xcodeproj/project.pbxproj

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@
102102
D8B56CF0273A8D97004DF238 /* Sentry.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 630853322440C44F00DDE4CE /* Sentry.framework */; };
103103
D8B56CF1273A8D97004DF238 /* Sentry.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 630853322440C44F00DDE4CE /* Sentry.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
104104
D8BC843E2B021C5200A662B7 /* SwiftUIView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B4F33F7271EBD2500C8591E /* SwiftUIView.swift */; };
105+
D8BCCDE22CAFDE9400E8A030 /* Sample.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = D8BCCDE12CAFDE9400E8A030 /* Sample.xcconfig */; };
106+
D8BCCDE32CAFDE9400E8A030 /* Sample.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = D8BCCDE12CAFDE9400E8A030 /* Sample.xcconfig */; };
105107
D8C33E1F29FBB1F70071B75A /* UIEventBreadcrumbsController.swift in Sources */ = {isa = PBXBuildFile; fileRef = D8C33E1E29FBB1F70071B75A /* UIEventBreadcrumbsController.swift */; };
106108
D8C33E2629FBB8D90071B75A /* UIEventBreadcrumbTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D8C33E2529FBB8D90071B75A /* UIEventBreadcrumbTests.swift */; };
107109
D8D7BB4A2750067900044146 /* UIAssert.swift in Sources */ = {isa = PBXBuildFile; fileRef = D8D7BB492750067900044146 /* UIAssert.swift */; };
@@ -364,6 +366,7 @@
364366
D890CD3B26CEE2FA001246CF /* NibViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = NibViewController.xib; sourceTree = "<group>"; };
365367
D890CD3E26CEE31B001246CF /* NibViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NibViewController.swift; sourceTree = "<group>"; };
366368
D8AE48C82C57DC2F0092A2A6 /* WebViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WebViewController.swift; sourceTree = "<group>"; };
369+
D8BCCDE12CAFDE9400E8A030 /* Sample.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Sample.xcconfig; sourceTree = "<group>"; };
367370
D8C33E1E29FBB1F70071B75A /* UIEventBreadcrumbsController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UIEventBreadcrumbsController.swift; sourceTree = "<group>"; };
368371
D8C33E2529FBB8D90071B75A /* UIEventBreadcrumbTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UIEventBreadcrumbTests.swift; sourceTree = "<group>"; };
369372
D8D7BB492750067900044146 /* UIAssert.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UIAssert.swift; sourceTree = "<group>"; };
@@ -505,6 +508,7 @@
505508
637AFDB4243B02770034958B /* LaunchScreen.storyboard */,
506509
637AFDB7243B02770034958B /* Info.plist */,
507510
D845F35927BAD4CC00A4D7A2 /* SentryData.xcdatamodeld */,
511+
D8BCCDE12CAFDE9400E8A030 /* Sample.xcconfig */,
508512
);
509513
path = "iOS-Swift";
510514
sourceTree = "<group>";
@@ -905,6 +909,7 @@
905909
isa = PBXResourcesBuildPhase;
906910
buildActionMask = 2147483647;
907911
files = (
912+
D8BCCDE22CAFDE9400E8A030 /* Sample.xcconfig in Resources */,
908913
D890CD3C26CEE2FA001246CF /* NibViewController.xib in Resources */,
909914
7BFC8B0626D4D24B000D3504 /* LoremIpsum.txt in Resources */,
910915
637AFDB6243B02770034958B /* LaunchScreen.storyboard in Resources */,
@@ -937,6 +942,7 @@
937942
files = (
938943
D8269A56274C0F9E00BD5BD5 /* NibViewController.xib in Resources */,
939944
D8269A51274C0F6C00BD5BD5 /* LaunchScreen.storyboard in Resources */,
945+
D8BCCDE32CAFDE9400E8A030 /* Sample.xcconfig in Resources */,
940946
D8269A52274C0F7200BD5BD5 /* Tongariro.jpg in Resources */,
941947
D8269A50274C0F6800BD5BD5 /* Assets.xcassets in Resources */,
942948
D8269A43274C095F00BD5BD5 /* Main.storyboard in Resources */,
@@ -1287,6 +1293,7 @@
12871293
/* Begin XCBuildConfiguration section */
12881294
637AFDB8243B02770034958B /* Debug */ = {
12891295
isa = XCBuildConfiguration;
1296+
baseConfigurationReference = D8BCCDE12CAFDE9400E8A030 /* Sample.xcconfig */;
12901297
buildSettings = {
12911298
ALWAYS_SEARCH_USER_PATHS = NO;
12921299
CLANG_ANALYZER_NONNULL = YES;
@@ -1348,6 +1355,7 @@
13481355
};
13491356
637AFDB9243B02770034958B /* Release */ = {
13501357
isa = XCBuildConfiguration;
1358+
baseConfigurationReference = D8BCCDE12CAFDE9400E8A030 /* Sample.xcconfig */;
13511359
buildSettings = {
13521360
ALWAYS_SEARCH_USER_PATHS = NO;
13531361
CLANG_ANALYZER_NONNULL = YES;
@@ -1419,7 +1427,6 @@
14191427
"$(inherited)",
14201428
"@executable_path/Frameworks",
14211429
);
1422-
MARKETING_VERSION = "8.37.0-beta.1";
14231430
PRODUCT_BUNDLE_IDENTIFIER = "io.sentry.sample.iOS-Swift";
14241431
PRODUCT_NAME = "$(TARGET_NAME)";
14251432
PROVISIONING_PROFILE_SPECIFIER = "match Development io.sentry.sample.iOS-Swift";
@@ -1448,7 +1455,6 @@
14481455
"$(inherited)",
14491456
"@executable_path/Frameworks",
14501457
);
1451-
MARKETING_VERSION = "8.37.0-beta.1";
14521458
PRODUCT_BUNDLE_IDENTIFIER = "io.sentry.sample.iOS-Swift";
14531459
PRODUCT_NAME = "$(TARGET_NAME)";
14541460
PROVISIONING_PROFILE_SPECIFIER = "match AppStore io.sentry.sample.iOS-Swift";
@@ -1560,6 +1566,7 @@
15601566
};
15611567
84D4FE8028ECD1EA00EDAAFE /* Test */ = {
15621568
isa = XCBuildConfiguration;
1569+
baseConfigurationReference = D8BCCDE12CAFDE9400E8A030 /* Sample.xcconfig */;
15631570
buildSettings = {
15641571
ALWAYS_SEARCH_USER_PATHS = NO;
15651572
CLANG_ANALYZER_NONNULL = YES;
@@ -1634,7 +1641,6 @@
16341641
"$(inherited)",
16351642
"@executable_path/Frameworks",
16361643
);
1637-
MARKETING_VERSION = 7.27.0;
16381644
PRODUCT_BUNDLE_IDENTIFIER = "io.sentry.sample.iOS-Swift";
16391645
PRODUCT_NAME = "$(TARGET_NAME)";
16401646
PROVISIONING_PROFILE_SPECIFIER = "match Development io.sentry.sample.iOS-Swift";
@@ -1719,7 +1725,6 @@
17191725
"$(inherited)",
17201726
"@executable_path/Frameworks",
17211727
);
1722-
MARKETING_VERSION = 7.27.0;
17231728
PRODUCT_BUNDLE_IDENTIFIER = "io.sentry.sample.iOS-Swift.Clip";
17241729
PRODUCT_NAME = "$(TARGET_NAME)";
17251730
PROVISIONING_PROFILE_SPECIFIER = "match Development io.sentry.sample.iOS-Swift.Clip";
@@ -1793,6 +1798,7 @@
17931798
};
17941799
84D4FE8828ECD1ED00EDAAFE /* TestCI */ = {
17951800
isa = XCBuildConfiguration;
1801+
baseConfigurationReference = D8BCCDE12CAFDE9400E8A030 /* Sample.xcconfig */;
17961802
buildSettings = {
17971803
ALWAYS_SEARCH_USER_PATHS = NO;
17981804
CLANG_ANALYZER_NONNULL = YES;
@@ -1867,7 +1873,6 @@
18671873
"$(inherited)",
18681874
"@executable_path/Frameworks",
18691875
);
1870-
MARKETING_VERSION = 7.27.0;
18711876
PRODUCT_BUNDLE_IDENTIFIER = "io.sentry.sample.iOS-Swift";
18721877
PRODUCT_NAME = "$(TARGET_NAME)";
18731878
PROVISIONING_PROFILE_SPECIFIER = "match Development io.sentry.sample.iOS-Swift";
@@ -1952,7 +1957,6 @@
19521957
"$(inherited)",
19531958
"@executable_path/Frameworks",
19541959
);
1955-
MARKETING_VERSION = 7.27.0;
19561960
PRODUCT_BUNDLE_IDENTIFIER = "io.sentry.sample.iOS-Swift.Clip";
19571961
PRODUCT_NAME = "$(TARGET_NAME)";
19581962
PROVISIONING_PROFILE_SPECIFIER = "match Development io.sentry.sample.iOS-Swift.Clip";
@@ -2123,7 +2127,6 @@
21232127
"$(inherited)",
21242128
"@executable_path/Frameworks",
21252129
);
2126-
MARKETING_VERSION = "8.37.0-beta.1";
21272130
PRODUCT_BUNDLE_IDENTIFIER = "io.sentry.sample.iOS-Swift.Clip";
21282131
PRODUCT_NAME = "$(TARGET_NAME)";
21292132
PROVISIONING_PROFILE_SPECIFIER = "match Development io.sentry.sample.iOS-Swift.Clip";
@@ -2158,7 +2161,6 @@
21582161
"$(inherited)",
21592162
"@executable_path/Frameworks",
21602163
);
2161-
MARKETING_VERSION = "8.37.0-beta.1";
21622164
PRODUCT_BUNDLE_IDENTIFIER = "io.sentry.sample.iOS-Swift.Clip";
21632165
PRODUCT_NAME = "$(TARGET_NAME)";
21642166
PROVISIONING_PROFILE_SPECIFIER = "match AppStore io.sentry.sample.iOS-Swift.Clip";
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
MARKETING_VERSION = 8.37.0

Utils/VersionBump/main.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ let files = [
1010
"./SentryPrivate.podspec",
1111
"./SentrySwiftUI.podspec",
1212
"./Sources/Sentry/SentryMeta.m",
13-
"./Samples/iOS-Swift/iOS-Swift.xcodeproj/project.pbxproj",
1413
"./Tests/HybridSDKTest/HybridPod.podspec"
1514
]
1615

1716
// Files that only accept the format x.x.x in order to release an app using the framework.
1817
// This will enable publishing apps with SDK beta version.
1918
let restrictFiles = [
19+
"./Samples/iOS-Swift/iOS-Swift/Sample.xcconfig",
2020
"./Sources/Configuration/SDK.xcconfig",
2121
"./Sources/Configuration/SentrySwiftUI.xcconfig"
2222
]

0 commit comments

Comments
 (0)