1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
| default_platform(:ios)
platform :ios do desc "ci 发包" lane :ci do build_app( workspace: "yourapp.xcworkspace", configuration: "CI", scheme: "yourscheme", silent: true, clean: true, output_directory: "path", output_name: "youapp.ipa", export_options: { method: 'ad-hoc', provisioningProfiles: { "bundle id" => "file name", }, } ) end
desc "release 发包" lane :release do increment_build_number end end
|