您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

Fastfile 1.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. ENV["FASTLANE_SKIP_UPDATE_CHECK"] = "1"
  2. opt_out_usage
  3. default_platform(:ios)
  4. platform :ios do
  5. desc "Push a new beta build to TestFlight"
  6. lane :deploy do
  7. # Make sure we are on a clean tree
  8. ensure_git_status_clean
  9. # Set the app identifier
  10. update_app_identifier(
  11. xcodeproj: "app/app.xcodeproj",
  12. plist_path: "src/Info.plist",
  13. app_identifier: "com.atlassian.JitsiMeet.ios"
  14. )
  15. # Set the (watch) app identifier
  16. update_app_identifier(
  17. xcodeproj: "app/app.xcodeproj",
  18. plist_path: "watchos/app/Info.plist",
  19. app_identifier: "com.atlassian.JitsiMeet.ios.watchkit"
  20. )
  21. # Set the (watch) extension identifier
  22. update_app_identifier(
  23. xcodeproj: "app/app.xcodeproj",
  24. plist_path: "watchos/extension/Info.plist",
  25. app_identifier: "com.atlassian.JitsiMeet.ios.watchkit.extension"
  26. )
  27. update_info_plist(
  28. xcodeproj: "app/app.xcodeproj",
  29. plist_path: "watchos/app/Info.plist",
  30. block: proc do |plist|
  31. plist["WKCompanionAppBundleIdentifier"] = "com.atlassian.JitsiMeet.ios"
  32. end
  33. )
  34. update_info_plist(
  35. xcodeproj: "app/app.xcodeproj",
  36. plist_path: "watchos/extension/Info.plist",
  37. block: proc do |plist|
  38. plist["NSExtension"]["NSExtensionAttributes"]["WKAppBundleIdentifier"] = "com.atlassian.JitsiMeet.ios.watchkit"
  39. end
  40. )
  41. # Inrement the build number by 1
  42. increment_build_number(
  43. build_number: latest_testflight_build_number + 1,
  44. xcodeproj: "app/app.xcodeproj"
  45. )
  46. # Actually build the app
  47. build_app(
  48. scheme: "jitsi-meet",
  49. include_bitcode: true,
  50. include_symbols: true,
  51. export_xcargs: "-allowProvisioningUpdates"
  52. )
  53. # Upload the build to TestFlight (but don't distribute it)
  54. upload_to_testflight(skip_submission: true, skip_waiting_for_build_processing: true)
  55. # Cleanup
  56. clean_build_artifacts
  57. reset_git_repo(skip_clean: true)
  58. end
  59. end