|
@@ -0,0 +1,46 @@
|
|
|
+# This file contains the fastlane.tools configuration
|
|
|
+# You can find the documentation at https://docs.fastlane.tools
|
|
|
+#
|
|
|
+# For a list of all available actions, check out
|
|
|
+#
|
|
|
+# https://docs.fastlane.tools/actions
|
|
|
+#
|
|
|
+# For a list of all available plugins, check out
|
|
|
+#
|
|
|
+# https://docs.fastlane.tools/plugins/available-plugins
|
|
|
+#
|
|
|
+
|
|
|
+# Uncomment the line if you want fastlane to automatically update itself
|
|
|
+# update_fastlane
|
|
|
+
|
|
|
+default_platform(:ios)
|
|
|
+
|
|
|
+platform :ios do
|
|
|
+ desc "Description of what the lane does"
|
|
|
+ lane :custom_lane do
|
|
|
+ # add actions here: https://docs.fastlane.tools/actions
|
|
|
+ end
|
|
|
+
|
|
|
+desc "打包到pgy"
|
|
|
+lane :beta do |options|
|
|
|
+ gym(
|
|
|
+ clean: true, # 打包前clean项目
|
|
|
+ export_method: "development", # 导出方式
|
|
|
+ scheme: "PBSDK_Example", # scheme
|
|
|
+ output_directory: "~/Desktop/PB", # ipa的存放目录
|
|
|
+ silent: true, # 隐藏没有必要的信息
|
|
|
+ export_options: {
|
|
|
+ provisioningProfiles: {
|
|
|
+ "com.hongyi.sports" => "Sports_appStore_dev"
|
|
|
+ },
|
|
|
+ signingCertificate: "Apple Development",
|
|
|
+ signingStyle: "manual",
|
|
|
+ teamID: "5UR7UXG257",
|
|
|
+ thinning: "<none>",
|
|
|
+ stripSwiftSymbols: true
|
|
|
+ }
|
|
|
+ )
|
|
|
+ #蒲公英的配置 替换为自己的api_key和user_key
|
|
|
+ #pgyer(api_key: "f5ebb7c9149d32eaf2299fcb64cc78d5", user_key: "b68400db450088ba426d5556a313c60e",update_description: options[:desc])
|
|
|
+ end
|
|
|
+end
|