Let Xcode manage release signing

This commit is contained in:
2026-05-30 20:45:52 -07:00
parent 719359b940
commit cfd023be69

View File

@@ -7,7 +7,6 @@ default_platform(:ios)
BUNDLE_IDENTIFIER = "net.buzzert.QueueCube" BUNDLE_IDENTIFIER = "net.buzzert.QueueCube"
DEVELOPMENT_TEAM = "DQQH5H6GBD" DEVELOPMENT_TEAM = "DQQH5H6GBD"
PROVISIONING_PROFILE_NAME = "#{BUNDLE_IDENTIFIER} AppStore"
APP_ROOT = File.expand_path("..", File.expand_path(__dir__)) APP_ROOT = File.expand_path("..", File.expand_path(__dir__))
IOS_PROJECT_DIR = File.join(APP_ROOT, "ios") IOS_PROJECT_DIR = File.join(APP_ROOT, "ios")
XCODE_PROJECT = File.join(IOS_PROJECT_DIR, "QueueCube.xcodeproj") XCODE_PROJECT = File.join(IOS_PROJECT_DIR, "QueueCube.xcodeproj")
@@ -57,16 +56,9 @@ def upload_export_options
<key>method</key> <key>method</key>
<string>app-store-connect</string> <string>app-store-connect</string>
<key>signingStyle</key> <key>signingStyle</key>
<string>manual</string> <string>automatic</string>
<key>teamID</key> <key>teamID</key>
<string>#{DEVELOPMENT_TEAM}</string> <string>#{DEVELOPMENT_TEAM}</string>
<key>signingCertificate</key>
<string>Apple Distribution</string>
<key>provisioningProfiles</key>
<dict>
<key>#{BUNDLE_IDENTIFIER}</key>
<string>#{PROVISIONING_PROFILE_NAME}</string>
</dict>
<key>manageAppVersionAndBuildNumber</key> <key>manageAppVersionAndBuildNumber</key>
<false/> <false/>
<key>stripSwiftSymbols</key> <key>stripSwiftSymbols</key>
@@ -102,8 +94,7 @@ platform :ios do
"DEVELOPMENT_TEAM=#{DEVELOPMENT_TEAM}", "DEVELOPMENT_TEAM=#{DEVELOPMENT_TEAM}",
"PRODUCT_BUNDLE_IDENTIFIER=#{BUNDLE_IDENTIFIER}", "PRODUCT_BUNDLE_IDENTIFIER=#{BUNDLE_IDENTIFIER}",
"MARKETING_VERSION=#{version}", "MARKETING_VERSION=#{version}",
"CURRENT_PROJECT_VERSION=#{build}", "CURRENT_PROJECT_VERSION=#{build}"
"CODE_SIGN_IDENTITY=Apple Distribution"
)) ))
end end