IBDecodable / IBLinter

A linter tool for Interface Builder
MIT License
948 stars 42 forks source link

IBLinter 0.4.14 is broken #93

Closed nysander closed 5 years ago

nysander commented 5 years ago

after installing via cocoa pods:

xcode 10.2 / swift 5

dyld: Library not loaded: @rpath/libswiftCore.dylib
  Referenced from: XcodeProject/./Pods/IBLinter/bin/iblinter
  Reason: image not found
Abort trap: 6

reverted to 0.4.13 and it works

kateinoigakukun commented 5 years ago

@nysander Umm..., I can't reproduce the error. Which OS version do you use?

nysander commented 5 years ago

Mojave 10.14.3

nysander commented 5 years ago

it looks like IBLinter run through Build Phase in Workspace gives this error:

below excerpt from failed Jenkins job:

Analyzing dependencies
Downloading dependencies
Installing IBLinter 0.4.14 (was 0.4.13)
Using PureLayout (3.1.4)
Using R.swift (5.0.3)
Using R.swift.Library (5.0.1)
Using SwiftLint (0.31.0)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 4 dependencies from the Podfile and 5 total pods installed.
Working directory is /Users/Shared/Jenkins/Home/workspace/[WORKSPACENAME].
Fetching marketing version number (CFBundleShortVersionString) from project.
PhaseScriptExecution IBLinter /Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex/[PROJECTNAME].build/Debug-iphonesimulator/[PROJECTNAME].build/Script-192F7D432242ECC900B6F6DE.sh (in target: [PROJECTNAME])
    cd /Users/Shared/Jenkins/Home/workspace/[PROJECTNAME]
    export ACTION=build
    export AD_HOC_CODE_SIGNING_ALLOWED=YES
    export ALTERNATE_GROUP=daemon
    export ALTERNATE_MODE=u+w,go-w,a+rX
    export ALTERNATE_OWNER=jenkins
    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 ARCHS=x86_64
    export ARCHS_STANDARD="i386 x86_64"
    export ARCHS_STANDARD_32_64_BIT="i386 x86_64"
    export ARCHS_STANDARD_32_BIT=i386
    export ARCHS_STANDARD_64_BIT=x86_64
    export ARCHS_STANDARD_INCLUDING_64_BIT="i386 x86_64"
    export ARCHS_UNIVERSAL_IPHONE_OS="i386 x86_64"
    export ASSETCATALOG_COMPILER_APPICON_NAME=AppIcon
    export AVAILABLE_PLATFORMS="appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator"
    export AppIdentifierPrefix=2RCRNP22LU.
    export BITCODE_GENERATION_MODE=marker
    export BUILD_ACTIVE_RESOURCES_ONLY=YES
    export BUILD_COMPONENTS="headers build"
    export BUILD_DIR=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Products
    export BUILD_ROOT=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Products
    export BUILD_STYLE=
    export BUILD_VARIANTS=normal
    export BUILT_PRODUCTS_DIR=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Products/Debug-iphonesimulator
    export CACHE_ROOT=/var/folders/2z/fvb1g_6d3_x8mgfzmvv66s6c00008f/C/com.apple.DeveloperTools/10.2-10E125/Xcode
    export CCHROOT=/var/folders/2z/fvb1g_6d3_x8mgfzmvv66s6c00008f/C/com.apple.DeveloperTools/10.2-10E125/Xcode
    export CHMOD=/bin/chmod
    export CHOWN=/usr/sbin/chown
    export CLANG_ADDRESS_SANITIZER_CONTAINER_OVERFLOW=YES
    export CLANG_ANALYZER_DEADCODE_DEADSTORES=YES
    export CLANG_ANALYZER_GCD=YES
    export CLANG_ANALYZER_GCD_PERFORMANCE=YES
    export CLANG_ANALYZER_LOCALIZABILITY_EMPTY_CONTEXT=YES
    export CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED=YES
    export CLANG_ANALYZER_MEMORY_MANAGEMENT=YES
    export CLANG_ANALYZER_NONNULL=YES
    export CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION=YES_AGGRESSIVE
    export CLANG_ANALYZER_OBJC_ATSYNC=YES
    export CLANG_ANALYZER_OBJC_COLLECTIONS=YES
    export CLANG_ANALYZER_OBJC_DEALLOC=YES
    export CLANG_ANALYZER_OBJC_GENERICS=YES
    export CLANG_ANALYZER_OBJC_INCOMP_METHOD_TYPES=YES
    export CLANG_ANALYZER_OBJC_NSCFERROR=YES
    export CLANG_ANALYZER_OBJC_RETAIN_COUNT=YES
    export CLANG_ANALYZER_OBJC_SELF_INIT=YES
    export CLANG_ANALYZER_OBJC_UNUSED_IVARS=YES
    export CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER=YES
    export CLANG_ANALYZER_SECURITY_INSECUREAPI_GETPW_GETS=YES
    export CLANG_ANALYZER_SECURITY_INSECUREAPI_MKSTEMP=YES
    export CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND=YES
    export CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY=YES
    export CLANG_ANALYZER_SECURITY_INSECUREAPI_UNCHECKEDRETURN=YES
    export CLANG_ANALYZER_SECURITY_INSECUREAPI_VFORK=YES
    export CLANG_ANALYZER_SECURITY_KEYCHAIN_API=YES
    export CLANG_COVERAGE_MAPPING=YES
    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_ENABLE_OBJC_WEAK=YES
    export CLANG_MODULES_BUILD_SESSION_FILE=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation
    export CLANG_PROFILE_DATA_DIRECTORY=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/ProfileData
    export CLANG_STATIC_ANALYZER_MODE=Deep
    export CLANG_STATIC_ANALYZER_MODE_ON_ANALYZE_ACTION=Deep
    export CLANG_UNDEFINED_BEHAVIOR_SANITIZER_INTEGER=YES
    export CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY=YES
    export CLANG_WARN_ASSIGN_ENUM=YES
    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_CXX0X_EXTENSIONS=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_FLOAT_CONVERSION=YES
    export CLANG_WARN_IMPLICIT_SIGN_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_NULLABLE_TO_NONNULL_CONVERSION=YES
    export CLANG_WARN_OBJC_EXPLICIT_OWNERSHIP_TYPE=YES
    export CLANG_WARN_OBJC_IMPLICIT_ATOMIC_PROPERTIES=YES
    export CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF=YES
    export CLANG_WARN_OBJC_INTERFACE_IVARS=YES
    export CLANG_WARN_OBJC_LITERAL_CONVERSION=YES
    export CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK=YES_AGGRESSIVE
    export CLANG_WARN_OBJC_ROOT_CLASS=YES_ERROR
    export CLANG_WARN_RANGE_LOOP_ANALYSIS=YES
    export CLANG_WARN_SEMICOLON_BEFORE_METHOD_BODY=YES
    export CLANG_WARN_STRICT_PROTOTYPES=YES
    export CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION=YES
    export CLANG_WARN_SUSPICIOUS_MOVE=YES
    export CLANG_WARN_UNGUARDED_AVAILABILITY=YES_AGGRESSIVE
    export CLANG_WARN_UNREACHABLE_CODE=YES
    export CLANG_WARN__ARC_BRIDGE_CAST_NONARC=YES
    export CLANG_WARN__DUPLICATE_METHOD_MATCH=YES
    export CLANG_WARN__EXIT_TIME_DESTRUCTORS=YES
    export CLASS_FILE_DIR=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex/[PROJECTNAME].build/Debug-iphonesimulator/[PROJECTNAME].build/JavaClasses
    export CLEAN_PRECOMPS=YES
    export CLONE_HEADERS=NO
    export CODESIGNING_FOLDER_PATH=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Products/Debug-iphonesimulator/[PROJECTNAME].app
    export CODE_SIGNING_ALLOWED=YES
    export CODE_SIGNING_REQUIRED=YES
    export CODE_SIGN_CONTEXT_CLASS=XCiPhoneSimulatorCodeSignContext
    export CODE_SIGN_IDENTITY="iPhone Developer: pawel.madej+appleid@amukana.pl (7955JF7F5L)"
    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/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex/CompositeSDKs
    export COMPRESS_PNG_FILES=YES
    export CONFIGURATION=Debug
    export CONFIGURATION_BUILD_DIR=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Products/Debug-iphonesimulator
    export CONFIGURATION_TEMP_DIR=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex/[PROJECTNAME].build/Debug-iphonesimulator
    export CONTENTS_FOLDER_PATH=[PROJECTNAME].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_DEVICE_PLATFORM_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
    export CORRESPONDING_DEVICE_PLATFORM_NAME=iphoneos
    export CORRESPONDING_DEVICE_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk
    export CORRESPONDING_DEVICE_SDK_NAME=iphoneos12.2
    export CP=/bin/cp
    export CREATE_INFOPLIST_SECTION_IN_BINARY=NO
    export CURRENT_ARCH=undefined_arch
    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_KEXT_INSTALL_PATH=/System/Library/Extensions
    export DEFINES_MODULE=NO
    export DEPLOYMENT_LOCATION=NO
    export DEPLOYMENT_POSTPROCESSING=NO
    export DEPLOYMENT_TARGET_CLANG_ENV_NAME=IPHONEOS_DEPLOYMENT_TARGET
    export DEPLOYMENT_TARGET_CLANG_FLAG_NAME=mios-simulator-version-min
    export DEPLOYMENT_TARGET_CLANG_FLAG_PREFIX=-mios-simulator-version-min=
    export DEPLOYMENT_TARGET_LD_ENV_NAME=IPHONEOS_DEPLOYMENT_TARGET
    export DEPLOYMENT_TARGET_LD_FLAG_NAME=ios_simulator_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"
    export DERIVED_FILES_DIR=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex/[PROJECTNAME].build/Debug-iphonesimulator/[PROJECTNAME].build/DerivedSources
    export DERIVED_FILE_DIR=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex/[PROJECTNAME].build/Debug-iphonesimulator/[PROJECTNAME].build/DerivedSources
    export DERIVED_SOURCES_DIR=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex/[PROJECTNAME].build/Debug-iphonesimulator/[PROJECTNAME].build/DerivedSources
    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=2RCRNP22LU
    export DOCUMENTATION_FOLDER_PATH=[PROJECTNAME].app/en.lproj/Documentation
    export DO_HEADER_SCANNING_IN_JAM=NO
    export DSTROOT=/tmp/[PROJECTNAME].dst
    export DT_TOOLCHAIN_DIR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
    export DWARF_DSYM_FILE_NAME=[PROJECTNAME].app.dSYM
    export DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT=NO
    export DWARF_DSYM_FOLDER_PATH=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Products/Debug-iphonesimulator
    export EFFECTIVE_PLATFORM_NAME=-iphonesimulator
    export EMBEDDED_CONTENT_CONTAINS_SWIFT=NO
    export EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE=NO
    export ENABLE_BITCODE=NO
    export ENABLE_DEFAULT_HEADER_SEARCH_PATHS=YES
    export ENABLE_HEADER_DEPENDENCIES=YES
    export ENABLE_ON_DEMAND_RESOURCES=YES
    export ENABLE_STRICT_OBJC_MSGSEND=YES
    export ENABLE_TESTABILITY=YES
    export ENTITLEMENTS_DESTINATION=__entitlements
    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=[PROJECTNAME].app/Executables
    export EXECUTABLE_FOLDER_PATH=[PROJECTNAME].app
    export EXECUTABLE_NAME=[PROJECTNAME]
    export EXECUTABLE_PATH=[PROJECTNAME].app/[PROJECTNAME]
    export EXPANDED_CODE_SIGN_IDENTITY=-
    export EXPANDED_CODE_SIGN_IDENTITY_NAME=-
    export FILE_LIST=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex/[PROJECTNAME].build/Debug-iphonesimulator/[PROJECTNAME].build/Objects/LinkFileList
    export FIXED_FILES_DIR=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex/[PROJECTNAME].build/Debug-iphonesimulator/[PROJECTNAME].build/FixedFiles
    export FRAMEWORKS_FOLDER_PATH=[PROJECTNAME].app/Frameworks
    export FRAMEWORK_FLAG_PREFIX=-framework
    export FRAMEWORK_SEARCH_PATHS="/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Products/Debug-iphonesimulator  "/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Products/Debug-iphonesimulator/PureLayout" "/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Products/Debug-iphonesimulator/R.swift.Library""
    export FRAMEWORK_VERSION=A
    export FULL_PRODUCT_NAME=[PROJECTNAME].app
    export GCC3_VERSION=3.3
    export GCC_C_LANGUAGE_STANDARD=gnu11
    export GCC_DYNAMIC_NO_PIC=NO
    export GCC_ENABLE_TRIGRAPHS=NO
    export GCC_INLINES_ARE_PRIVATE_EXTERN=YES
    export GCC_NO_COMMON_BLOCKS=YES
    export GCC_OBJC_LEGACY_DISPATCH=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"
    export GCC_SYMBOLS_PRIVATE_EXTERN=NO
    export GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS=YES
    export GCC_TREAT_INCOMPATIBLE_POINTER_TYPE_WARNINGS_AS_ERRORS=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_DEPRECATED_FUNCTIONS=YES
    export GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO=YES
    export GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS=YES
    export GCC_WARN_ABOUT_MISSING_NEWLINE=YES
    export GCC_WARN_ABOUT_MISSING_PROTOTYPES=YES
    export GCC_WARN_ABOUT_POINTER_SIGNEDNESS=YES
    export GCC_WARN_ABOUT_RETURN_TYPE=YES_ERROR
    export GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL=YES
    export GCC_WARN_CHECK_SWITCH_STATEMENTS=YES
    export GCC_WARN_FOUR_CHARACTER_CONSTANTS=YES
    export GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS=YES
    export GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED=YES
    export GCC_WARN_MISSING_PARENTHESES=YES
    export GCC_WARN_NON_VIRTUAL_DESTRUCTOR=YES
    export GCC_WARN_SHADOW=YES
    export GCC_WARN_SIGN_COMPARE=YES
    export GCC_WARN_STRICT_SELECTOR_MATCH=YES
    export GCC_WARN_TYPECHECK_CALLS_TO_PRINTF=YES
    export GCC_WARN_UNDECLARED_SELECTOR=YES
    export GCC_WARN_UNINITIALIZED_AUTOS=YES_AGGRESSIVE
    export GCC_WARN_UNKNOWN_PRAGMAS=YES
    export GCC_WARN_UNUSED_FUNCTION=YES
    export GCC_WARN_UNUSED_LABEL=YES
    export GCC_WARN_UNUSED_VALUE=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=1
    export GROUP=daemon
    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=NO
    export HEADER_SEARCH_PATHS="/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Products/Debug-iphonesimulator/include  "/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Products/Debug-iphonesimulator/PureLayout/PureLayout.framework/Headers" "/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Products/Debug-iphonesimulator/R.swift.Library/Rswift.framework/Headers""
    export HIDE_BITCODE_SYMBOLS=YES
    export HOME=/Users/Shared/Jenkins
    export ICONV=/usr/bin/iconv
    export INFOPLIST_EXPAND_BUILD_SETTINGS=YES
    export INFOPLIST_FILE=[PROJECTNAME]/Info.plist
    export INFOPLIST_OUTPUT_FORMAT=binary
    export INFOPLIST_PATH=[PROJECTNAME].app/Info.plist
    export INFOPLIST_PREPROCESS=NO
    export INFOSTRINGS_PATH=[PROJECTNAME].app/en.lproj/InfoPlist.strings
    export INLINE_PRIVATE_FRAMEWORKS=NO
    export INSTALLHDRS_COPY_PHASE=NO
    export INSTALLHDRS_SCRIPT_PHASE=NO
    export INSTALL_DIR=/tmp/[PROJECTNAME].dst/Applications
    export INSTALL_GROUP=daemon
    export INSTALL_MODE_FLAG=u+w,go-w,a+rX
    export INSTALL_OWNER=jenkins
    export INSTALL_PATH=/Applications
    export INSTALL_ROOT=/tmp/[PROJECTNAME].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=[PROJECTNAME].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 KEEP_PRIVATE_EXTERNS=NO
    export LD_DEPENDENCY_INFO_FILE=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex/[PROJECTNAME].build/Debug-iphonesimulator/[PROJECTNAME].build/Objects-normal/undefined_arch/[PROJECTNAME]_dependency_info.dat
    export LD_ENTITLEMENTS_SECTION=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex/[PROJECTNAME].build/Debug-iphonesimulator/[PROJECTNAME].build/[PROJECTNAME].app-Simulated.xcent
    export LD_GENERATE_MAP_FILE=NO
    export LD_MAP_FILE_PATH=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex/[PROJECTNAME].build/Debug-iphonesimulator/[PROJECTNAME].build/[PROJECTNAME]-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_FLAG_NOSPACE=YES
    export LIBRARY_FLAG_PREFIX=-l
    export LIBRARY_KEXT_INSTALL_PATH=/Library/Extensions
    export LIBRARY_SEARCH_PATHS="/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Products/Debug-iphonesimulator "
    export LINKER_DISPLAYS_MANGLED_NAMES=NO
    export LINK_FILE_LIST_normal_x86_64=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex/[PROJECTNAME].build/Debug-iphonesimulator/[PROJECTNAME].build/Objects-normal/x86_64/[PROJECTNAME].LinkFileList
    export LINK_WITH_STANDARD_LIBRARIES=YES
    export LLVM_TARGET_TRIPLE_SUFFIX=-simulator
    export LOCALIZED_RESOURCES_FOLDER_PATH=[PROJECTNAME].app/en.lproj
    export LOCALIZED_STRING_MACRO_NAMES="NSLocalizedString CFLocalizedString"
    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/Shared/Jenkins/Home/workspace/[PROJECTNAME]
    export LOCSYMROOT=/Users/Shared/Jenkins/Home/workspace/[PROJECTNAME]
    export MACH_O_TYPE=mh_execute
    export MAC_OS_X_PRODUCT_BUILD_VERSION=18D109
    export MAC_OS_X_VERSION_ACTUAL=101403
    export MAC_OS_X_VERSION_MAJOR=101400
    export MAC_OS_X_VERSION_MINOR=1403
    export METAL_LIBRARY_FILE_BASE=default
    export METAL_LIBRARY_OUTPUT_DIR=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Products/Debug-iphonesimulator/[PROJECTNAME].app
    export MODULE_CACHE_DIR=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/ModuleCache.noindex
    export MTL_ENABLE_DEBUG_INFO=INCLUDE_SOURCE
    export MTL_FAST_MATH=YES
    export NATIVE_ARCH=i386
    export NATIVE_ARCH_32_BIT=i386
    export NATIVE_ARCH_64_BIT=x86_64
    export NATIVE_ARCH_ACTUAL=x86_64
    export NO_COMMON=YES
    export OBJC_ABI_VERSION=2
    export OBJECT_FILE_DIR=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex/[PROJECTNAME].build/Debug-iphonesimulator/[PROJECTNAME].build/Objects
    export OBJECT_FILE_DIR_normal=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex/[PROJECTNAME].build/Debug-iphonesimulator/[PROJECTNAME].build/Objects-normal
    export OBJROOT=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex
    export ONLY_ACTIVE_ARCH=YES
    export OS=MACOS
    export OSAC=/usr/bin/osacompile
    export OTHER_LDFLAGS=" -framework "PureLayout" -framework "Rswift""
    export OTHER_SWIFT_FLAGS=" -D COCOAPODS"
    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/iPhoneSimulator.platform/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/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=[PROJECTNAME].app/pbdevelopment.plist
    export PER_ARCH_OBJECT_FILE_DIR=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex/[PROJECTNAME].build/Debug-iphonesimulator/[PROJECTNAME].build/Objects-normal/undefined_arch
    export PER_VARIANT_OBJECT_FILE_DIR=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex/[PROJECTNAME].build/Debug-iphonesimulator/[PROJECTNAME].build/Objects-normal
    export PKGINFO_FILE_PATH=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex/[PROJECTNAME].build/Debug-iphonesimulator/[PROJECTNAME].build/PkgInfo
    export PKGINFO_PATH=[PROJECTNAME].app/PkgInfo
    export PLATFORM_DEVELOPER_APPLICATIONS_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications
    export PLATFORM_DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin
    export PLATFORM_DEVELOPER_LIBRARY_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library
    export PLATFORM_DEVELOPER_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs
    export PLATFORM_DEVELOPER_TOOLS_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Tools
    export PLATFORM_DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr
    export PLATFORM_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
    export PLATFORM_DISPLAY_NAME="iOS Simulator"
    export PLATFORM_NAME=iphonesimulator
    export PLATFORM_PREFERRED_ARCH=x86_64
    export PLATFORM_PRODUCT_BUILD_VERSION=10E125
    export PLIST_FILE_OUTPUT_FORMAT=binary
    export PLUGINS_FOLDER_PATH=[PROJECTNAME].app/PlugIns
    export PODS_BUILD_DIR=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Products
    export PODS_CONFIGURATION_BUILD_DIR=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Products/Debug-iphonesimulator
    export PODS_PODFILE_DIR_PATH=/Users/Shared/Jenkins/Home/workspace/[PROJECTNAME]/.
    export PODS_ROOT=/Users/Shared/Jenkins/Home/workspace/[PROJECTNAME]/Pods
    export PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR=YES
    export PRECOMP_DESTINATION_DIR=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex/[PROJECTNAME].build/Debug-iphonesimulator/[PROJECTNAME].build/PrefixHeaders
    export PRESERVE_DEAD_CODE_INITS_AND_TERMS=NO
    export PRIVATE_HEADERS_FOLDER_PATH=[PROJECTNAME].app/PrivateHeaders
    export PRODUCT_BUNDLE_IDENTIFIER=pl.mayam.[PROJECTNAME]
    export PRODUCT_MODULE_NAME=[PROJECTNAME]
    export PRODUCT_NAME=[PROJECTNAME]
    export PRODUCT_SETTINGS_PATH=/Users/Shared/Jenkins/Home/workspace/[PROJECTNAME]/[PROJECTNAME]/Info.plist
    export PRODUCT_TYPE=com.apple.product-type.application
    export PROFILING_CODE=NO
    export PROJECT=[PROJECTNAME]
    export PROJECT_DERIVED_FILE_DIR=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex/[PROJECTNAME].build/DerivedSources
    export PROJECT_DIR=/Users/Shared/Jenkins/Home/workspace/[PROJECTNAME]
    export PROJECT_FILE_PATH=/Users/Shared/Jenkins/Home/workspace/[PROJECTNAME]/[PROJECTNAME].xcodeproj
    export PROJECT_NAME=[PROJECTNAME]
    export PROJECT_TEMP_DIR=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex/[PROJECTNAME].build
    export PROJECT_TEMP_ROOT=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex
    export PUBLIC_HEADERS_FOLDER_PATH=[PROJECTNAME].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 REZ_COLLECTOR_DIR=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex/[PROJECTNAME].build/Debug-iphonesimulator/[PROJECTNAME].build/ResourceManagerResources
    export REZ_OBJECTS_DIR=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex/[PROJECTNAME].build/Debug-iphonesimulator/[PROJECTNAME].build/ResourceManagerResources/Objects
    export REZ_SEARCH_PATHS="/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Products/Debug-iphonesimulator "
    export RUN_CLANG_STATIC_ANALYZER=YES
    export SCAN_ALL_SOURCE_FILES_FOR_INCLUDES=NO
    export SCRIPTS_FOLDER_PATH=[PROJECTNAME].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/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk
    export SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk
    export SDK_DIR_iphonesimulator12_2=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk
    export SDK_NAME=iphonesimulator12.2
    export SDK_NAMES=iphonesimulator12.2
    export SDK_PRODUCT_BUILD_VERSION=16E226
    export SDK_VERSION=12.2
    export SDK_VERSION_ACTUAL=120200
    export SDK_VERSION_MAJOR=120000
    export SDK_VERSION_MINOR=200
    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/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Products/Debug-iphonesimulator/DerivedSources
    export SHARED_FRAMEWORKS_FOLDER_PATH=[PROJECTNAME].app/SharedFrameworks
    export SHARED_PRECOMPS_DIR=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex/PrecompiledHeaders
    export SHARED_SUPPORT_FOLDER_PATH=[PROJECTNAME].app/SharedSupport
    export SKIP_INSTALL=NO
    export SOURCE_ROOT=/Users/Shared/Jenkins/Home/workspace/[PROJECTNAME]
    export SRCROOT=/Users/Shared/Jenkins/Home/workspace/[PROJECTNAME]
    export STRINGS_FILE_OUTPUT_ENCODING=binary
    export STRIP_BITCODE_FROM_COPIED_FILES=NO
    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_TEXT_BASED_API=NO
    export SWIFT_ACTIVE_COMPILATION_CONDITIONS=DEBUG
    export SWIFT_ENFORCE_EXCLUSIVE_ACCESS=on
    export SWIFT_OPTIMIZATION_LEVEL=-Onone
    export SWIFT_PLATFORM_TARGET_PREFIX=ios
    export SWIFT_VERSION=5.0
    export SYMROOT=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/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_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
    export TARGETNAME=[PROJECTNAME]
    export TARGET_BUILD_DIR=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Products/Debug-iphonesimulator
    export TARGET_DEVICE_IDENTIFIER=6E128BA8-29BD-4B5A-BB6E-6E4C3C0541C9
    export TARGET_DEVICE_MODEL=iPhone10,4
    export TARGET_DEVICE_OS_VERSION=12.2
    export TARGET_NAME=[PROJECTNAME]
    export TARGET_TEMP_DIR=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex/[PROJECTNAME].build/Debug-iphonesimulator/[PROJECTNAME].build
    export TEMP_DIR=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex/[PROJECTNAME].build/Debug-iphonesimulator/[PROJECTNAME].build
    export TEMP_FILES_DIR=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex/[PROJECTNAME].build/Debug-iphonesimulator/[PROJECTNAME].build
    export TEMP_FILE_DIR=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex/[PROJECTNAME].build/Debug-iphonesimulator/[PROJECTNAME].build
    export TEMP_ROOT=/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex
    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=2RCRNP22LU.
    export UID=270
    export UNLOCALIZED_RESOURCES_FOLDER_PATH=[PROJECTNAME].app
    export UNSTRIPPED_PRODUCT=NO
    export USER=jenkins
    export USER_APPS_DIR=/Users/Shared/Jenkins/Applications
    export USER_LIBRARY_DIR=/Users/Shared/Jenkins/Library
    export USE_DYNAMIC_NO_PIC=YES
    export USE_HEADERMAP=YES
    export USE_HEADER_SYMLINKS=NO
    export VALIDATE_PRODUCT=NO
    export VALID_ARCHS="i386 x86_64"
    export VERBOSE_PBXCP=NO
    export VERSIONPLIST_PATH=[PROJECTNAME].app/version.plist
    export VERSION_INFO_BUILDER=jenkins
    export VERSION_INFO_FILE=[PROJECTNAME]_vers.c
    export VERSION_INFO_STRING=""@(#)PROGRAM:[PROJECTNAME]  PROJECT:[PROJECTNAME]-""
    export WRAPPER_EXTENSION=app
    export WRAPPER_NAME=[PROJECTNAME].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=10E125
    export XCODE_VERSION_ACTUAL=1020
    export XCODE_VERSION_MAJOR=1000
    export XCODE_VERSION_MINOR=1020
    export XPCSERVICES_FOLDER_PATH=[PROJECTNAME].app/XPCServices
    export YACC=yacc
    export arch=undefined_arch
    export variant=normal
    /bin/sh -c /Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex/[PROJECTNAME].build/Debug-iphonesimulator/[PROJECTNAME].build/Script-192F7D432242ECC900B6F6DE.sh
dyld: Library not loaded: @rpath/libswiftCore.dylib
  Referenced from: /Users/Shared/Jenkins/Home/workspace/[PROJECTNAME]/Pods/IBLinter/bin/iblinter
  Reason: image not found
/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-etfywysxvttkuecgfosgolkxbhxd/Build/Intermediates.noindex/[PROJECTNAME].build/Debug-iphonesimulator/[PROJECTNAME].build/Script-192F7D432242ECC900B6F6DE.sh: line 2:  3307 Abort trap: 6           "${PODS_ROOT}/IBLinter/bin/iblinter"
Command PhaseScriptExecution failed with a nonzero exit code

2019-04-04 19:50:38.940 xcodebuild[3191:154269]  DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-14490.120/IDEFoundation/Logging/ActivityLog/IDEActivityLogSectionRecorder.m:1050
Details:  log recorder was sent -stopRecordingWithInfo:completionBlock: after it had already been asked to stop recording.
Object:   <IDEActivityLogSectionRecorder: 0x7fbe5f7861e0>
Method:   -stopRecordingWithInfo:completionBlock:
Thread:   <NSThread: 0x7fbe5f4ab0b0>{number = 9, name = (null)}
Please file a bug at https://bugreport.apple.com with this warning message and any useful information you can provide.

Testing failed:
    Command PhaseScriptExecution failed with a nonzero exit code
    Testing cancelled because the build failed.
nysander commented 5 years ago

same if I run Test job directly in Xcode:

dyld: Library not loaded: @rpath/libswiftCore.dylib
  Referenced from: /Users/[USERNAME]/XcodeProjects/[PROJECTNAME]/Pods/IBLinter/bin/iblinter
  Reason: image not found
/Users/[USERNAME]/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-gaalfjhscbsgsogscwsfwxzuatsq/Build/Intermediates.noindex/[PROJECTNAME].build/Debug-iphonesimulator/[PROJECTNAME].build/Script-192F7D432242ECC900B6F6DE.sh: line 2:  3599 Abort trap: 6           "${PODS_ROOT}/IBLinter/bin/iblinter"
Command PhaseScriptExecution failed with a nonzero exit code

my Build Phase config (same as for 0.4.13 which works properly)

image

nysander commented 5 years ago

@kateinoigakukun did you managed to reproduce this error? Any additional data can I provide to fix this?

kateinoigakukun commented 5 years ago

@nysander Sorry for late response and I couldn't take enough time to investigate this issue. I'll work on it this week.

mjmsmith commented 5 years ago

@nysander I got the same error with Xcode 10.2 on 10.14.3, it works fine on Xcode 10.2 with 10.14.4.

To fix it on 10.14.3, you need to install "Swift 5 Runtime Support for Command Line Tools" from https://developer.apple.com/download/more/

nysander commented 5 years ago

As far as i know I have installed commandline tools because my jenkins setup depends on them. But I will check it later today

Other commandline tools like swiftlint bartycrouch works without problem. IBLinter as i wrote above is working also but with previous version

nysander commented 5 years ago

@mjmsmith thanks for hint. I didn't have this runtime. Now it works ok.

@kateinoigakukun I think this should be added to documentation as not everyone runs bleeding edge versions of macOS. If you want I could prepare some doc PR in meantime.