Skip to content

Commit 5711543

Browse files
committed
Fastlane upload fix
1 parent 1941b57 commit 5711543

File tree

2 files changed

+25
-14
lines changed

2 files changed

+25
-14
lines changed

ForPDA.xcodeproj/project.pbxproj

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,12 +1046,15 @@
10461046
TargetAttributes = {
10471047
B8A85A872AA10CF400EDFE58 = {
10481048
CreatedOnToolsVersion = 14.3.1;
1049+
ProvisioningStyle = Automatic;
10491050
};
10501051
B8AB63BC2AA49F6100F2CEFF = {
10511052
CreatedOnToolsVersion = 14.3.1;
1053+
ProvisioningStyle = Automatic;
10521054
};
10531055
B8D351F4293CABB6008A84EA = {
10541056
CreatedOnToolsVersion = 14.1;
1057+
ProvisioningStyle = Automatic;
10551058
};
10561059
};
10571060
};
@@ -1143,7 +1146,7 @@
11431146
);
11441147
runOnlyForDeploymentPostprocessing = 0;
11451148
shellPath = /bin/sh;
1146-
shellScript = "if [[ \"$(uname -m)\" == arm64 ]]; then\n export PATH=\"/opt/homebrew/bin:$PATH\"\nfi\n\nif which swiftlint > /dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
1149+
shellScript = "if [[ \"$(uname -m)\" == arm64 ]]; then\n export PATH=\"/opt/homebrew/bin:$PATH\"\nfi\n\nif which swiftlint > /dev/null; then\n if [ \"${CONFIGURATION}\" == \"Debug\" ]; then\n swiftlint\n fi\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
11471150
};
11481151
/* End PBXShellScriptBuildPhase section */
11491152

@@ -1337,8 +1340,7 @@
13371340
isa = XCBuildConfiguration;
13381341
buildSettings = {
13391342
CODE_SIGN_STYLE = Automatic;
1340-
CURRENT_PROJECT_VERSION = "101
1341-
";
1343+
CURRENT_PROJECT_VERSION = 105;
13421344
DEVELOPMENT_TEAM = 7353CQCGQC;
13431345
GENERATE_INFOPLIST_FILE = YES;
13441346
INFOPLIST_FILE = ShareExtension/Info.plist;
@@ -1364,8 +1366,7 @@
13641366
isa = XCBuildConfiguration;
13651367
buildSettings = {
13661368
CODE_SIGN_STYLE = Automatic;
1367-
CURRENT_PROJECT_VERSION = "101
1368-
";
1369+
CURRENT_PROJECT_VERSION = 105;
13691370
DEVELOPMENT_TEAM = 7353CQCGQC;
13701371
GENERATE_INFOPLIST_FILE = YES;
13711372
INFOPLIST_FILE = ShareExtension/Info.plist;
@@ -1391,8 +1392,7 @@
13911392
isa = XCBuildConfiguration;
13921393
buildSettings = {
13931394
CODE_SIGN_STYLE = Automatic;
1394-
CURRENT_PROJECT_VERSION = "101
1395-
";
1395+
CURRENT_PROJECT_VERSION = 105;
13961396
DEVELOPMENT_TEAM = 7353CQCGQC;
13971397
GENERATE_INFOPLIST_FILE = YES;
13981398
INFOPLIST_FILE = OpenInAppExtension/Info.plist;
@@ -1422,8 +1422,7 @@
14221422
isa = XCBuildConfiguration;
14231423
buildSettings = {
14241424
CODE_SIGN_STYLE = Automatic;
1425-
CURRENT_PROJECT_VERSION = "101
1426-
";
1425+
CURRENT_PROJECT_VERSION = 105;
14271426
DEVELOPMENT_TEAM = 7353CQCGQC;
14281427
GENERATE_INFOPLIST_FILE = YES;
14291428
INFOPLIST_FILE = OpenInAppExtension/Info.plist;
@@ -1583,8 +1582,7 @@
15831582
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
15841583
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
15851584
CODE_SIGN_STYLE = Automatic;
1586-
CURRENT_PROJECT_VERSION = "101
1587-
";
1585+
CURRENT_PROJECT_VERSION = 105;
15881586
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
15891587
DEVELOPMENT_TEAM = 7353CQCGQC;
15901588
ENABLE_USER_SCRIPT_SANDBOXING = NO;
@@ -1620,8 +1618,7 @@
16201618
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
16211619
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
16221620
CODE_SIGN_STYLE = Automatic;
1623-
CURRENT_PROJECT_VERSION = "101
1624-
";
1621+
CURRENT_PROJECT_VERSION = 105;
16251622
DEVELOPMENT_TEAM = 7353CQCGQC;
16261623
ENABLE_USER_SCRIPT_SANDBOXING = NO;
16271624
GENERATE_INFOPLIST_FILE = YES;

fastlane/Fastfile

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,24 @@ platform :ios do
3838
target: 'OpenInAppExtension'
3939
)
4040

41+
# get_certificates
42+
43+
# get_provisioning_profile
44+
4145
build_app(
4246
scheme: "ForPDA",
4347
output_directory: "build/",
44-
cloned_source_packages_path: "SourcePackages"
48+
cloned_source_packages_path: "SourcePackages",
49+
silent: true,
50+
suppress_xcode_output: true,
51+
export_method: "app-store",
52+
export_options: {
53+
provisioningProfiles: {
54+
"com.subvert.forpda" => "com.subvert.forpda AppStore",
55+
"com.subvert.forpda.OpenInAppExtension" => "com.subvert.forpda.OpenInAppExtension AppStore",
56+
"com.subvert.forpda.ShareExtension" => "com.subvert.forpda.ShareExtension AppStore"
57+
}
58+
}
4559
)
4660

4761
sentry_auth_token = get_xcconfig_value(

0 commit comments

Comments
 (0)