diff --git a/Gemfile b/Gemfile new file mode 100644 index 00000000..cdd3a6b3 --- /dev/null +++ b/Gemfile @@ -0,0 +1,6 @@ +source "https://rubygems.org" + +gem "fastlane" + +plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile') +eval_gemfile(plugins_path) if File.exist?(plugins_path) diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 00000000..32dd6941 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,233 @@ +GEM + remote: https://rubygems.org/ + specs: + CFPropertyList (3.0.7) + base64 + nkf + rexml + addressable (2.8.7) + public_suffix (>= 2.0.2, < 7.0) + artifactory (3.0.17) + atomos (0.1.3) + aws-eventstream (1.4.0) + aws-partitions (1.1175.0) + aws-sdk-core (3.234.0) + aws-eventstream (~> 1, >= 1.3.0) + aws-partitions (~> 1, >= 1.992.0) + aws-sigv4 (~> 1.9) + base64 + bigdecimal + jmespath (~> 1, >= 1.6.1) + logger + aws-sdk-kms (1.115.0) + aws-sdk-core (~> 3, >= 3.234.0) + aws-sigv4 (~> 1.5) + aws-sdk-s3 (1.201.0) + aws-sdk-core (~> 3, >= 3.234.0) + aws-sdk-kms (~> 1) + aws-sigv4 (~> 1.5) + aws-sigv4 (1.12.1) + aws-eventstream (~> 1, >= 1.0.2) + babosa (1.0.4) + base64 (0.3.0) + bigdecimal (3.3.1) + claide (1.1.0) + colored (1.2) + colored2 (3.1.2) + commander (4.6.0) + highline (~> 2.0.0) + declarative (0.0.20) + digest-crc (0.7.0) + rake (>= 12.0.0, < 14.0.0) + domain_name (0.6.20240107) + dotenv (2.8.1) + emoji_regex (3.2.3) + excon (0.112.0) + faraday (1.10.4) + faraday-em_http (~> 1.0) + faraday-em_synchrony (~> 1.0) + faraday-excon (~> 1.1) + faraday-httpclient (~> 1.0) + faraday-multipart (~> 1.0) + faraday-net_http (~> 1.0) + faraday-net_http_persistent (~> 1.0) + faraday-patron (~> 1.0) + faraday-rack (~> 1.0) + faraday-retry (~> 1.0) + ruby2_keywords (>= 0.0.4) + faraday-cookie_jar (0.0.7) + faraday (>= 0.8.0) + http-cookie (~> 1.0.0) + faraday-em_http (1.0.0) + faraday-em_synchrony (1.0.1) + faraday-excon (1.1.0) + faraday-httpclient (1.0.1) + faraday-multipart (1.1.1) + multipart-post (~> 2.0) + faraday-net_http (1.0.2) + faraday-net_http_persistent (1.2.0) + faraday-patron (1.0.0) + faraday-rack (1.0.0) + faraday-retry (1.0.3) + faraday_middleware (1.2.1) + faraday (~> 1.0) + fastimage (2.4.0) + fastlane (2.228.0) + CFPropertyList (>= 2.3, < 4.0.0) + addressable (>= 2.8, < 3.0.0) + artifactory (~> 3.0) + aws-sdk-s3 (~> 1.0) + babosa (>= 1.0.3, < 2.0.0) + bundler (>= 1.12.0, < 3.0.0) + colored (~> 1.2) + commander (~> 4.6) + dotenv (>= 2.1.1, < 3.0.0) + emoji_regex (>= 0.1, < 4.0) + excon (>= 0.71.0, < 1.0.0) + faraday (~> 1.0) + faraday-cookie_jar (~> 0.0.6) + faraday_middleware (~> 1.0) + fastimage (>= 2.1.0, < 3.0.0) + fastlane-sirp (>= 1.0.0) + gh_inspector (>= 1.1.2, < 2.0.0) + google-apis-androidpublisher_v3 (~> 0.3) + google-apis-playcustomapp_v1 (~> 0.1) + google-cloud-env (>= 1.6.0, < 2.0.0) + google-cloud-storage (~> 1.31) + highline (~> 2.0) + http-cookie (~> 1.0.5) + json (< 3.0.0) + jwt (>= 2.1.0, < 3) + mini_magick (>= 4.9.4, < 5.0.0) + multipart-post (>= 2.0.0, < 3.0.0) + naturally (~> 2.2) + optparse (>= 0.1.1, < 1.0.0) + plist (>= 3.1.0, < 4.0.0) + rubyzip (>= 2.0.0, < 3.0.0) + security (= 0.1.5) + simctl (~> 1.6.3) + terminal-notifier (>= 2.0.0, < 3.0.0) + terminal-table (~> 3) + tty-screen (>= 0.6.3, < 1.0.0) + tty-spinner (>= 0.8.0, < 1.0.0) + word_wrap (~> 1.0.0) + xcodeproj (>= 1.13.0, < 2.0.0) + xcpretty (~> 0.4.1) + xcpretty-travis-formatter (>= 0.0.3, < 2.0.0) + fastlane-plugin-appicon (0.16.0) + json + mini_magick (>= 4.9.4, < 5.0.0) + fastlane-sirp (1.0.0) + sysrandom (~> 1.0) + gh_inspector (1.1.3) + google-apis-androidpublisher_v3 (0.54.0) + google-apis-core (>= 0.11.0, < 2.a) + google-apis-core (0.11.3) + addressable (~> 2.5, >= 2.5.1) + googleauth (>= 0.16.2, < 2.a) + httpclient (>= 2.8.1, < 3.a) + mini_mime (~> 1.0) + representable (~> 3.0) + retriable (>= 2.0, < 4.a) + rexml + google-apis-iamcredentials_v1 (0.17.0) + google-apis-core (>= 0.11.0, < 2.a) + google-apis-playcustomapp_v1 (0.13.0) + google-apis-core (>= 0.11.0, < 2.a) + google-apis-storage_v1 (0.31.0) + google-apis-core (>= 0.11.0, < 2.a) + google-cloud-core (1.8.0) + google-cloud-env (>= 1.0, < 3.a) + google-cloud-errors (~> 1.0) + google-cloud-env (1.6.0) + faraday (>= 0.17.3, < 3.0) + google-cloud-errors (1.5.0) + google-cloud-storage (1.47.0) + addressable (~> 2.8) + digest-crc (~> 0.4) + google-apis-iamcredentials_v1 (~> 0.1) + google-apis-storage_v1 (~> 0.31.0) + google-cloud-core (~> 1.6) + googleauth (>= 0.16.2, < 2.a) + mini_mime (~> 1.0) + googleauth (1.8.1) + faraday (>= 0.17.3, < 3.a) + jwt (>= 1.4, < 3.0) + multi_json (~> 1.11) + os (>= 0.9, < 2.0) + signet (>= 0.16, < 2.a) + highline (2.0.3) + http-cookie (1.0.8) + domain_name (~> 0.5) + httpclient (2.9.0) + mutex_m + jmespath (1.6.2) + json (2.15.1) + jwt (2.10.2) + base64 + logger (1.7.0) + mini_magick (4.13.2) + mini_mime (1.1.5) + multi_json (1.17.0) + multipart-post (2.4.1) + mutex_m (0.3.0) + nanaimo (0.4.0) + naturally (2.3.0) + nkf (0.2.0) + optparse (0.6.0) + os (1.1.4) + plist (3.7.2) + public_suffix (6.0.2) + rake (13.3.0) + representable (3.2.0) + declarative (< 0.1.0) + trailblazer-option (>= 0.1.1, < 0.2.0) + uber (< 0.2.0) + retriable (3.1.2) + rexml (3.4.4) + rouge (3.28.0) + ruby2_keywords (0.0.5) + rubyzip (2.4.1) + security (0.1.5) + signet (0.21.0) + addressable (~> 2.8) + faraday (>= 0.17.5, < 3.a) + jwt (>= 1.5, < 4.0) + multi_json (~> 1.10) + simctl (1.6.10) + CFPropertyList + naturally + sysrandom (1.0.5) + terminal-notifier (2.0.0) + terminal-table (3.0.2) + unicode-display_width (>= 1.1.1, < 3) + trailblazer-option (0.1.2) + tty-cursor (0.7.1) + tty-screen (0.8.2) + tty-spinner (0.9.3) + tty-cursor (~> 0.7) + uber (0.1.0) + unicode-display_width (2.6.0) + word_wrap (1.0.0) + xcodeproj (1.27.0) + CFPropertyList (>= 2.3.3, < 4.0) + atomos (~> 0.1.3) + claide (>= 1.0.2, < 2.0) + colored2 (~> 3.1) + nanaimo (~> 0.4.0) + rexml (>= 3.3.6, < 4.0) + xcpretty (0.4.1) + rouge (~> 3.28.0) + xcpretty-travis-formatter (1.0.1) + xcpretty (~> 0.2, >= 0.0.7) + +PLATFORMS + arm64-darwin-25 + ruby + +DEPENDENCIES + fastlane + fastlane-plugin-appicon + +BUNDLED WITH + 2.7.2 diff --git a/fastlane/Appfile b/fastlane/Appfile new file mode 100644 index 00000000..4282947e --- /dev/null +++ b/fastlane/Appfile @@ -0,0 +1,6 @@ +# app_identifier("[[APP_IDENTIFIER]]") # The bundle identifier of your app +# apple_id("[[APPLE_ID]]") # Your Apple Developer Portal username + + +# For more information about the Appfile, see: +# https://docs.fastlane.tools/advanced/#appfile diff --git a/fastlane/Fastfile b/fastlane/Fastfile new file mode 100644 index 00000000..eeeac4d6 --- /dev/null +++ b/fastlane/Fastfile @@ -0,0 +1,362 @@ +# ios-app/fastlane/Fastfile +# -------------------------------------------------------------- +# ONE-LANE DEPLOYMENT for iOS – fully driven by config.json +# -------------------------------------------------------------- + +require 'fileutils' +require 'mini_magick' +require 'json' +require 'xcodeproj' +require 'fastlane_core/ui/ui' + +default_platform(:ios) + +# ----------------------------------------------------------------- +# Global constants (relative to Fastfile location) +# ----------------------------------------------------------------- +ASSETS_DIR = "../ios-app/Assets.xcassets".freeze +PROJECT_PATH = "../ios-app.xcodeproj".freeze +INFO_PLIST_PATH = "../ios-app/Info.plist".freeze +APP_CONSTANTS_PATH = "../ios-app/Utils/AppConstants.swift".freeze +ICON_SOURCE = "fastlane/Icon-1024.png".freeze +LAUNCH_SOURCE = "fastlane/LaunchImage.png".freeze + +# ----------------------------------------------------------------- +# Helper: PlistBuddy safe set / add +# ----------------------------------------------------------------- +def plist_set_or_add(plist_path, key_path, value) + value_escaped = value.to_s.gsub("'", "\\\\'") + set_cmd = "/usr/libexec/PlistBuddy -c \"Set :#{key_path} #{value_escaped}\" '#{plist_path}'" + add_cmd = "/usr/libexec/PlistBuddy -c \"Add :#{key_path} string #{value_escaped}\" '#{plist_path}'" + + sh(set_cmd) +rescue + UI.message("Key :#{key_path} missing – adding it") + sh(add_cmd) +rescue => e + UI.user_error!("PlistBuddy failed: #{e.message}") +end + +# ----------------------------------------------------------------- +# Helper: Resize + write (centralised) +# ----------------------------------------------------------------- +def resize_and_save(source, dest, width:, height:, resize_mode: "^", background: "transparent") + UI.user_error!("Source missing: #{source}") unless File.exist?(source) + + FileUtils.mkdir_p(File.dirname(dest)) + image = MiniMagick::Image.open(source) + image.combine_options do |c| + c.resize "#{width}x#{height}#{resize_mode}" + c.gravity "center" + c.background background + c.extent "#{width}x#{height}" + end + image.write(dest) + UI.message("Generated #{File.basename(dest)} (#{width}×#{height})") +end + +# ----------------------------------------------------------------- +# Helper: Load the main app target +# ----------------------------------------------------------------- +def app_target + UI.user_error!("Project not found: #{PROJECT_PATH}") unless File.exist?(PROJECT_PATH) + project = Xcodeproj::Project.open(PROJECT_PATH) + target = project.targets.find { |t| t.product_type == "com.apple.product-type.application" } + UI.user_error!("No app target found") unless target + target +end + +# ----------------------------------------------------------------- +# ACTION: Generate App Icons (uses Contents.json) +# ----------------------------------------------------------------- +desc "Generate all AppIcon sizes from Icon-1024.png" +lane :generate_app_icons do + appiconset = File.join(ASSETS_DIR, "AppIcon.appiconset") + contents_path = File.join(appiconset, "Contents.json") + UI.user_error!("Missing Icon-1024.png") unless File.exist?(ICON_SOURCE) + UI.user_error!("Missing Contents.json") unless File.exist?(contents_path) + + contents = JSON.parse(File.read(contents_path)) + contents["images"].each do |img| + next unless (filename = img["filename"]) + size_str = img["size"] + scale = img["scale"][/(\d)x/, 1].to_i + scale = 1 if scale.zero? + pixels = (size_str.split("x").first.to_f * scale).round + dest = File.join(appiconset, filename) + + resize_and_save( + ICON_SOURCE, + dest, + width: pixels, + height: pixels, + resize_mode: "", # square – no caret + background: "transparent" + ) + end + UI.success("All App Icons generated") +end + +# ----------------------------------------------------------------- +# ACTION: Login screen image (1×) +# ----------------------------------------------------------------- +desc "Generate login_screen_image.png (646×218)" +lane :generate_login_image do + imageset = File.join(ASSETS_DIR, "login_screen_image.imageset") + dest = File.join(imageset, "login_screen_image.png") + resize_and_save(LAUNCH_SOURCE, dest, width: 646, height: 218, background: "white") + UI.success("Login image generated") +end + +# ----------------------------------------------------------------- +# ACTION: All launch images (hard-coded list) +# ----------------------------------------------------------------- +desc "Generate every launch image from LaunchImage.png" +lane :generate_launch_images do + output_dir = File.join(ASSETS_DIR, "LaunchImage.launchimage") + FileUtils.mkdir_p(output_dir) + + launch_images = [ + ["LaunchImage-1242@3x~iphoneXsMax-portrait_1242x2688.png", 1242, 2688], + ["LaunchImage-2688@3x~iphoneXsMax-landscape_2688x1242.png", 2688, 1242], + ["LaunchImage-828@2x~iphoneXr-portrait_828x1792.png", 828, 1792], + ["LaunchImage-1792@2x~iphoneXr-landscape_1792x828.png", 1792, 828], + ["LaunchImage-1125@3x~iphoneX-portrait_1125x2436.png", 1125, 2436], + ["LaunchImage-2436@3x~iphoneX-landscape_2436x1125.png", 2436, 1125], + ["splash_screen_1242x2208.png", 1242, 2208], + ["LaunchImage-1242@3x~iphone6s-landscape_2208x1242.png", 2208, 1242], + ["splash_screen_1.png", 750, 1334], + ["splash_screen_640x960.png", 640, 960], + ["splash_screen_640x1136_2.png", 640, 1136], + ["splash_screen_768x1024.png", 768, 1024], + ["splash_screen_1024x768.png", 1024, 768], + ["splash_screen_4.png", 1536, 2048], + ["splash_screen_2.png", 2048, 1536] + ] + + launch_images.each do |filename, w, h| + resize_and_save(LAUNCH_SOURCE, File.join(output_dir, filename), width: w, height: h) + end + UI.success("All launch images generated") +end + +# ----------------------------------------------------------------- +# ACTION: Update AppConstants.swift from options +# ----------------------------------------------------------------- +desc "Patch AppConstants.swift with values from config" +private_lane :update_app_constants do |options| + UI.user_error!("AppConstants.swift missing") unless File.exist?(APP_CONSTANTS_PATH) + + content = File.read(APP_CONSTANTS_PATH) + + { + subdomain: "SUBDOMAIN", + app_apple_id: "APP_APPLE_ID", + primary_color: "PRIMARY_COLOR" + }.each do |opt_key, const| + next unless (value = options[opt_key]) + regex = /public static let #{const} = ".*?"/ + new_line = "public static let #{const} = \"#{value}\"" + content.gsub!(regex, new_line) + UI.message("Updated #{const} = \"#{value}\"") + end + + File.write(APP_CONSTANTS_PATH, content) + UI.success("AppConstants.swift updated") +end + +# ----------------------------------------------------------------- +# ACTION: Copy GoogleService-Info.plist +# ----------------------------------------------------------------- +desc "Replace GoogleService-Info.plist with the one from config" +private_lane :update_google_plist do |options| + source = options[:source] || UI.user_error!(":source required") + target = "../ios-app/GoogleService-Info.plist" + + UI.user_error!("Source plist missing: #{source}") unless File.exist?(source) + + FileUtils.rm_f(target) + FileUtils.cp(source, target) + UI.success("GoogleService-Info.plist replaced") +end + +# ----------------------------------------------------------------- +# ACTION: Disable Zoom (comment code) +# ----------------------------------------------------------------- +desc "Comment out Zoom-related Swift files" +private_lane :disable_zoom_code do + # 1. ZoomMeetViewController.swift + zoom_file = "../ios-app/CourseKit/Source/UI/ViewControllers/ZoomMeetViewController.swift" + if File.exist?(zoom_file) + File.write(zoom_file, "/*\n#{File.read(zoom_file)}\n*/") + UI.message("Commented ZoomMeetViewController.swift") + else + UI.message("ZoomMeetViewController.swift not present") + end + + # 2. openZoomMeeting() body in VideoConferenceViewController.swift + vc_file = "../ios-app/CourseKit/Source/UI/ViewControllers/VideoConferenceViewController.swift" + next unless File.exist?(vc_file) + + lines = File.readlines(vc_file) + out = [] + inside = false + level = 0 + + lines.each do |line| + if !inside && line.match(/func\s+openZoomMeeting\s*\(/) + inside = true + level = 1 + out << line + next + end + + if inside + level += line.count('{') + level -= line.count('}') + out << (level > 0 ? "// #{line}" : line) + inside = false if level <= 0 + else + out << line + end + end + + File.write(vc_file, out.join) + UI.message("Commented openZoomMeeting() body") +end + +# ----------------------------------------------------------------- +# ACTION: Strip Zoom frameworks / resources from Xcode project +# ----------------------------------------------------------------- +desc "Remove Zoom xcframework & bundle from the Xcode project" +private_lane :remove_zoom_module do + target = app_target + + # Frameworks (Link Binary) + %w[MobileRTC.xcframework].each do |fw| + ref = target.frameworks_build_phase.files.find { |f| f.display_name.include?(fw) } + if ref + target.frameworks_build_phase.remove_file_reference(ref.file_ref) + UI.message("Removed #{fw} from Link Binary") + end + end + + # Embed Frameworks phase + target.copy_files_build_phases.each do |phase| + next unless phase.name&.downcase&.include?("embed") + %w[MobileRTC.xcframework].each do |fw| + ref = phase.files.find { |f| f.display_name.include?(fw) } + phase.remove_file_reference(ref.file_ref) if ref + UI.message("Removed #{fw} from Embed Frameworks") if ref + end + end + + # Resources + %w[MobileRTCResources.bundle].each do |res| + ref = target.resources_build_phase.files.find { |f| f.display_name.include?(res) } + if ref + target.resources_build_phase.remove_file_reference(ref.file_ref) + UI.message("Removed #{res} from Resources") + end + end + + Xcodeproj::Project.open(PROJECT_PATH).save + UI.success("Zoom module stripped from Xcode project") +end + +# ----------------------------------------------------------------- +# ACTION: Update bundle ID + display name +# ----------------------------------------------------------------- +desc "Set bundle identifier & display name (project + plist)" +private_lane :update_app_identity do |options| + bundle_id = options[:bundle_identifier] || UI.user_error!("bundle_identifier required") + display_name = options[:display_name] || UI.user_error!("display_name required") + + UI.message("Updating identity → #{bundle_id} / #{display_name}") + + target = app_target + target.build_configurations.each do |cfg| + old = cfg.build_settings["PRODUCT_BUNDLE_IDENTIFIER"] + cfg.build_settings["PRODUCT_BUNDLE_IDENTIFIER"] = bundle_id + cfg.build_settings["PRODUCT_NAME"] = display_name + cfg.build_settings["INFOPLIST_KEY_CFBundleDisplayName"] = display_name + UI.message("#{cfg.name}: #{old} → #{bundle_id}") + end + Xcodeproj::Project.open(PROJECT_PATH).save + + plist_set_or_add(INFO_PLIST_PATH, "CFBundleDisplayName", display_name) + UI.success("Identity updated") +end + +# ----------------------------------------------------------------- +# MAIN LANE: Deploy (single entry point) +# ----------------------------------------------------------------- +desc "Full iOS re-brand / asset generation pipeline" +lane :deploy do |options| + # ----------------------------------------------------------------- + # 1. Load & validate config.json + # ----------------------------------------------------------------- + config_path = options[:config] || "config.json" + UI.user_error!("config.json not found: #{config_path}") unless File.exist?(config_path) + + config = JSON.parse(File.read(config_path)) + + required = %w[subdomain apple_id primary_color google_plist_path display_name bundle_identifier] + missing = required.select { |k| config[k].to_s.empty? } + UI.user_error!("Missing config fields: #{missing.join(', ')}") unless missing.empty? + + zoom_enabled = config.dig("features", "zoom_enabled") == true + + # ----------------------------------------------------------------- + # 2. Asset generation (parallel when requested) + # ----------------------------------------------------------------- + asset_lanes = %i[generate_app_icons generate_login_image generate_launch_images] + if options[:parallel] + UI.message("Running asset lanes in parallel") + asset_lanes.each { |l| lane_thread(l) } + wait_for_threads + else + asset_lanes.each { |l| send(l) } + end + + # ----------------------------------------------------------------- + # 3. AppConstants.swift + # ----------------------------------------------------------------- + update_app_constants( + subdomain: config["subdomain"], + app_apple_id: config["apple_id"], + primary_color: config["primary_color"] + ) + + # ----------------------------------------------------------------- + # 4. GoogleService-Info.plist + # ----------------------------------------------------------------- + update_google_plist(source: config["google_plist_path"]) + + # ----------------------------------------------------------------- + # 5. Zoom handling + # ----------------------------------------------------------------- + if zoom_enabled + UI.success("Zoom feature kept enabled") + else + disable_zoom_code + remove_zoom_module + end + + # ----------------------------------------------------------------- + # 6. Identity + # ----------------------------------------------------------------- + update_app_identity( + bundle_identifier: config["bundle_identifier"], + display_name: config["display_name"] + ) + + # ----------------------------------------------------------------- + # 7. Final summary + # ----------------------------------------------------------------- + UI.header("Deployment complete") + UI.message("Subdomain: #{config['subdomain']}") + UI.message("Bundle ID: #{config['bundle_identifier']}") + UI.message("Display name: #{config['display_name']}") + UI.message("Zoom: #{zoom_enabled ? 'ENABLED' : 'DISABLED'}") +end diff --git a/fastlane/Pluginfile b/fastlane/Pluginfile new file mode 100644 index 00000000..41715edf --- /dev/null +++ b/fastlane/Pluginfile @@ -0,0 +1,5 @@ +# Autogenerated by fastlane +# +# Ensure this file is checked in to source control! + +gem 'fastlane-plugin-appicon' diff --git a/fastlane/README.md b/fastlane/README.md new file mode 100644 index 00000000..a80c1f9f --- /dev/null +++ b/fastlane/README.md @@ -0,0 +1,54 @@ +fastlane documentation +---- + +# Installation + +Make sure you have the latest version of the Xcode command line tools installed: + +```sh +xcode-select --install +``` + +For _fastlane_ installation instructions, see [Installing _fastlane_](https://docs.fastlane.tools/#installing-fastlane) + +# Available Actions + +### generate_app_icons + +```sh +[bundle exec] fastlane generate_app_icons +``` + +Generate all AppIcon sizes from Icon-1024.png + +### generate_login_image + +```sh +[bundle exec] fastlane generate_login_image +``` + +Generate login_screen_image.png (646×218) + +### generate_launch_images + +```sh +[bundle exec] fastlane generate_launch_images +``` + +Generate every launch image from LaunchImage.png + +### deploy + +```sh +[bundle exec] fastlane deploy +``` + +Full iOS re-brand / asset generation pipeline + +---- + +This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run. + +More information about _fastlane_ can be found on [fastlane.tools](https://fastlane.tools). + +The documentation of _fastlane_ can be found on [docs.fastlane.tools](https://docs.fastlane.tools). diff --git a/fastlane/config.json b/fastlane/config.json new file mode 100644 index 00000000..92106876 --- /dev/null +++ b/fastlane/config.json @@ -0,0 +1,12 @@ +{ + "subdomain": "staging", + "apple_id": "6753752664", + "primary_color": "#101010", + "google_plist_path": "fastlane/GoogleService-Info.plist", + "display_name": "Staging LMS", + "bundle_identifier": "in.testpress.staging", + "features": { + "zoom_enabled": true + } +} + diff --git a/fastlane/fastlane/GoogleService-Info.plist b/fastlane/fastlane/GoogleService-Info.plist new file mode 100644 index 00000000..e69de29b diff --git a/fastlane/fastlane/Icon-1024.png b/fastlane/fastlane/Icon-1024.png new file mode 100644 index 00000000..339bf9d0 Binary files /dev/null and b/fastlane/fastlane/Icon-1024.png differ diff --git a/fastlane/fastlane/LaunchImage.png b/fastlane/fastlane/LaunchImage.png new file mode 100644 index 00000000..cff66e57 Binary files /dev/null and b/fastlane/fastlane/LaunchImage.png differ diff --git a/ios-app.xcodeproj/xcshareddata/xcschemes/Staging.xcscheme b/ios-app.xcodeproj/xcshareddata/xcschemes/Staging.xcscheme new file mode 100644 index 00000000..ddbad48a --- /dev/null +++ b/ios-app.xcodeproj/xcshareddata/xcschemes/Staging.xcscheme @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +