Warning, /network/kdeconnect-ios/KDE Connect/fastlane/Fastfile is written in an unsupported language. File is not indexed.
0001 # This file contains the fastlane.tools configuration 0002 # You can find the documentation at https://docs.fastlane.tools 0003 # 0004 # For a list of all available actions, check out 0005 # 0006 # https://docs.fastlane.tools/actions 0007 # 0008 # For a list of all available plugins, check out 0009 # 0010 # https://docs.fastlane.tools/plugins/available-plugins 0011 # 0012 0013 # Uncomment the line if you want fastlane to automatically update itself 0014 # update_fastlane 0015 0016 default_platform(:ios) 0017 0018 platform :ios do 0019 desc "Generate new localized screenshots" 0020 lane :screenshots do 0021 # Create missing simiulators 0022 sh(%q{ 0023 if [ -z "`xcrun simctl list devices available | grep 'iPhone 8 Plus'`" ]; then 0024 xcrun simctl create 'iPhone 8 Plus' 'com.apple.CoreSimulator.SimDeviceType.iPhone-8-Plus'; 0025 fi 0026 if [ -z "`xcrun simctl list devices available | grep 'iPhone 13 Pro Max'`" ]; then 0027 xcrun simctl create 'iPhone 13 Pro Max' 'com.apple.CoreSimulator.SimDeviceType.iPhone-13-Pro-Max'; 0028 fi 0029 if [ -z "`xcrun simctl list devices available | grep 'iPhone 14 Pro Max'`" ]; then 0030 xcrun simctl create 'iPhone 14 Pro Max' 'com.apple.CoreSimulator.SimDeviceType.iPhone-14-Pro-Max'; 0031 fi 0032 if [ -z "`xcrun simctl list devices available | grep 'iPad Pro (12.9-inch) (2nd generation)'`" ]; then 0033 xcrun simctl create 'iPad Pro (12.9-inch) (2nd generation)' 'com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---2nd-generation-'; 0034 fi 0035 if [ -z "`xcrun simctl list devices available | grep 'iPad Pro (12.9-inch) (6th generation)'`" ]; then 0036 xcrun simctl create 'iPad Pro (12.9-inch) (6th generation)' 'com.apple.CoreSimulator.SimDeviceType.iPad-Pro-12-9-inch-6th-generation-8GB'; 0037 fi 0038 }) 0039 capture_screenshots(scheme: "KDE ConnectUITests") 0040 end 0041 end