File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -95,10 +95,28 @@ platform :ios do
9595 targets : [ "extension" ]
9696 )
9797
98+ # Xcode 26 renamed 'app-store' to 'app-store-connect' in ExportOptions.plist.
99+ # Monkey-patch gym to emit the new value since fastlane hasn't been updated yet.
100+ require 'gym'
101+ module Gym
102+ class PackageCommandGeneratorXcode7
103+ class << self
104+ alias_method :original_config_content , :config_content unless method_defined? ( :original_config_content )
105+ def config_content
106+ content = original_config_content
107+ hash = Plist . parse_xml ( content )
108+ hash [ 'method' ] = 'app-store-connect' if hash [ 'method' ] == 'app-store'
109+ Plist ::Emit . dump ( hash )
110+ end
111+ end
112+ end
113+ end
114+
98115 gym (
99116 configuration : "Release" ,
100117 project : "Code.xcodeproj" ,
101118 scheme : "Code App" ,
119+ export_method : "app-store" ,
102120 export_options : {
103121 provisioningProfiles : {
104122 "#{ DEVELOPER_APP_IDENTIFIER } " => "match AppStore #{ DEVELOPER_APP_IDENTIFIER } " ,
You can’t perform that action at this time.
0 commit comments