Swiftformat: "Failed to format any files" on second run with --config option

Created on 3 Apr 2020  路  25Comments  路  Source: nicklockwood/SwiftFormat

Adding this on the build phase:
${PODS_ROOT}/SwiftFormat/CommandLineTool/swiftformat" "$SRCROOT" ' --config ' "$SRCROOT/../swiftformart"

fails on the second run:
Failed to format any files.

Adding this:
`${PODS_ROOT}/SwiftFormat/CommandLineTool/swiftformat" "$SRCROOT"

Works fine all the times.

version:

  • SwiftFormat/CLI (0.44.6)
bug info needed

Most helpful comment

I've taken steps to solve these issues in 0.44.11, in particular by removing the "Failed to format any files" error and only failing for more specific error cases. Let me know if this doesn't solve the issue(s).

All 25 comments

"swiftformart" looks like a typo

swiftformart, yes, but the naming was consistent between the call and the script name . Revert to the swiftformat doesnt change the outcome.

@brunofgs are there any --exclude rules in your config file?

No.
So just to recap:
Comand in the build phase:
"${PODS_ROOT}/SwiftFormat/CommandLineTool/swiftformat" "$SRCROOT" ' --config ' "$SRCROOT/../swiftformat"

swiftformat file:

# See https://github.com/nicklockwood/SwiftFormat#config-file
# Rules: https://github.com/nicklockwood/SwiftFormat/blob/master/Rules.md

--rules blankLinesBetweenScopes,consecutiveBlankLines,blankLinesBetweenScopes,indent,sortedImports,spaceAroundComments,spaceInsideBraces,todos,trailingSpace

Runs successfully if any file is update, otherwise fails due:
Failed to format any files

I am seeing the same thing.

Config file:

--decimalgrouping 3
--indent 2
--semicolons never
--disable redundantReturn,blankLinesAtStartOfScope,andOperator,specifiers
--wraparguments beforefirst
--wrapcollections beforefirst

Command:

$ swiftformat --config path/to/swiftformat.config [A-Z]*
Running SwiftFormat...
warning: --ranges option is deprecated. Use --nospaceoperators instead.
error: Failed to format any files.
$ echo $?
70

@PompeiaPaetenari this result is very odd because it mentions the --ranges option, which doesn't appear in your config file. SwiftFormat also doesn't support [A-Z]* wildcard patterns for input files.

@PompeiaPaetenari this result is very odd because it mentions the --ranges option, which doesn't appear in your config file. SwiftFormat also doesn't support [A-Z]* wildcard patterns for input files.

Yeah, I am not sure on where the ranges thing comes from either. Maybe just another random bug somewhere?

As to the [A-Z]* thing, that is a bash wildcard. You can see what it does with ls [a-Z]*; basically, it helps when our Swift source code is all in folders starting with uppercase and other modules/Python scripts are with lowercase folders. So, even if SwiftFormat does not accept it, bash will resolve it to a list of directories/files before passing it to SwiftFormat as an argument.

@PompeiaPaetenari is it possible you have a hidden .swiftformat file somewhere in your folder hierarchy? It seems unlikely that the --ranges warning would be produced spontaneously by a bug.

I have one in a parallel folder, but the parent folder, which is my Swift/ directory, only has swift_format.cfg, which also does not have ranges. Nor is there anything in the folders above that.

My only guess is that the Xcode extension I have, which is supposed to be using aforementioned cfg file, is using it somewhere... but that one is 0.44.5. Brew installs the latest, so the CLI one is the most recent. However, even that file has no ranges in it anywhere:

$ cat ../swift_format.cfg |grep ranges
$ 

I attempted to update SwiftFormat from 0.44.0, when this error did not occur, to 0.44.10 and experienced this error, not on the first run either, but the second and any after.

I even switched to Swift Package Manager, so the build phase I am using is this:

# Type a script or drag a script file from your workspace to insert its path.
cd SwiftFormatTools
SDKROOT=macosx # SwiftFormat itself is running on Mac
swift run -c release swiftformat "$SRCROOT"

The .swiftformat file is this:

--exclude Pods
--header "Copyright {year} David Sansome\n//\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n//\n    http://www.apache.org/licenses/LICENSE-2.0\n//\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License."

--indent 2
--semicolons never
--maxwidth 100
--wraparguments after-first
--wrapparameters after-first

Xcode warns: Failed to terminate right before.
Sin t铆tulo

@nicklockwood I would be happy to provide any further information you need to resolve this issue, and hope to see the "more info needed" label removed.

Just in case, here is the output with the verbose flag set, changing the last command to swift run -v -c release swiftformat "$SRCROOT"


Verbose Output

PhaseScriptExecution Swift\ Format /Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/Tsurukame.build/Debug-iphoneos/Tsurukame.build/Script-631CAD61234ACF69008CEA73.sh (in target 'Tsurukame' from project 'Tsurukame')
    cd /Users/matthewbenedict/Documents/GitHub/tsurukame/ios
    export ACTION=build
    export AD_HOC_CODE_SIGNING_ALLOWED=NO
    export ALTERNATE_GROUP=staff
    export ALTERNATE_MODE=u+w,go-w,a+rX
    export ALTERNATE_OWNER=matthewbenedict
    export ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=YES
    export ALWAYS_SEARCH_USER_PATHS=NO
    export ALWAYS_USE_SEPARATE_HEADERMAPS=NO
    export APPLE_INTERNAL_DEVELOPER_DIR=/AppleInternal/Developer
    export APPLE_INTERNAL_DIR=/AppleInternal
    export APPLE_INTERNAL_DOCUMENTATION_DIR=/AppleInternal/Documentation
    export APPLE_INTERNAL_LIBRARY_DIR=/AppleInternal/Library
    export APPLE_INTERNAL_TOOLS=/AppleInternal/Developer/Tools
    export APPLICATION_EXTENSION_API_ONLY=NO
    export APPLY_RULES_IN_COPY_FILES=NO
    export APPLY_RULES_IN_COPY_HEADERS=NO
    export ARCHS=arm64
    export ARCHS_STANDARD="armv7 arm64"
    export ARCHS_STANDARD_32_64_BIT="armv7 arm64"
    export ARCHS_STANDARD_32_BIT=armv7
    export ARCHS_STANDARD_64_BIT=arm64
    export ARCHS_STANDARD_INCLUDING_64_BIT="armv7 arm64"
    export ARCHS_UNIVERSAL_IPHONE_OS="armv7 arm64"
    export ASSETCATALOG_COMPILER_APPICON_NAME=AppIcon
    export AVAILABLE_PLATFORMS="appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator"
    export AppIdentifierPrefix=SJ87WGCZM7.
    export BITCODE_GENERATION_MODE=marker
    export BUILD_ACTIVE_RESOURCES_ONLY=YES
    export BUILD_COMPONENTS="headers build"
    export BUILD_DIR=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Products
    export BUILD_LIBRARY_FOR_DISTRIBUTION=NO
    export BUILD_ROOT=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Products
    export BUILD_STYLE=
    export BUILD_VARIANTS=normal
    export BUILT_PRODUCTS_DIR=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Products/Debug-iphoneos
    export BUNDLE_CONTENTS_FOLDER_PATH_deep=Contents/
    export BUNDLE_EXECUTABLE_FOLDER_NAME_deep=MacOS
    export BUNDLE_FORMAT=shallow
    export BUNDLE_FRAMEWORKS_FOLDER_PATH=Frameworks
    export BUNDLE_PLUGINS_FOLDER_PATH=PlugIns
    export BUNDLE_PRIVATE_HEADERS_FOLDER_PATH=PrivateHeaders
    export BUNDLE_PUBLIC_HEADERS_FOLDER_PATH=Headers
    export CACHE_ROOT=/var/folders/qd/zc5b5dn13rq0z0jl4pbgkygh0000gp/C/com.apple.DeveloperTools/11.4.1-11E503a/Xcode
    export CCHROOT=/var/folders/qd/zc5b5dn13rq0z0jl4pbgkygh0000gp/C/com.apple.DeveloperTools/11.4.1-11E503a/Xcode
    export CHMOD=/bin/chmod
    export CHOWN=/usr/sbin/chown
    export CLANG_ANALYZER_NONNULL=YES
    export CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION=YES_AGGRESSIVE
    export CLANG_CXX_LANGUAGE_STANDARD=gnu++14
    export CLANG_CXX_LIBRARY=libc++
    export CLANG_ENABLE_MODULES=YES
    export CLANG_ENABLE_OBJC_ARC=YES
    export CLANG_MODULES_BUILD_SESSION_FILE=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation
    export CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING=YES
    export CLANG_WARN_BOOL_CONVERSION=YES
    export CLANG_WARN_COMMA=YES
    export CLANG_WARN_CONSTANT_CONVERSION=YES
    export CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS=YES
    export CLANG_WARN_DIRECT_OBJC_ISA_USAGE=YES_ERROR
    export CLANG_WARN_DOCUMENTATION_COMMENTS=YES
    export CLANG_WARN_EMPTY_BODY=YES
    export CLANG_WARN_ENUM_CONVERSION=YES
    export CLANG_WARN_INFINITE_RECURSION=YES
    export CLANG_WARN_INT_CONVERSION=YES
    export CLANG_WARN_NON_LITERAL_NULL_CONVERSION=YES
    export CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF=NO
    export CLANG_WARN_OBJC_LITERAL_CONVERSION=YES
    export CLANG_WARN_OBJC_ROOT_CLASS=YES_ERROR
    export CLANG_WARN_RANGE_LOOP_ANALYSIS=YES
    export CLANG_WARN_STRICT_PROTOTYPES=YES
    export CLANG_WARN_SUSPICIOUS_MOVE=YES
    export CLANG_WARN_UNGUARDED_AVAILABILITY=YES_AGGRESSIVE
    export CLANG_WARN_UNREACHABLE_CODE=YES
    export CLANG_WARN__DUPLICATE_METHOD_MATCH=YES
    export CLASS_FILE_DIR=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/Tsurukame.build/Debug-iphoneos/Tsurukame.build/JavaClasses
    export CLEAN_PRECOMPS=YES
    export CLONE_HEADERS=NO
    export CODESIGNING_FOLDER_PATH=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Products/Debug-iphoneos/Tsurukame.app
    export CODE_SIGNING_ALLOWED=YES
    export CODE_SIGNING_REQUIRED=YES
    export CODE_SIGN_CONTEXT_CLASS=XCiPhoneOSCodeSignContext
    export CODE_SIGN_ENTITLEMENTS=Resources/Tsurukame.entitlements
    export CODE_SIGN_IDENTITY="Apple Development"
    export CODE_SIGN_INJECT_BASE_ENTITLEMENTS=YES
    export CODE_SIGN_STYLE=Automatic
    export COLOR_DIAGNOSTICS=NO
    export COMBINE_HIDPI_IMAGES=NO
    export COMPILER_INDEX_STORE_ENABLE=Default
    export COMPOSITE_SDK_DIRS=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/CompositeSDKs
    export COMPRESS_PNG_FILES=YES
    export CONFIGURATION=Debug
    export CONFIGURATION_BUILD_DIR=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Products/Debug-iphoneos
    export CONFIGURATION_TEMP_DIR=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/Tsurukame.build/Debug-iphoneos
    export CONTENTS_FOLDER_PATH=Tsurukame.app
    export COPYING_PRESERVES_HFS_DATA=NO
    export COPY_HEADERS_RUN_UNIFDEF=NO
    export COPY_PHASE_STRIP=NO
    export COPY_RESOURCES_FROM_STATIC_FRAMEWORKS=YES
    export CORRESPONDING_SIMULATOR_PLATFORM_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
    export CORRESPONDING_SIMULATOR_PLATFORM_NAME=iphonesimulator
    export CORRESPONDING_SIMULATOR_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk
    export CORRESPONDING_SIMULATOR_SDK_NAME=iphonesimulator13.4
    export CP=/bin/cp
    export CREATE_INFOPLIST_SECTION_IN_BINARY=NO
    export CURRENT_ARCH=undefined_arch
    export CURRENT_PROJECT_VERSION=694
    export CURRENT_VARIANT=normal
    export DEAD_CODE_STRIPPING=YES
    export DEBUGGING_SYMBOLS=YES
    export DEBUG_INFORMATION_FORMAT=dwarf
    export DEFAULT_COMPILER=com.apple.compilers.llvm.clang.1_0
    export DEFAULT_DEXT_INSTALL_PATH=/System/Library/DriverExtensions
    export DEFAULT_KEXT_INSTALL_PATH=/System/Library/Extensions
    export DEFINES_MODULE=YES
    export DEPLOYMENT_LOCATION=NO
    export DEPLOYMENT_POSTPROCESSING=NO
    export DEPLOYMENT_TARGET_CLANG_ENV_NAME=IPHONEOS_DEPLOYMENT_TARGET
    export DEPLOYMENT_TARGET_CLANG_FLAG_NAME=miphoneos-version-min
    export DEPLOYMENT_TARGET_CLANG_FLAG_PREFIX=-miphoneos-version-min=
    export DEPLOYMENT_TARGET_LD_ENV_NAME=IPHONEOS_DEPLOYMENT_TARGET
    export DEPLOYMENT_TARGET_LD_FLAG_NAME=ios_version_min
    export DEPLOYMENT_TARGET_SETTING_NAME=IPHONEOS_DEPLOYMENT_TARGET
    export DEPLOYMENT_TARGET_SUGGESTED_VALUES="8.0 8.1 8.2 8.3 8.4 9.0 9.1 9.2 9.3 10.0 10.1 10.2 10.3 11.0 11.1 11.2 11.3 11.4 12.0 12.1 12.2 12.3 12.4 13.0 13.1 13.2 13.3 13.4"
    export DERIVED_FILES_DIR=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/Tsurukame.build/Debug-iphoneos/Tsurukame.build/DerivedSources
    export DERIVED_FILE_DIR=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/Tsurukame.build/Debug-iphoneos/Tsurukame.build/DerivedSources
    export DERIVED_SOURCES_DIR=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/Tsurukame.build/Debug-iphoneos/Tsurukame.build/DerivedSources
    export DERIVE_MACCATALYST_PRODUCT_BUNDLE_IDENTIFIER=YES
    export DEVELOPER_APPLICATIONS_DIR=/Applications/Xcode.app/Contents/Developer/Applications
    export DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/usr/bin
    export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
    export DEVELOPER_FRAMEWORKS_DIR=/Applications/Xcode.app/Contents/Developer/Library/Frameworks
    export DEVELOPER_FRAMEWORKS_DIR_QUOTED=/Applications/Xcode.app/Contents/Developer/Library/Frameworks
    export DEVELOPER_LIBRARY_DIR=/Applications/Xcode.app/Contents/Developer/Library
    export DEVELOPER_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
    export DEVELOPER_TOOLS_DIR=/Applications/Xcode.app/Contents/Developer/Tools
    export DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/usr
    export DEVELOPMENT_LANGUAGE=en
    export DEVELOPMENT_TEAM=SJ87WGCZM7
    export DOCUMENTATION_FOLDER_PATH=Tsurukame.app/en.lproj/Documentation
    export DONT_GENERATE_INFOPLIST_FILE=NO
    export DO_HEADER_SCANNING_IN_JAM=NO
    export DSTROOT=/tmp/Tsurukame.dst
    export DT_TOOLCHAIN_DIR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
    export DWARF_DSYM_FILE_NAME=Tsurukame.app.dSYM
    export DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT=NO
    export DWARF_DSYM_FOLDER_PATH=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Products/Debug-iphoneos
    export EFFECTIVE_PLATFORM_NAME=-iphoneos
    export EMBEDDED_CONTENT_CONTAINS_SWIFT=NO
    export EMBEDDED_PROFILE_NAME=embedded.mobileprovision
    export EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE=NO
    export ENABLE_BITCODE=YES
    export ENABLE_DEFAULT_HEADER_SEARCH_PATHS=YES
    export ENABLE_HARDENED_RUNTIME=NO
    export ENABLE_HEADER_DEPENDENCIES=YES
    export ENABLE_ON_DEMAND_RESOURCES=YES
    export ENABLE_PREVIEWS=NO
    export ENABLE_STRICT_OBJC_MSGSEND=YES
    export ENABLE_TESTABILITY=YES
    export ENABLE_TESTING_SEARCH_PATHS=NO
    export ENTITLEMENTS_ALLOWED=YES
    export ENTITLEMENTS_DESTINATION=Signature
    export ENTITLEMENTS_REQUIRED=YES
    export EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS=".DS_Store .svn .git .hg CVS"
    export EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES="*.nib *.lproj *.framework *.gch *.xcode* *.xcassets (*) .DS_Store CVS .svn .git .hg *.pbproj *.pbxproj"
    export EXECUTABLES_FOLDER_PATH=Tsurukame.app/Executables
    export EXECUTABLE_FOLDER_PATH=Tsurukame.app
    export EXECUTABLE_NAME=Tsurukame
    export EXECUTABLE_PATH=Tsurukame.app/Tsurukame
    export EXPANDED_CODE_SIGN_IDENTITY=94C961B87A25362320E2B4E238F9517317F2A30E
    export EXPANDED_CODE_SIGN_IDENTITY_NAME="Apple Development: [email protected] (9ACBG9YARX)"
    export EXPANDED_PROVISIONING_PROFILE=9fba3b78-1411-4653-8580-dd5a049f361e
    export FILE_LIST=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/Tsurukame.build/Debug-iphoneos/Tsurukame.build/Objects/LinkFileList
    export FIXED_FILES_DIR=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/Tsurukame.build/Debug-iphoneos/Tsurukame.build/FixedFiles
    export FRAMEWORKS_FOLDER_PATH=Tsurukame.app/Frameworks
    export FRAMEWORK_FLAG_PREFIX=-framework
    export FRAMEWORK_SEARCH_PATHS="/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Products/Debug-iphoneos  "/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Products/Debug-iphoneos/Light-Untar" "/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Products/Debug-iphoneos/MMDrawerController" "/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Products/Debug-iphoneos/Protobuf" "/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Products/Debug-iphoneos/Reachability""
    export FRAMEWORK_VERSION=A
    export FULL_PRODUCT_NAME=Tsurukame.app
    export GCC3_VERSION=3.3
    export GCC_C_LANGUAGE_STANDARD=gnu11
    export GCC_DYNAMIC_NO_PIC=NO
    export GCC_INLINES_ARE_PRIVATE_EXTERN=YES
    export GCC_NO_COMMON_BLOCKS=YES
    export GCC_OPTIMIZATION_LEVEL=0
    export GCC_PFE_FILE_C_DIALECTS="c objective-c c++ objective-c++"
    export GCC_PREPROCESSOR_DEFINITIONS="DEBUG=1  COCOAPODS=1 DEBUG=1  GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1"
    export GCC_SYMBOLS_PRIVATE_EXTERN=NO
    export GCC_THUMB_SUPPORT=YES
    export GCC_TREAT_WARNINGS_AS_ERRORS=NO
    export GCC_VERSION=com.apple.compilers.llvm.clang.1_0
    export GCC_VERSION_IDENTIFIER=com_apple_compilers_llvm_clang_1_0
    export GCC_WARN_64_TO_32_BIT_CONVERSION=YES
    export GCC_WARN_ABOUT_RETURN_TYPE=YES_ERROR
    export GCC_WARN_UNDECLARED_SELECTOR=YES
    export GCC_WARN_UNINITIALIZED_AUTOS=YES_AGGRESSIVE
    export GCC_WARN_UNUSED_FUNCTION=YES
    export GCC_WARN_UNUSED_VARIABLE=YES
    export GENERATE_MASTER_OBJECT_FILE=NO
    export GENERATE_PKGINFO_FILE=YES
    export GENERATE_PROFILING_CODE=NO
    export GENERATE_TEXT_BASED_STUBS=NO
    export GID=20
    export GROUP=staff
    export HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT=YES
    export HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES=YES
    export HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS=YES
    export HEADERMAP_INCLUDES_PROJECT_HEADERS=YES
    export HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES=YES
    export HEADERMAP_USES_VFS=YES
    export HEADER_SEARCH_PATHS="/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/SourcePackages/checkouts/fmdb/src/fmdb/. /Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Products/Debug-iphoneos/include . "/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Products/Debug-iphoneos/Light-Untar/Light_Untar.framework/Headers" "/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Products/Debug-iphoneos/MMDrawerController/MMDrawerController.framework/Headers" "/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Products/Debug-iphoneos/Protobuf/protobuf.framework/Headers" "/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Products/Debug-iphoneos/Reachability/Reachability.framework/Headers""
    export HIDE_BITCODE_SYMBOLS=YES
    export HOME=/Users/matthewbenedict
    export ICONV=/usr/bin/iconv
    export INFOPLIST_EXPAND_BUILD_SETTINGS=YES
    export INFOPLIST_FILE=Info.plist
    export INFOPLIST_OUTPUT_FORMAT=binary
    export INFOPLIST_PATH=Tsurukame.app/Info.plist
    export INFOPLIST_PREPROCESS=NO
    export INFOSTRINGS_PATH=Tsurukame.app/en.lproj/InfoPlist.strings
    export INLINE_PRIVATE_FRAMEWORKS=NO
    export INSTALLHDRS_COPY_PHASE=NO
    export INSTALLHDRS_SCRIPT_PHASE=NO
    export INSTALL_DIR=/tmp/Tsurukame.dst/Applications
    export INSTALL_GROUP=staff
    export INSTALL_MODE_FLAG=u+w,go-w,a+rX
    export INSTALL_OWNER=matthewbenedict
    export INSTALL_PATH=/Applications
    export INSTALL_ROOT=/tmp/Tsurukame.dst
    export IPHONEOS_DEPLOYMENT_TARGET=10.0
    export JAVAC_DEFAULT_FLAGS="-J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8"
    export JAVA_APP_STUB=/System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
    export JAVA_ARCHIVE_CLASSES=YES
    export JAVA_ARCHIVE_TYPE=JAR
    export JAVA_COMPILER=/usr/bin/javac
    export JAVA_FOLDER_PATH=Tsurukame.app/Java
    export JAVA_FRAMEWORK_RESOURCES_DIRS=Resources
    export JAVA_JAR_FLAGS=cv
    export JAVA_SOURCE_SUBDIR=.
    export JAVA_USE_DEPENDENCIES=YES
    export JAVA_ZIP_FLAGS=-urg
    export JIKES_DEFAULT_FLAGS="+E +OLDCSO"
    export KASAN_DEFAULT_CFLAGS="-DKASAN=1 -fsanitize=address -mllvm -asan-globals-live-support -mllvm -asan-force-dynamic-shadow"
    export KEEP_PRIVATE_EXTERNS=NO
    export LD_DEPENDENCY_INFO_FILE=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/Tsurukame.build/Debug-iphoneos/Tsurukame.build/Objects-normal/undefined_arch/Tsurukame_dependency_info.dat
    export LD_GENERATE_MAP_FILE=NO
    export LD_MAP_FILE_PATH=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/Tsurukame.build/Debug-iphoneos/Tsurukame.build/Tsurukame-LinkMap-normal-undefined_arch.txt
    export LD_NO_PIE=NO
    export LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER=YES
    export LD_RUNPATH_SEARCH_PATHS=" '@executable_path/Frameworks' '@loader_path/Frameworks' @executable_path/Frameworks"
    export LEGACY_DEVELOPER_DIR=/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
    export LEX=lex
    export LIBRARY_DEXT_INSTALL_PATH=/Library/DriverExtensions
    export LIBRARY_FLAG_NOSPACE=YES
    export LIBRARY_FLAG_PREFIX=-l
    export LIBRARY_KEXT_INSTALL_PATH=/Library/Extensions
    export LIBRARY_SEARCH_PATHS="/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Products/Debug-iphoneos "
    export LINKER_DISPLAYS_MANGLED_NAMES=NO
    export LINK_FILE_LIST_normal_arm64=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/Tsurukame.build/Debug-iphoneos/Tsurukame.build/Objects-normal/arm64/Tsurukame.LinkFileList
    export LINK_WITH_STANDARD_LIBRARIES=YES
    export LLVM_TARGET_TRIPLE_OS_VERSION=ios10.0
    export LLVM_TARGET_TRIPLE_VENDOR=apple
    export LOCALIZED_RESOURCES_FOLDER_PATH=Tsurukame.app/en.lproj
    export LOCALIZED_STRING_MACRO_NAMES="NSLocalizedString CFCopyLocalizedString"
    export LOCALIZED_STRING_SWIFTUI_SUPPORT=YES
    export LOCAL_ADMIN_APPS_DIR=/Applications/Utilities
    export LOCAL_APPS_DIR=/Applications
    export LOCAL_DEVELOPER_DIR=/Library/Developer
    export LOCAL_LIBRARY_DIR=/Library
    export LOCROOT=/Users/matthewbenedict/Documents/GitHub/tsurukame/ios
    export LOCSYMROOT=/Users/matthewbenedict/Documents/GitHub/tsurukame/ios
    export MACH_O_TYPE=mh_execute
    export MAC_OS_X_PRODUCT_BUILD_VERSION=19E287
    export MAC_OS_X_VERSION_ACTUAL=101504
    export MAC_OS_X_VERSION_MAJOR=101500
    export MAC_OS_X_VERSION_MINOR=1504
    export MARKETING_VERSION=1.17
    export METAL_LIBRARY_FILE_BASE=default
    export METAL_LIBRARY_OUTPUT_DIR=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Products/Debug-iphoneos/Tsurukame.app
    export MODULES_FOLDER_PATH=Tsurukame.app/Modules
    export MODULE_CACHE_DIR=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/ModuleCache.noindex
    export MTL_ENABLE_DEBUG_INFO=YES
    export NATIVE_ARCH=armv7
    export NATIVE_ARCH_32_BIT=i386
    export NATIVE_ARCH_64_BIT=x86_64
    export NATIVE_ARCH_ACTUAL=x86_64
    export NO_COMMON=YES
    export OBJECT_FILE_DIR=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/Tsurukame.build/Debug-iphoneos/Tsurukame.build/Objects
    export OBJECT_FILE_DIR_normal=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/Tsurukame.build/Debug-iphoneos/Tsurukame.build/Objects-normal
    export OBJROOT=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex
    export ONLY_ACTIVE_ARCH=YES
    export OS=MACOS
    export OSAC=/usr/bin/osacompile
    export OTHER_CFLAGS="-fmodule-map-file=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/GeneratedModuleMaps/iphoneos/FMDB.modulemap -fmodule-map-file=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/GeneratedModuleMaps/iphoneos/Haneke.modulemap -fmodule-map-file=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/GeneratedModuleMaps/iphoneos/Rexy.modulemap -fmodule-map-file=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/GeneratedModuleMaps/iphoneos/Charts.modulemap  -isystem "/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Products/Debug-iphoneos/Light-Untar/Light_Untar.framework/Headers" -isystem "/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Products/Debug-iphoneos/MMDrawerController/MMDrawerController.framework/Headers" -iframework "/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Products/Debug-iphoneos/Light-Untar" -iframework "/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Products/Debug-iphoneos/MMDrawerController""
    export OTHER_CPLUSPLUSFLAGS="-fmodule-map-file=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/GeneratedModuleMaps/iphoneos/FMDB.modulemap -fmodule-map-file=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/GeneratedModuleMaps/iphoneos/Haneke.modulemap -fmodule-map-file=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/GeneratedModuleMaps/iphoneos/Rexy.modulemap -fmodule-map-file=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/GeneratedModuleMaps/iphoneos/Charts.modulemap  -isystem "/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Products/Debug-iphoneos/Light-Untar/Light_Untar.framework/Headers" -isystem "/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Products/Debug-iphoneos/MMDrawerController/MMDrawerController.framework/Headers" -iframework "/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Products/Debug-iphoneos/Light-Untar" -iframework "/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Products/Debug-iphoneos/MMDrawerController""
    export OTHER_LDFLAGS="-lcompression -framework "Light_Untar" -framework "MMDrawerController" -framework "QuartzCore" -framework "Reachability" -framework "SystemConfiguration" -framework "protobuf""
    export OTHER_SWIFT_FLAGS="-Xcc -fmodule-map-file=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/GeneratedModuleMaps/iphoneos/FMDB.modulemap  -D COCOAPODS -D DEBUG"
    export PACKAGE_TYPE=com.apple.package-type.wrapper.application
    export PASCAL_STRINGS=YES
    export PATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
    export PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES="/usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms"
    export PBDEVELOPMENTPLIST_PATH=Tsurukame.app/pbdevelopment.plist
    export PER_ARCH_OBJECT_FILE_DIR=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/Tsurukame.build/Debug-iphoneos/Tsurukame.build/Objects-normal/undefined_arch
    export PER_VARIANT_OBJECT_FILE_DIR=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/Tsurukame.build/Debug-iphoneos/Tsurukame.build/Objects-normal
    export PKGINFO_FILE_PATH=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/Tsurukame.build/Debug-iphoneos/Tsurukame.build/PkgInfo
    export PKGINFO_PATH=Tsurukame.app/PkgInfo
    export PLATFORM_DEVELOPER_APPLICATIONS_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Applications
    export PLATFORM_DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin
    export PLATFORM_DEVELOPER_LIBRARY_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library
    export PLATFORM_DEVELOPER_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
    export PLATFORM_DEVELOPER_TOOLS_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Tools
    export PLATFORM_DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr
    export PLATFORM_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
    export PLATFORM_DISPLAY_NAME=iOS
    export PLATFORM_FAMILY_NAME=iOS
    export PLATFORM_NAME=iphoneos
    export PLATFORM_PREFERRED_ARCH=arm64
    export PLATFORM_PRODUCT_BUILD_VERSION=17E8258
    export PLIST_FILE_OUTPUT_FORMAT=binary
    export PLUGINS_FOLDER_PATH=Tsurukame.app/PlugIns
    export PODS_BUILD_DIR=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Products
    export PODS_CONFIGURATION_BUILD_DIR=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Products/Debug-iphoneos
    export PODS_PODFILE_DIR_PATH=/Users/matthewbenedict/Documents/GitHub/tsurukame/ios/.
    export PODS_ROOT=/Users/matthewbenedict/Documents/GitHub/tsurukame/ios/Pods
    export PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR=YES
    export PRECOMP_DESTINATION_DIR=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/Tsurukame.build/Debug-iphoneos/Tsurukame.build/PrefixHeaders
    export PRESERVE_DEAD_CODE_INITS_AND_TERMS=NO
    export PRIVATE_HEADERS_FOLDER_PATH=Tsurukame.app/PrivateHeaders
    export PRODUCT_BUNDLE_IDENTIFIER=com.matthewbenedict.wanikani
    export PRODUCT_BUNDLE_PACKAGE_TYPE=APPL
    export PRODUCT_MODULE_NAME=Tsurukame
    export PRODUCT_NAME=Tsurukame
    export PRODUCT_SETTINGS_PATH=/Users/matthewbenedict/Documents/GitHub/tsurukame/ios/Info.plist
    export PRODUCT_TYPE=com.apple.product-type.application
    export PROFILING_CODE=NO
    export PROJECT=Tsurukame
    export PROJECT_DERIVED_FILE_DIR=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/Tsurukame.build/DerivedSources
    export PROJECT_DIR=/Users/matthewbenedict/Documents/GitHub/tsurukame/ios
    export PROJECT_FILE_PATH=/Users/matthewbenedict/Documents/GitHub/tsurukame/ios/Tsurukame.xcodeproj
    export PROJECT_NAME=Tsurukame
    export PROJECT_TEMP_DIR=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/Tsurukame.build
    export PROJECT_TEMP_ROOT=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex
    export PROVISIONING_PROFILE_REQUIRED=YES
    export PUBLIC_HEADERS_FOLDER_PATH=Tsurukame.app/Headers
    export RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS=YES
    export REMOVE_CVS_FROM_RESOURCES=YES
    export REMOVE_GIT_FROM_RESOURCES=YES
    export REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES=YES
    export REMOVE_HG_FROM_RESOURCES=YES
    export REMOVE_SVN_FROM_RESOURCES=YES
    export RESOURCE_RULES_REQUIRED=YES
    export REZ_COLLECTOR_DIR=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/Tsurukame.build/Debug-iphoneos/Tsurukame.build/ResourceManagerResources
    export REZ_OBJECTS_DIR=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/Tsurukame.build/Debug-iphoneos/Tsurukame.build/ResourceManagerResources/Objects
    export REZ_SEARCH_PATHS="/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Products/Debug-iphoneos "
    export SCAN_ALL_SOURCE_FILES_FOR_INCLUDES=NO
    export SCRIPTS_FOLDER_PATH=Tsurukame.app/Scripts
    export SCRIPT_INPUT_FILE_COUNT=0
    export SCRIPT_INPUT_FILE_LIST_COUNT=0
    export SCRIPT_OUTPUT_FILE_COUNT=0
    export SCRIPT_OUTPUT_FILE_LIST_COUNT=0
    export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk
    export SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk
    export SDK_DIR_iphoneos13_4=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk
    export SDK_NAME=iphoneos13.4
    export SDK_NAMES=iphoneos13.4
    export SDK_PRODUCT_BUILD_VERSION=17E8258
    export SDK_VERSION=13.4
    export SDK_VERSION_ACTUAL=130400
    export SDK_VERSION_MAJOR=130000
    export SDK_VERSION_MINOR=400
    export SED=/usr/bin/sed
    export SEPARATE_STRIP=NO
    export SEPARATE_SYMBOL_EDIT=NO
    export SET_DIR_MODE_OWNER_GROUP=YES
    export SET_FILE_MODE_OWNER_GROUP=NO
    export SHALLOW_BUNDLE=YES
    export SHARED_DERIVED_FILE_DIR=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Products/Debug-iphoneos/DerivedSources
    export SHARED_FRAMEWORKS_FOLDER_PATH=Tsurukame.app/SharedFrameworks
    export SHARED_PRECOMPS_DIR=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/PrecompiledHeaders
    export SHARED_SUPPORT_FOLDER_PATH=Tsurukame.app/SharedSupport
    export SKIP_INSTALL=NO
    export SOURCE_ROOT=/Users/matthewbenedict/Documents/GitHub/tsurukame/ios
    export SRCROOT=/Users/matthewbenedict/Documents/GitHub/tsurukame/ios
    export STRINGS_FILE_OUTPUT_ENCODING=binary
    export STRIP_BITCODE_FROM_COPIED_FILES=YES
    export STRIP_INSTALLED_PRODUCT=YES
    export STRIP_STYLE=all
    export STRIP_SWIFT_SYMBOLS=YES
    export SUPPORTED_DEVICE_FAMILIES=1,2
    export SUPPORTED_PLATFORMS="iphoneos iphonesimulator"
    export SUPPORTS_MACCATALYST=YES
    export SUPPORTS_TEXT_BASED_API=NO
    export SWIFT_OBJC_BRIDGING_HEADER=Tsurukame-Bridging-Header.h
    export SWIFT_OPTIMIZATION_LEVEL=-Onone
    export SWIFT_PLATFORM_TARGET_PREFIX=ios
    export SWIFT_RESPONSE_FILE_PATH_normal_arm64=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/Tsurukame.build/Debug-iphoneos/Tsurukame.build/Objects-normal/arm64/Tsurukame.SwiftFileList
    export SWIFT_VERSION=5.0
    export SYMROOT=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Products
    export SYSTEM_ADMIN_APPS_DIR=/Applications/Utilities
    export SYSTEM_APPS_DIR=/Applications
    export SYSTEM_CORE_SERVICES_DIR=/System/Library/CoreServices
    export SYSTEM_DEMOS_DIR=/Applications/Extras
    export SYSTEM_DEVELOPER_APPS_DIR=/Applications/Xcode.app/Contents/Developer/Applications
    export SYSTEM_DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/usr/bin
    export SYSTEM_DEVELOPER_DEMOS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples"
    export SYSTEM_DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
    export SYSTEM_DEVELOPER_DOC_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library"
    export SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools"
    export SYSTEM_DEVELOPER_JAVA_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Java Tools"
    export SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Performance Tools"
    export SYSTEM_DEVELOPER_RELEASENOTES_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes"
    export SYSTEM_DEVELOPER_TOOLS=/Applications/Xcode.app/Contents/Developer/Tools
    export SYSTEM_DEVELOPER_TOOLS_DOC_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools"
    export SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools"
    export SYSTEM_DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/usr
    export SYSTEM_DEVELOPER_UTILITIES_DIR=/Applications/Xcode.app/Contents/Developer/Applications/Utilities
    export SYSTEM_DEXT_INSTALL_PATH=/System/Library/DriverExtensions
    export SYSTEM_DOCUMENTATION_DIR=/Library/Documentation
    export SYSTEM_KEXT_INSTALL_PATH=/System/Library/Extensions
    export SYSTEM_LIBRARY_DIR=/System/Library
    export TAPI_VERIFY_MODE=ErrorsOnly
    export TARGETED_DEVICE_FAMILY=1,2
    export TARGETNAME=Tsurukame
    export TARGET_BUILD_DIR=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Products/Debug-iphoneos
    export TARGET_DEVICE_IDENTIFIER=00008030-000545903630802E
    export TARGET_DEVICE_MODEL=iPhone12,1
    export TARGET_DEVICE_OS_VERSION=13.4.1
    export TARGET_NAME=Tsurukame
    export TARGET_TEMP_DIR=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/Tsurukame.build/Debug-iphoneos/Tsurukame.build
    export TEMP_DIR=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/Tsurukame.build/Debug-iphoneos/Tsurukame.build
    export TEMP_FILES_DIR=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/Tsurukame.build/Debug-iphoneos/Tsurukame.build
    export TEMP_FILE_DIR=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/Tsurukame.build/Debug-iphoneos/Tsurukame.build
    export TEMP_ROOT=/Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex
    export TEST_FRAMEWORK_SEARCH_PATHS=" /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks"
    export TEST_LIBRARY_SEARCH_PATHS=" /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib"
    export TOOLCHAINS=com.apple.dt.toolchain.XcodeDefault
    export TOOLCHAIN_DIR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
    export TREAT_MISSING_BASELINES_AS_TEST_FAILURES=NO
    export TeamIdentifierPrefix=SJ87WGCZM7.
    export UID=502
    export UNLOCALIZED_RESOURCES_FOLDER_PATH=Tsurukame.app
    export UNSTRIPPED_PRODUCT=NO
    export USER=matthewbenedict
    export USER_APPS_DIR=/Users/matthewbenedict/Applications
    export USER_LIBRARY_DIR=/Users/matthewbenedict/Library
    export USE_DYNAMIC_NO_PIC=YES
    export USE_HEADERMAP=YES
    export USE_HEADER_SYMLINKS=NO
    export USE_LLVM_TARGET_TRIPLES=YES
    export USE_LLVM_TARGET_TRIPLES_FOR_CLANG=YES
    export USE_LLVM_TARGET_TRIPLES_FOR_LD=YES
    export USE_LLVM_TARGET_TRIPLES_FOR_TAPI=YES
    export USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES=YES
    export VALIDATE_DEVELOPMENT_ASSET_PATHS=YES_ERROR
    export VALIDATE_PRODUCT=NO
    export VALIDATE_WORKSPACE=YES_ERROR
    export VALID_ARCHS="arm64 arm64e armv7 armv7s"
    export VERBOSE_PBXCP=NO
    export VERSIONING_SYSTEM=apple-generic
    export VERSIONPLIST_PATH=Tsurukame.app/version.plist
    export VERSION_INFO_BUILDER=matthewbenedict
    export VERSION_INFO_FILE=Tsurukame_vers.c
    export VERSION_INFO_STRING=""@(#)PROGRAM:Tsurukame  PROJECT:Tsurukame-694""
    export WRAPPER_EXTENSION=app
    export WRAPPER_NAME=Tsurukame.app
    export WRAPPER_SUFFIX=.app
    export WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES=NO
    export XCODE_APP_SUPPORT_DIR=/Applications/Xcode.app/Contents/Developer/Library/Xcode
    export XCODE_PRODUCT_BUILD_VERSION=11E503a
    export XCODE_VERSION_ACTUAL=1141
    export XCODE_VERSION_MAJOR=1100
    export XCODE_VERSION_MINOR=1140
    export XPCSERVICES_FOLDER_PATH=Tsurukame.app/XPCServices
    export YACC=yacc
    export arch=undefined_arch
    export variant=normal
    /bin/sh -c /Users/matthewbenedict/Library/Developer/Xcode/DerivedData/Tsurukame-drmqpxqbikatxibyigvtqzlahpxy/Build/Intermediates.noindex/Tsurukame.build/Debug-iphoneos/Tsurukame.build/Script-631CAD61234ACF69008CEA73.sh

xcrun --sdk macosx --show-sdk-path
xcrun --sdk macosx --show-sdk-platform-path
xcrun --sdk macosx --find xctest
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -L /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/4_2 -lPackageDescription -Xlinker -rpath -Xlinker /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/4_2 -swift-version 5 -I /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/4_2 -target x86_64-apple-macosx10.10 -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -package-description-version 5.1.0 /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/Package.swift -o /var/folders/qd/zc5b5dn13rq0z0jl4pbgkygh0000gp/T/TemporaryDirectory.gYnJ7d/swiftformattools-manifest
/var/folders/qd/zc5b5dn13rq0z0jl4pbgkygh0000gp/T/TemporaryDirectory.gYnJ7d/swiftformattools-manifest -fileno 1 sandbox-exec -p '(version 1)
(deny default)
(import "system.sb")
(allow file-read*)
(allow process*)
(allow sysctl*)
(allow file-write*
    (regex #"^/private/var/tmp/org\.llvm\.clang.*")
    (regex #"^/var/folders/qd/zc5b5dn13rq0z0jl4pbgkygh0000gp/T/org\.llvm\.clang.*")
    (regex #"^/private/var/folders/qd/zc5b5dn13rq0z0jl4pbgkygh0000gp/T/org\.llvm\.clang.*")
    (regex #"^/private/var/folders/qd/zc5b5dn13rq0z0jl4pbgkygh0000gp/C/org\.llvm\.clang.*")
    (subpath "/Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build")
)
'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -L /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/4_2 -lPackageDescription -Xlinker -rpath -Xlinker /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/4_2 -swift-version 4.2 -I /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/4_2 -target x86_64-apple-macosx10.10 -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -package-description-version 4.2.0 /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/checkouts/SwiftFormat/Package.swift -o /var/folders/qd/zc5b5dn13rq0z0jl4pbgkygh0000gp/T/TemporaryDirectory.nGxPkJ/swiftformat-manifest
/var/folders/qd/zc5b5dn13rq0z0jl4pbgkygh0000gp/T/TemporaryDirectory.nGxPkJ/swiftformat-manifest -fileno 1 sandbox-exec -p '(version 1)
(deny default)
(import "system.sb")
(allow file-read*)
(allow process*)
(allow sysctl*)
(allow file-write*
    (regex #"^/private/var/tmp/org\.llvm\.clang.*")
    (regex #"^/var/folders/qd/zc5b5dn13rq0z0jl4pbgkygh0000gp/T/org\.llvm\.clang.*")
    (regex #"^/private/var/folders/qd/zc5b5dn13rq0z0jl4pbgkygh0000gp/T/org\.llvm\.clang.*")
    (regex #"^/private/var/folders/qd/zc5b5dn13rq0z0jl4pbgkygh0000gp/C/org\.llvm\.clang.*")
    (subpath "/Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build")
)
'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name SwiftFormat -incremental -emit-dependencies -emit-module -emit-module-path /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release/SwiftFormat.swiftmodule -output-file-map /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release/SwiftFormat.build/output-file-map.json -parse-as-library -whole-module-optimization -num-threads 4 -c /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/checkouts/SwiftFormat/Sources/Arguments.swift /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/checkouts/SwiftFormat/Sources/CommandLine.swift /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/checkouts/SwiftFormat/Sources/EnumAssociable.swift /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/checkouts/SwiftFormat/Sources/Examples.swift /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/checkouts/SwiftFormat/Sources/Formatter.swift /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/checkouts/SwiftFormat/Sources/Globs.swift /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/checkouts/SwiftFormat/Sources/Inference.swift /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/checkouts/SwiftFormat/Sources/Options.swift /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/checkouts/SwiftFormat/Sources/OptionsDescriptor.swift /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/checkouts/SwiftFormat/Sources/ParsingHelpers.swift /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/checkouts/SwiftFormat/Sources/Rules.swift /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/checkouts/SwiftFormat/Sources/SwiftFormat.swift /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/checkouts/SwiftFormat/Sources/Tokenizer.swift -I /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release -target x86_64-apple-macosx10.10 -swift-version 4.2 -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -F /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -I /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -L /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -O -g -j4 -DSWIFT_PACKAGE -module-cache-path /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release/ModuleCache -parseable-output -emit-objc-header -emit-objc-header-path /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release/SwiftFormat.build/SwiftFormat-Swift.h
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/checkouts/SwiftFormat/Sources/Arguments.swift /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/checkouts/SwiftFormat/Sources/CommandLine.swift /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/checkouts/SwiftFormat/Sources/EnumAssociable.swift /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/checkouts/SwiftFormat/Sources/Examples.swift /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/checkouts/SwiftFormat/Sources/Formatter.swift /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/checkouts/SwiftFormat/Sources/Globs.swift /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/checkouts/SwiftFormat/Sources/Inference.swift /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/checkouts/SwiftFormat/Sources/Options.swift /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/checkouts/SwiftFormat/Sources/OptionsDescriptor.swift /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/checkouts/SwiftFormat/Sources/ParsingHelpers.swift /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/checkouts/SwiftFormat/Sources/Rules.swift /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/checkouts/SwiftFormat/Sources/SwiftFormat.swift /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/checkouts/SwiftFormat/Sources/Tokenizer.swift -supplementary-output-file-map /var/folders/qd/zc5b5dn13rq0z0jl4pbgkygh0000gp/T/supplementaryOutputs-78a6cc -target x86_64-apple-macosx10.10 -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -I /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release -I /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -g -module-cache-path /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release/ModuleCache -swift-version 4.2 -O -D SWIFT_PACKAGE -parse-as-library -module-name SwiftFormat -num-threads 4 -o /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release/SwiftFormat.build/Arguments.swift.o -o /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release/SwiftFormat.build/CommandLine.swift.o -o /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release/SwiftFormat.build/EnumAssociable.swift.o -o /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release/SwiftFormat.build/Examples.swift.o -o /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release/SwiftFormat.build/Formatter.swift.o -o /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release/SwiftFormat.build/Globs.swift.o -o /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release/SwiftFormat.build/Inference.swift.o -o /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release/SwiftFormat.build/Options.swift.o -o /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release/SwiftFormat.build/OptionsDescriptor.swift.o -o /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release/SwiftFormat.build/ParsingHelpers.swift.o -o /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release/SwiftFormat.build/Rules.swift.o -o /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release/SwiftFormat.build/SwiftFormat.swift.o -o /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release/SwiftFormat.build/Tokenizer.swift.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name CommandLineTool -incremental -emit-dependencies -emit-module -emit-module-path /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release/CommandLineTool.swiftmodule -output-file-map /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release/CommandLineTool.build/output-file-map.json -whole-module-optimization -num-threads 4 -c /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/checkouts/SwiftFormat/CommandLineTool/main.swift -I /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release -target x86_64-apple-macosx10.10 -swift-version 4.2 -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -F /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -I /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -L /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -O -g -j4 -DSWIFT_PACKAGE -module-cache-path /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release/ModuleCache -parseable-output
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/checkouts/SwiftFormat/CommandLineTool/main.swift -emit-module-path /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release/CommandLineTool.swiftmodule -emit-module-doc-path /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release/CommandLineTool.swiftdoc -emit-module-source-info-path /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release/CommandLineTool.swiftsourceinfo -emit-dependencies-path /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release/CommandLineTool.build/CommandLineTool.d -target x86_64-apple-macosx10.10 -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -I /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release -I /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -g -module-cache-path /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release/ModuleCache -swift-version 4.2 -O -D SWIFT_PACKAGE -module-name CommandLineTool -num-threads 4 -o /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release/CommandLineTool.build/main.swift.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -F /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -I /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -L /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -g -L /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release -o /Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release/swiftformat -module-name swiftformat -emit-executable -Xlinker -rpath -Xlinker @loader_path @/Users/matthewbenedict/Documents/GitHub/tsurukame/ios/SwiftFormatTools/.build/x86_64-apple-macosx/release/swiftformat.product/Objects.LinkFileList -Xlinker -rpath -Xlinker /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx -target x86_64-apple-macosx10.10 -L /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib
Running SwiftFormat...
warning: Failed to terminate.
warning: Failed to terminate.
warning: Failed to terminate.
error: Failed to format any files.

@turtlemaster19 what would be really helpful is a sample project that I can use to replicate the issue. It looks like your project is using an open source license, so perhaps you can share it?

Incidentally, "Failed to format any files." is a generic error, and based on the logs I have a strong suspicion that @brunofgs, @PompeiaPaetenari and @turtlemaster19 are all experiencing a different bug, so if you could each share your projects then that will increase the chance I can find a solution.

(It's likely that the root cause requires only a few lines within a single file to replicate, if you're worried about IP.)

@nicklockwood Of course. It will probably bug you about a data.bin, a file used that is in the gitignore, but you should be fine just creating a zero byte file with that name (in the ios directory of the project) unless you actually need to run the app (unlikely since this is at build time)

https://github.com/UInt2048/tsurukame/commit/6a36df5c90d57561ea34b3ccf7f2c6922c67952d

Incidentally, "Failed to format any files." is a generic error, and based on the logs I have a strong suspicion that @brunofgs, @PompeiaPaetenari and @turtlemaster19 are all experiencing a different bug, so if you could each share your projects then that will increase the chance I can find a solution.

(It's likely that the root cause requires only a few lines within a single file to replicate, if you're worried about IP.)

As our codebase is likely nearly a quarter of a million lines of code, and is proprietary, I cannot provide it nor would I know how to narrow down which file, and lines within it, produce the error. If there is some way to narrow it down, I could "scrub" the code as I have in the past and provide it for assistance.

Also, as our Build Phases includes a call to SwiftFormat and checks the return before continuing... this error will prevent us from being able to update. :(

@PompeiaPaetenari
It's probably not to do with the code itself but with a hidden file, or something in the project file.

Please look up how to show hidden files on your operating system, so you can find a file somewhere in your project called .swiftformat

If you're on Mac, typing Command-Shift-Period in Finder should do the trick.

@PompeiaPaetenari @turtlemaster19 @brunofgs If you guys run swiftformat with the --verbose flag (i.e. swiftformat --config <CONFIG_FILE_PATH> --verbose . in your root project directory) you can see which, if any, individual file is failing. From there, you can pinpoint exactly which line(s) are causing the issue by commenting sections of scoped code bit by bit and executing swiftformat on that file till it succeeds. That should at least help pinpoint the potential line(s) causing the issue.

@tony3298 I already did and shared the output. It's kind of long. 馃お

@turtlemaster19 What you posted was the verbose log of the swift run command, not the swiftformat command. I assume if you add --verbose in your build script you should see that output as well, but I was just doing it in terminal.

@turtlemaster19 the issue with your project is fixed on the develop branch.

@brunofgs and @PompeiaPaetenari your issues are unrelated and I still don't have a way to reproduce them, but you can try the develop branch and see if it solves them.

@PompeiaPaetenari I cannot find any explanation for the --ranges warning other than that you have an additional config file, or perhaps a hard-coded command-line option in the script that runs SwiftFormat.

In term of narrowing down the problem, just try deleting files until the warning goes away. The project does not need to compile for SwiftFormat to work as it looks at each source file separately.

Also try running SwiftFormat on the project without going through your build process, and try removing options from your config file, or removing the config altogether. Any variable you can eliminate will make it easier to find the problem.

It would also help to know exactly which SwiftFormat version introduced the error. You can get access to all previous binaries from the github releases page.

I've taken steps to solve these issues in 0.44.11, in particular by removing the "Failed to format any files" error and only failing for more specific error cases. Let me know if this doesn't solve the issue(s).

@PompeiaPaetenari I cannot find any explanation for the --ranges warning other than that you have an additional config file, or perhaps a hard-coded command-line option in the script that runs SwiftFormat.

In term of narrowing down the problem, just try deleting files until the warning goes away. The project does not need to compile for SwiftFormat to work as it looks at each source file separately.

Also try running SwiftFormat on the project without going through your build process, and try removing options from your config file, or removing the config altogether. Any variable you can eliminate will make it easier to find the problem.

It would also help to know exactly which SwiftFormat version introduced the error. You can get access to all previous binaries from the github releases page.

Still getting this one, but the "Failed to format any files" error is gone so that works out.

I am taking a wild guess that the ranges issue comes from having the SwiftFormat Xcode Extension as well, and it saving a config file somewhere (even though I am running from command line, outside of our build). I have no idea where it saves the file it generates to check on that, however. Unless an update will retroactively change the file to update rules without me having to do something to force that change? The last time I saved any rules with the extension was before the specifier order changes.

@PompeiaPaetenari the latest release (0.44.12) now logs the file path of any .swiftformat files it encounters while formatting. That should help you track down the rogue config file.

@PompeiaPaetenari the latest release (0.44.12) now logs the file path of any .swiftformat files it encounters while formatting. That should help you track down the rogue config file.

Perfect, I will give this a try.

Brilliant! I never would have found this otherwise... and not much we can do about Carthage.

/Carthage/Checkouts/fork-PhoneNumberKit/.swiftformat
warning: --ranges option is deprecated. Use --nospaceoperators instead.
Was this page helpful?
0 / 5 - 0 ratings

Related issues

igorkulman picture igorkulman  路  3Comments

dcramps picture dcramps  路  3Comments

meherkasam picture meherkasam  路  3Comments

AniHovhannisyanAni picture AniHovhannisyanAni  路  3Comments

shripada picture shripada  路  3Comments