Skip to content

Commit 182979c

Browse files
committed
Fix codesigning
1 parent c1685c7 commit 182979c

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

Fastlane/Fastfile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -165,16 +165,11 @@ platform :ios do
165165
output_directory: "ipa_builds/",
166166
output_name: output_name,
167167
cloned_source_packages_path: "SourcePackages",
168+
configuration: "Release",
168169
silent: true,
169170
suppress_xcode_output: true,
170171
skip_package_pkg: true,
171-
export_method: "app-store",
172-
export_options: {
173-
provisioningProfiles: {
174-
"com.subvert.forpda" => "match AppStore com.subvert.forpda",
175-
"com.subvert.forpda.safariextension" => "match AppStore com.subvert.forpda.safariextension"
176-
}
177-
}
172+
export_method: "app-store"
178173
)
179174
end
180175

Project.swift

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -686,11 +686,7 @@ extension Settings {
686686
base: SettingsDictionary()
687687
.swiftVersion("6.0")
688688
.otherSwiftFlags(.longTypeCheckingFlags)
689-
.enableL10nGeneration()
690-
.manualCodeSigning(
691-
identity: "Apple Development",
692-
provisioningProfileSpecifier: "match Development com.subvert.forpda"
693-
),
689+
.enableL10nGeneration(),
694690
configurations: [
695691
.debug(name: "Debug", xcconfig: "Configs/App.xcconfig"),
696692
.release(name: "Release", settings: .init().enableDsym(), xcconfig: "Configs/App.xcconfig"),
@@ -705,11 +701,16 @@ extension SettingsDictionary {
705701
.setAppName(App.name)
706702
.setDevelopmentTeam("7353CQCGQC")
707703
.includeAppIcon()
704+
.manualCodeSigning(
705+
identity: "Apple Development",
706+
provisioningProfileSpecifier: "match Development com.subvert.forpda"
707+
)
708708

709709
static let targetSettings = SettingsDictionary()
710710
.useIPhoneAsSingleDestination()
711711
.disableAssetGeneration()
712712
.excludeAppIcon()
713+
.disableCodeSigning()
713714
}
714715

715716
extension Dictionary where Key == String, Value == SettingValue {
@@ -733,6 +734,11 @@ extension Dictionary where Key == String, Value == SettingValue {
733734
return merging(["ASSETCATALOG_COMPILER_APPICON_NAME": .string("")])
734735
}
735736

737+
func disableCodeSigning() -> SettingsDictionary {
738+
return merging(["CODE_SIGNING_ALLOWED": .string("NO")])
739+
.manualCodeSigning(identity: nil, provisioningProfileSpecifier: nil)
740+
}
741+
736742
func useIPhoneAsSingleDestination() -> SettingsDictionary {
737743
return merging([
738744
"TARGETED_DEVICE_FAMILY": "1",

0 commit comments

Comments
 (0)