kivy / kivy-ios

Toolchain for compiling Python / Kivy / other libraries for iOS
https://kivy.org/docs/guide/packaging-ios.html
MIT License
759 stars 238 forks source link

toolchain build kivy problem on macOS 12.4 #720

Closed msmithp2 closed 2 years ago

msmithp2 commented 2 years ago

Versions

Describe the bug building kivy using the command: toolchain build kivy ends in an error

To Reproduce I was following the tutorial at: https://preettheman.medium.com/how-to-make-a-iphone-app-with-python-25fc6509482b00 When I got to the command:toolchain build kivy it failed.

Expected behavior The command: toolchain build kivy completes without error

Logs

(ios) Marks-MacBook-Pro-2021:ios_poc msmith$ toolchain build kivy
[INFO    ] Building with 16 processes, where supported
[INFO    ] Want to build ['kivy']
[INFO    ] Using the bundled version for recipe 'kivy'
[INFO    ] Loaded recipe kivy (depends of ['sdl2', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'ios', 'pyobjus', 'python', 'host_setuptools3'], optional are [])
[INFO    ] Using the bundled version for recipe 'sdl2'
[INFO    ] Loaded recipe sdl2 (depends of [], optional are [])
[INFO    ] Using the bundled version for recipe 'sdl2_image'
[INFO    ] Loaded recipe sdl2_image (depends of ['sdl2'], optional are [])
[INFO    ] Using the bundled version for recipe 'sdl2_mixer'
[INFO    ] Loaded recipe sdl2_mixer (depends of ['sdl2'], optional are [])
[INFO    ] Using the bundled version for recipe 'sdl2_ttf'
[INFO    ] Loaded recipe sdl2_ttf (depends of ['sdl2', 'freetype'], optional are [])
[INFO    ] Using the bundled version for recipe 'ios'
[INFO    ] Loaded recipe ios (depends of ['python'], optional are [])
[INFO    ] Using the bundled version for recipe 'pyobjus'
[INFO    ] Loaded recipe pyobjus (depends of ['python'], optional are [])
[INFO    ] Using the bundled version for recipe 'python'
[INFO    ] Loaded recipe python (depends of ['python3'], optional are [])
[INFO    ] Using the bundled version for recipe 'host_setuptools3'
[INFO    ] Loaded recipe host_setuptools3 (depends of ['openssl', 'hostpython3', 'python3'], optional are [])
[INFO    ] Using the bundled version for recipe 'freetype'
[INFO    ] Loaded recipe freetype (depends of [], optional are [])
[INFO    ] Using the bundled version for recipe 'python3'
[INFO    ] Loaded recipe python3 (depends of ['hostpython3', 'libffi', 'openssl'], optional are [])
[INFO    ] Using the bundled version for recipe 'openssl'
[INFO    ] Loaded recipe openssl (depends of [], optional are [])
[INFO    ] Using the bundled version for recipe 'hostpython3'
[INFO    ] Loaded recipe hostpython3 (depends of ['hostopenssl'], optional are [])
[INFO    ] Using the bundled version for recipe 'libffi'
[INFO    ] Loaded recipe libffi (depends of [], optional are [])
[INFO    ] Using the bundled version for recipe 'hostopenssl'
[INFO    ] Loaded recipe hostopenssl (depends of [], optional are [])
[INFO    ] Build order is ['freetype', 'hostopenssl', 'libffi', 'openssl', 'sdl2', 'hostpython3', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python3', 'host_setuptools3', 'python', 'ios', 'pyobjus', 'kivy']
[INFO    ] Using the bundled version for recipe 'freetype'
[INFO    ] Using the bundled version for recipe 'hostopenssl'
[INFO    ] Using the bundled version for recipe 'libffi'
[INFO    ] Using the bundled version for recipe 'openssl'
[INFO    ] Using the bundled version for recipe 'sdl2'
[INFO    ] Using the bundled version for recipe 'hostpython3'
[INFO    ] Using the bundled version for recipe 'sdl2_image'
[INFO    ] Using the bundled version for recipe 'sdl2_mixer'
[INFO    ] Using the bundled version for recipe 'sdl2_ttf'
[INFO    ] Using the bundled version for recipe 'python3'
[INFO    ] Using the bundled version for recipe 'host_setuptools3'
[INFO    ] Using the bundled version for recipe 'python'
[INFO    ] Using the bundled version for recipe 'ios'
[INFO    ] Using the bundled version for recipe 'pyobjus'
[INFO    ] Using the bundled version for recipe 'kivy'
[INFO    ] Recipe order is ['freetype', 'hostopenssl', 'libffi', 'openssl', 'sdl2', 'hostpython3', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python3', 'host_setuptools3', 'ios', 'pyobjus', 'kivy']
[INFO    ] Include dir added: {arch.arch}/freetype
[INFO    ] Include dir added: {arch.arch}/ffi
[INFO    ] Include dir added: {arch.arch}/openssl
[INFO    ] Include dir added: common/sdl2
[INFO    ] Global: hostpython located at /Users/msmith/workspace/railvision/ios_poc/dist/hostpython3/bin/python
[INFO    ] Global: hostpgen located at /Users/msmith/workspace/railvision/ios_poc/dist/hostpython3/bin/pgen
[INFO    ] Include dir added: common/sdl2_image
[INFO    ] Include dir added: common/sdl2_mixer
[INFO    ] Include dir added: common/sdl2_ttf
[DEBUG   ] Cached result: Download freetype. Ignoring
[DEBUG   ] Cached result: Extract freetype. Ignoring
[DEBUG   ] Cached result: Install_hostpython_prerequisites freetype. Ignoring
[DEBUG   ] Cached result: Build_all freetype. Ignoring
[DEBUG   ] Cached result: Download hostopenssl. Ignoring
[DEBUG   ] Cached result: Extract hostopenssl. Ignoring
[DEBUG   ] Cached result: Install_hostpython_prerequisites hostopenssl. Ignoring
[DEBUG   ] Cached result: Build_all hostopenssl. Ignoring
[DEBUG   ] Cached result: Download libffi. Ignoring
[DEBUG   ] Cached result: Extract libffi. Ignoring
[DEBUG   ] Cached result: Install_hostpython_prerequisites libffi. Ignoring
[INFO    ] Build_all libffi
[INFO    ] Build libffi for x86_64, arm64 (filtered)
[INFO    ] Build libffi
[WARNING ] libffi build for x86_64 has been incomplete
[WARNING ] Warning: deleting the build and restarting.
[INFO    ] Extract /Users/msmith/workspace/railvision/ios_poc/.cache/libffi-libffi-3.2.1.tar.gz into /Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64
[INFO    ] Running Shell: /usr/bin/tar ('-C', '/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64', '-xv', '-z', '-f', '/Users/msmith/workspace/railvision/ios_poc/.cache/libffi-libffi-3.2.1.tar.gz') {'_iter': True, '_out_bufsize': 1, '_err_to_out': True}
...
[INFO    ] Prebuild libffi for x86_64
[INFO    ] Running Shell: /usr/bin/sed ('-i.bak', 's/-miphoneos-version-min=5.1.1/-miphoneos-version-min=9.0/g', 'generate-darwin-source-and-headers.py') {'_iter': True, '_out_bufsize': 1, '_err_to_out': True}
[INFO    ] Apply patch fix-win32-unreferenced-symbol.patch
[INFO    ] Apply patch generate-darwin-source-and-headers-python3-items.patch
[INFO    ] Build libffi for x86_64
[INFO    ] Running Shell: /bin/mv ('generate-darwin-source-and-headers.py', '_generate-darwin-source-and-headers.py') {'_iter': True, '_out_bufsize': 1, '_err_to_out': True}
[INFO    ] Running Shell: /usr/bin/touch ('generate-darwin-source-and-headers.py',) {'_iter': True, '_out_bufsize': 1, '_err_to_out': True}
[INFO    ] Running Shell: /Users/msmith/.local/share/pyvenv/ios/bin/python3 ('_generate-darwin-source-and-headers.py', '--only-ios') {'_iter': True, '_out_bufsize': 1, '_err_to_out': True}
...
[INFO    ] Running Shell: /usr/bin/xcodebuild ('IDEBuildOperationMaxNumberOfConcurrentCompileTasks=16', 'ONLY_ACTIVE_ARCH=NO', 'ARCHS=x86_64', 'BITCODE_GENERATION_MODE=bitcode', '-sdk', 'iphonesimulator', '-project', 'libffi.xcodeproj', '-target', 'libffi-iOS', '-configuration', 'Release') {'_iter': True, '_out_bufsize': 1, '_err_to_out': True}
...
[DEBUG   ] PhaseScriptExecution Run\ Script /Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/libffi.build/Release-iphonesimulator/libffi-iOS.build/Script-DB13B3051849E01C0010F42D.sh (in target 'libffi-iOS' from project 'libffi')
[DEBUG   ]     cd /Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1
[DEBUG   ]     export ACTION\=build
[DEBUG   ]     export AD_HOC_CODE_SIGNING_ALLOWED\=YES
[DEBUG   ]     export ALLOW_TARGET_PLATFORM_SPECIALIZATION\=NO
[DEBUG   ]     export ALTERNATE_GROUP\=staff
[DEBUG   ]     export ALTERNATE_MODE\=u+w,go-w,a+rX
[DEBUG   ]     export ALTERNATE_OWNER\=msmith
[DEBUG   ]     export ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES\=NO
[DEBUG   ]     export ALWAYS_SEARCH_USER_PATHS\=NO
[DEBUG   ]     export ALWAYS_USE_SEPARATE_HEADERMAPS\=NO
[DEBUG   ]     export APPLE_INTERNAL_DEVELOPER_DIR\=/AppleInternal/Developer
[DEBUG   ]     export APPLE_INTERNAL_DIR\=/AppleInternal
[DEBUG   ]     export APPLE_INTERNAL_DOCUMENTATION_DIR\=/AppleInternal/Documentation
[DEBUG   ]     export APPLE_INTERNAL_LIBRARY_DIR\=/AppleInternal/Library
[DEBUG   ]     export APPLE_INTERNAL_TOOLS\=/AppleInternal/Developer/Tools
[DEBUG   ]     export APPLICATION_EXTENSION_API_ONLY\=NO
[DEBUG   ]     export APPLY_RULES_IN_COPY_FILES\=NO
[DEBUG   ]     export APPLY_RULES_IN_COPY_HEADERS\=NO
[DEBUG   ]     export ARCHS\=x86_64
[DEBUG   ]     export ARCHS_STANDARD\=arm64\ x86_64\ i386
[DEBUG   ]     export ARCHS_STANDARD_32_64_BIT\=arm64\ i386\ x86_64
[DEBUG   ]     export ARCHS_STANDARD_32_BIT\=i386
[DEBUG   ]     export ARCHS_STANDARD_64_BIT\=arm64\ x86_64
[DEBUG   ]     export ARCHS_STANDARD_INCLUDING_64_BIT\=arm64\ x86_64\ i386
[DEBUG   ]     export ARCHS_UNIVERSAL_IPHONE_OS\=arm64\ i386\ x86_64
[DEBUG   ]     export AVAILABLE_PLATFORMS\=appletvos\ appletvsimulator\ driverkit\ iphoneos\ iphonesimulator\ macosx\ watchos\ watchsimulator
[DEBUG   ]     export BITCODE_GENERATION_MODE\=bitcode
[DEBUG   ]     export BUILD_ACTIVE_RESOURCES_ONLY\=NO
[DEBUG   ]     export BUILD_COMPONENTS\=headers\ build
[DEBUG   ]     export BUILD_DIR\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build
[DEBUG   ]     export BUILD_LIBRARY_FOR_DISTRIBUTION\=NO
[DEBUG   ]     export BUILD_ROOT\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build
[DEBUG   ]     export BUILD_STYLE\=
[DEBUG   ]     export BUILD_VARIANTS\=normal
[DEBUG   ]     export BUILT_PRODUCTS_DIR\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/Release-iphonesimulator
[DEBUG   ]     export BUNDLE_CONTENTS_FOLDER_PATH_deep\=Contents/
[DEBUG   ]     export BUNDLE_EXECUTABLE_FOLDER_NAME_deep\=MacOS
[DEBUG   ]     export BUNDLE_FORMAT\=shallow
[DEBUG   ]     export BUNDLE_FRAMEWORKS_FOLDER_PATH\=Frameworks
[DEBUG   ]     export BUNDLE_PLUGINS_FOLDER_PATH\=PlugIns
[DEBUG   ]     export BUNDLE_PRIVATE_HEADERS_FOLDER_PATH\=PrivateHeaders
[DEBUG   ]     export BUNDLE_PUBLIC_HEADERS_FOLDER_PATH\=Headers
[DEBUG   ]     export CACHE_ROOT\=/var/folders/fn/1f13mrmd3kl1px95rztdrpwc0000gq/C/com.apple.DeveloperTools/13.4.1-13F100/Xcode
[DEBUG   ]     export CCHROOT\=/var/folders/fn/1f13mrmd3kl1px95rztdrpwc0000gq/C/com.apple.DeveloperTools/13.4.1-13F100/Xcode
[DEBUG   ]     export CHMOD\=/bin/chmod
[DEBUG   ]     export CHOWN\=/usr/sbin/chown
[DEBUG   ]     export CLANG_CXX_LANGUAGE_STANDARD\=gnu++0x
[DEBUG   ]     export CLANG_CXX_LIBRARY\=libc++
[DEBUG   ]     export CLANG_ENABLE_MODULES\=YES
[DEBUG   ]     export CLANG_ENABLE_MODULE_DEBUGGING\=NO
[DEBUG   ]     export CLANG_ENABLE_OBJC_ARC\=YES
[DEBUG   ]     export CLANG_MODULES_BUILD_SESSION_FILE\=/var/folders/fn/1f13mrmd3kl1px95rztdrpwc0000gq/C/org.llvm.clang/ModuleCache.noindex/Session.modulevalidation
[DEBUG   ]     export CLANG_WARN_BOOL_CONVERSION\=YES
[DEBUG   ]     export CLANG_WARN_CONSTANT_CONVERSION\=YES
[DEBUG   ]     export CLANG_WARN_DIRECT_OBJC_ISA_USAGE\=YES_ERROR
[DEBUG   ]     export CLANG_WARN_EMPTY_BODY\=YES
[DEBUG   ]     export CLANG_WARN_ENUM_CONVERSION\=YES
[DEBUG   ]     export CLANG_WARN_INT_CONVERSION\=YES
[DEBUG   ]     export CLANG_WARN_OBJC_ROOT_CLASS\=YES_ERROR
[DEBUG   ]     export CLANG_WARN__DUPLICATE_METHOD_MATCH\=YES
[DEBUG   ]     export CLASS_FILE_DIR\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/libffi.build/Release-iphonesimulator/libffi-iOS.build/JavaClasses
[DEBUG   ]     export CLEAN_PRECOMPS\=YES
[DEBUG   ]     export CLONE_HEADERS\=NO
[DEBUG   ]     export CODESIGNING_FOLDER_PATH\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/Release-iphonesimulator/libffi.a
[DEBUG   ]     export CODE_SIGNING_ALLOWED\=NO
[DEBUG   ]     export CODE_SIGNING_REQUIRED\=YES
[DEBUG   ]     export CODE_SIGN_CONTEXT_CLASS\=XCiPhoneSimulatorCodeSignContext
[DEBUG   ]     export CODE_SIGN_IDENTITY\=-
[DEBUG   ]     export CODE_SIGN_INJECT_BASE_ENTITLEMENTS\=YES
[DEBUG   ]     export COLOR_DIAGNOSTICS\=YES
[DEBUG   ]     export COMBINE_HIDPI_IMAGES\=NO
[DEBUG   ]     export COMPILER_INDEX_STORE_ENABLE\=Default
[DEBUG   ]     export COMPOSITE_SDK_DIRS\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/CompositeSDKs
[DEBUG   ]     export COMPRESS_PNG_FILES\=YES
[DEBUG   ]     export CONFIGURATION\=Release
[DEBUG   ]     export CONFIGURATION_BUILD_DIR\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/Release-iphonesimulator
[DEBUG   ]     export CONFIGURATION_TEMP_DIR\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/libffi.build/Release-iphonesimulator
[DEBUG   ]     export COPYING_PRESERVES_HFS_DATA\=NO
[DEBUG   ]     export COPY_HEADERS_RUN_UNIFDEF\=NO
[DEBUG   ]     export COPY_PHASE_STRIP\=YES
[DEBUG   ]     export COPY_RESOURCES_FROM_STATIC_FRAMEWORKS\=YES
[DEBUG   ]     export CORRESPONDING_DEVICE_PLATFORM_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
[DEBUG   ]     export CORRESPONDING_DEVICE_PLATFORM_NAME\=iphoneos
[DEBUG   ]     export CORRESPONDING_DEVICE_SDK_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.5.sdk
[DEBUG   ]     export CORRESPONDING_DEVICE_SDK_NAME\=iphoneos15.5
[DEBUG   ]     export CP\=/bin/cp
[DEBUG   ]     export CREATE_INFOPLIST_SECTION_IN_BINARY\=NO
[DEBUG   ]     export CURRENT_ARCH\=undefined_arch
[DEBUG   ]     export CURRENT_VARIANT\=normal
[DEBUG   ]     export DEAD_CODE_STRIPPING\=YES
[DEBUG   ]     export DEBUGGING_SYMBOLS\=YES
[DEBUG   ]     export DEBUG_INFORMATION_FORMAT\=dwarf-with-dsym
[DEBUG   ]     export DEFAULT_COMPILER\=com.apple.compilers.llvm.clang.1_0
[DEBUG   ]     export DEFAULT_DEXT_INSTALL_PATH\=/System/Library/DriverExtensions
[DEBUG   ]     export DEFAULT_KEXT_INSTALL_PATH\=/System/Library/Extensions
[DEBUG   ]     export DEFINES_MODULE\=NO
[DEBUG   ]     export DEPLOYMENT_LOCATION\=NO
[DEBUG   ]     export DEPLOYMENT_POSTPROCESSING\=NO
[DEBUG   ]     export DEPLOYMENT_TARGET_SETTING_NAME\=IPHONEOS_DEPLOYMENT_TARGET
[DEBUG   ]     export DEPLOYMENT_TARGET_SUGGESTED_VALUES\=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\ 13.5\ 13.6\ 14.0\ 14.1\ 14.2\ 14.3\ 14.4\ 14.5\ 14.6\ 14.7\ 15.0\ 15.1\ 15.2\ 15.3\ 15.4\ 15.5
[DEBUG   ]     export DERIVED_FILES_DIR\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/libffi.build/Release-iphonesimulator/libffi-iOS.build/DerivedSources
[DEBUG   ]     export DERIVED_FILE_DIR\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/libffi.build/Release-iphonesimulator/libffi-iOS.build/DerivedSources
[DEBUG   ]     export DERIVED_SOURCES_DIR\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/libffi.build/Release-iphonesimulator/libffi-iOS.build/DerivedSources
[DEBUG   ]     export DEVELOPER_APPLICATIONS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications
[DEBUG   ]     export DEVELOPER_BIN_DIR\=/Applications/Xcode.app/Contents/Developer/usr/bin
[DEBUG   ]     export DEVELOPER_DIR\=/Applications/Xcode.app/Contents/Developer
[DEBUG   ]     export DEVELOPER_FRAMEWORKS_DIR\=/Applications/Xcode.app/Contents/Developer/Library/Frameworks
[DEBUG   ]     export DEVELOPER_FRAMEWORKS_DIR_QUOTED\=/Applications/Xcode.app/Contents/Developer/Library/Frameworks
[DEBUG   ]     export DEVELOPER_LIBRARY_DIR\=/Applications/Xcode.app/Contents/Developer/Library
[DEBUG   ]     export DEVELOPER_SDK_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
[DEBUG   ]     export DEVELOPER_TOOLS_DIR\=/Applications/Xcode.app/Contents/Developer/Tools
[DEBUG   ]     export DEVELOPER_USR_DIR\=/Applications/Xcode.app/Contents/Developer/usr
[DEBUG   ]     export DEVELOPMENT_LANGUAGE\=English
[DEBUG   ]     export DONT_GENERATE_INFOPLIST_FILE\=NO
[DEBUG   ]     export DO_HEADER_SCANNING_IN_JAM\=NO
[DEBUG   ]     export DSTROOT\=/tmp/ffi.dst
[DEBUG   ]     export DT_TOOLCHAIN_DIR\=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
[DEBUG   ]     export DWARF_DSYM_FILE_NAME\=libffi.a.dSYM
[DEBUG   ]     export DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT\=NO
[DEBUG   ]     export DWARF_DSYM_FOLDER_PATH\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/Release-iphonesimulator
[DEBUG   ]     export DYNAMIC_LIBRARY_EXTENSION\=dylib
[DEBUG   ]     export EFFECTIVE_PLATFORM_NAME\=-iphonesimulator
[DEBUG   ]     export EMBEDDED_CONTENT_CONTAINS_SWIFT\=NO
[DEBUG   ]     export EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE\=NO
[DEBUG   ]     export ENABLE_APP_SANDBOX\=NO
[DEBUG   ]     export ENABLE_BITCODE\=NO
[DEBUG   ]     export ENABLE_DEFAULT_HEADER_SEARCH_PATHS\=YES
[DEBUG   ]     export ENABLE_DEFAULT_SEARCH_PATHS\=YES
[DEBUG   ]     export ENABLE_HARDENED_RUNTIME\=NO
[DEBUG   ]     export ENABLE_HEADER_DEPENDENCIES\=YES
[DEBUG   ]     export ENABLE_NS_ASSERTIONS\=NO
[DEBUG   ]     export ENABLE_ON_DEMAND_RESOURCES\=NO
[DEBUG   ]     export ENABLE_PREVIEWS\=NO
[DEBUG   ]     export ENABLE_TESTABILITY\=NO
[DEBUG   ]     export ENABLE_TESTING_SEARCH_PATHS\=NO
[DEBUG   ]     export ENTITLEMENTS_DESTINATION\=__entitlements
[DEBUG   ]     export ENTITLEMENTS_REQUIRED\=YES
[DEBUG   ]     export EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS\=.DS_Store\ .svn\ .git\ .hg\ CVS
[DEBUG   ]     export EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES\=\*.nib\ \*.lproj\ \*.framework\ \*.gch\ \*.xcode\*\ \*.xcassets\ \(\*\)\ .DS_Store\ CVS\ .svn\ .git\ .hg\ \*.pbproj\ \*.pbxproj
[DEBUG   ]     export EXECUTABLE_EXTENSION\=a
[DEBUG   ]     export EXECUTABLE_NAME\=libffi.a
[DEBUG   ]     export EXECUTABLE_PATH\=libffi.a
[DEBUG   ]     export EXECUTABLE_PREFIX\=lib
[DEBUG   ]     export EXECUTABLE_SUFFIX\=.a
[DEBUG   ]     export FILE_LIST\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/libffi.build/Release-iphonesimulator/libffi-iOS.build/Objects/LinkFileList
[DEBUG   ]     export FIXED_FILES_DIR\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/libffi.build/Release-iphonesimulator/libffi-iOS.build/FixedFiles
[DEBUG   ]     export FRAMEWORK_FLAG_PREFIX\=-framework
[DEBUG   ]     export FRAMEWORK_SEARCH_PATHS\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/Release-iphonesimulator\ 
[DEBUG   ]     export FRAMEWORK_VERSION\=A
[DEBUG   ]     export FULL_PRODUCT_NAME\=libffi.a
[DEBUG   ]     export GCC3_VERSION\=3.3
[DEBUG   ]     export GCC_C_LANGUAGE_STANDARD\=gnu99
[DEBUG   ]     export GCC_OBJC_LEGACY_DISPATCH\=YES
[DEBUG   ]     export GCC_PFE_FILE_C_DIALECTS\=c\ objective-c\ c++\ objective-c++
[DEBUG   ]     export GCC_TREAT_WARNINGS_AS_ERRORS\=NO
[DEBUG   ]     export GCC_VERSION\=com.apple.compilers.llvm.clang.1_0
[DEBUG   ]     export GCC_VERSION_IDENTIFIER\=com_apple_compilers_llvm_clang_1_0
[DEBUG   ]     export GCC_WARN_64_TO_32_BIT_CONVERSION\=YES
[DEBUG   ]     export GCC_WARN_ABOUT_RETURN_TYPE\=YES_ERROR
[DEBUG   ]     export GCC_WARN_UNDECLARED_SELECTOR\=YES
[DEBUG   ]     export GCC_WARN_UNINITIALIZED_AUTOS\=YES_AGGRESSIVE
[DEBUG   ]     export GCC_WARN_UNUSED_FUNCTION\=YES
[DEBUG   ]     export GCC_WARN_UNUSED_VARIABLE\=YES
[DEBUG   ]     export GENERATED_MODULEMAP_DIR\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/GeneratedModuleMaps-iphonesimulator
[DEBUG   ]     export GENERATE_INFOPLIST_FILE\=NO
[DEBUG   ]     export GENERATE_MASTER_OBJECT_FILE\=NO
[DEBUG   ]     export GENERATE_PKGINFO_FILE\=NO
[DEBUG   ]     export GENERATE_PROFILING_CODE\=NO
[DEBUG   ]     export GENERATE_TEXT_BASED_STUBS\=NO
[DEBUG   ]     export GID\=20
[DEBUG   ]     export GROUP\=staff
[DEBUG   ]     export HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT\=YES
[DEBUG   ]     export HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES\=YES
[DEBUG   ]     export HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS\=YES
[DEBUG   ]     export HEADERMAP_INCLUDES_PROJECT_HEADERS\=YES
[DEBUG   ]     export HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES\=YES
[DEBUG   ]     export HEADERMAP_USES_VFS\=NO
[DEBUG   ]     export HEADER_SEARCH_PATHS\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/Release-iphonesimulator/include\ \ darwin_common/include\ darwin_ios/include
[DEBUG   ]     export HIDE_BITCODE_SYMBOLS\=YES
[DEBUG   ]     export HOME\=/Users/msmith
[DEBUG   ]     export ICONV\=/usr/bin/iconv
[DEBUG   ]     export IDEBuildOperationMaxNumberOfConcurrentCompileTasks\=16
[DEBUG   ]     export INFOPLIST_EXPAND_BUILD_SETTINGS\=YES
[DEBUG   ]     export INFOPLIST_OUTPUT_FORMAT\=binary
[DEBUG   ]     export INFOPLIST_PREPROCESS\=NO
[DEBUG   ]     export INLINE_PRIVATE_FRAMEWORKS\=NO
[DEBUG   ]     export INSTALLHDRS_COPY_PHASE\=NO
[DEBUG   ]     export INSTALLHDRS_SCRIPT_PHASE\=NO
[DEBUG   ]     export INSTALL_DIR\=/tmp/ffi.dst/usr/local/lib
[DEBUG   ]     export INSTALL_GROUP\=staff
[DEBUG   ]     export INSTALL_MODE_FLAG\=u+w,go-w,a+rX
[DEBUG   ]     export INSTALL_OWNER\=msmith
[DEBUG   ]     export INSTALL_PATH\=/usr/local/lib
[DEBUG   ]     export INSTALL_ROOT\=/tmp/ffi.dst
[DEBUG   ]     export IPHONEOS_DEPLOYMENT_TARGET\=5.0
[DEBUG   ]     export JAVAC_DEFAULT_FLAGS\=-J-Xms64m\ -J-XX:NewSize\=4M\ -J-Dfile.encoding\=UTF8
[DEBUG   ]     export JAVA_APP_STUB\=/System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
[DEBUG   ]     export JAVA_ARCHIVE_CLASSES\=YES
[DEBUG   ]     export JAVA_ARCHIVE_TYPE\=JAR
[DEBUG   ]     export JAVA_COMPILER\=/usr/bin/javac
[DEBUG   ]     export JAVA_FRAMEWORK_RESOURCES_DIRS\=Resources
[DEBUG   ]     export JAVA_JAR_FLAGS\=cv
[DEBUG   ]     export JAVA_SOURCE_SUBDIR\=.
[DEBUG   ]     export JAVA_USE_DEPENDENCIES\=YES
[DEBUG   ]     export JAVA_ZIP_FLAGS\=-urg
[DEBUG   ]     export JIKES_DEFAULT_FLAGS\=+E\ +OLDCSO
[DEBUG   ]     export KEEP_PRIVATE_EXTERNS\=NO
[DEBUG   ]     export LD_DEPENDENCY_INFO_FILE\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/libffi.build/Release-iphonesimulator/libffi-iOS.build/Objects-normal/undefined_arch/ffi_dependency_info.dat
[DEBUG   ]     export LD_GENERATE_MAP_FILE\=NO
[DEBUG   ]     export LD_MAP_FILE_PATH\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/libffi.build/Release-iphonesimulator/libffi-iOS.build/ffi-LinkMap-normal-undefined_arch.txt
[DEBUG   ]     export LD_NO_PIE\=NO
[DEBUG   ]     export LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER\=YES
[DEBUG   ]     export LEGACY_DEVELOPER_DIR\=/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
[DEBUG   ]     export LEX\=lex
[DEBUG   ]     export LIBRARY_DEXT_INSTALL_PATH\=/Library/DriverExtensions
[DEBUG   ]     export LIBRARY_FLAG_NOSPACE\=YES
[DEBUG   ]     export LIBRARY_FLAG_PREFIX\=-l
[DEBUG   ]     export LIBRARY_KEXT_INSTALL_PATH\=/Library/Extensions
[DEBUG   ]     export LIBRARY_SEARCH_PATHS\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/Release-iphonesimulator\ 
[DEBUG   ]     export LINKER_DISPLAYS_MANGLED_NAMES\=NO
[DEBUG   ]     export LINK_FILE_LIST_normal_x86_64\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/libffi.build/Release-iphonesimulator/libffi-iOS.build/Objects-normal/x86_64/ffi.LinkFileList
[DEBUG   ]     export LINK_WITH_STANDARD_LIBRARIES\=YES
[DEBUG   ]     export LLVM_TARGET_TRIPLE_OS_VERSION\=ios5.0
[DEBUG   ]     export LLVM_TARGET_TRIPLE_SUFFIX\=-simulator
[DEBUG   ]     export LLVM_TARGET_TRIPLE_VENDOR\=apple
[DEBUG   ]     export LOCALIZATION_EXPORT_SUPPORTED\=YES
[DEBUG   ]     export LOCALIZED_STRING_MACRO_NAMES\=NSLocalizedString\ CFCopyLocalizedString
[DEBUG   ]     export LOCALIZED_STRING_SWIFTUI_SUPPORT\=YES
[DEBUG   ]     export LOCAL_ADMIN_APPS_DIR\=/Applications/Utilities
[DEBUG   ]     export LOCAL_APPS_DIR\=/Applications
[DEBUG   ]     export LOCAL_DEVELOPER_DIR\=/Library/Developer
[DEBUG   ]     export LOCAL_LIBRARY_DIR\=/Library
[DEBUG   ]     export LOCROOT\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1
[DEBUG   ]     export LOCSYMROOT\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1
[DEBUG   ]     export MACH_O_TYPE\=staticlib
[DEBUG   ]     export MAC_OS_X_PRODUCT_BUILD_VERSION\=21F79
[DEBUG   ]     export MAC_OS_X_VERSION_ACTUAL\=120400
[DEBUG   ]     export MAC_OS_X_VERSION_MAJOR\=120000
[DEBUG   ]     export MAC_OS_X_VERSION_MINOR\=120400
[DEBUG   ]     export METAL_LIBRARY_FILE_BASE\=default
[DEBUG   ]     export METAL_LIBRARY_OUTPUT_DIR\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/Release-iphonesimulator/
[DEBUG   ]     export NATIVE_ARCH\=x86_64
[DEBUG   ]     export NATIVE_ARCH_32_BIT\=i386
[DEBUG   ]     export NATIVE_ARCH_64_BIT\=x86_64
[DEBUG   ]     export NATIVE_ARCH_ACTUAL\=x86_64
[DEBUG   ]     export NO_COMMON\=YES
[DEBUG   ]     export OBJC_ABI_VERSION\=2
[DEBUG   ]     export OBJECT_FILE_DIR\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/libffi.build/Release-iphonesimulator/libffi-iOS.build/Objects
[DEBUG   ]     export OBJECT_FILE_DIR_normal\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/libffi.build/Release-iphonesimulator/libffi-iOS.build/Objects-normal
[DEBUG   ]     export OBJROOT\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build
[DEBUG   ]     export ONLY_ACTIVE_ARCH\=NO
[DEBUG   ]     export OS\=MACOS
[DEBUG   ]     export OSAC\=/usr/bin/osacompile
[DEBUG   ]     export OTHER_LDFLAGS\=-ObjC
[DEBUG   ]     export PACKAGE_TYPE\=com.apple.package-type.static-library
[DEBUG   ]     export PASCAL_STRINGS\=YES
[DEBUG   ]     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:/Users/msmith/.local/share/pyvenv/ios/bin:/Users/msmith/.sdkman/candidates/groovy/current/bin:/Users/msmith/.sdkman/candidates/grails/current/bin:/Users/msmith/.jenv/shims:/Users/msmith/.jenv/bin:/Users/msmith/Library/Python/3.7/bin:/Library/Frameworks/Python.framework/Versions/3.5/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/Users/msmith/.gvm/vertx/current/bin:/Users/msmith/.gvm/springboot/current/bin:/Users/msmith/.gvm/lazybones/current/bin:/Users/msmith/.gvm/jbake/current/bin:/Users/msmith/.gvm/groovyserv/current/bin:/Users/msmith/.gvm/groovy/current/bin:/Users/msmith/.gvm/griffon/current/bin:/Users/msmith/.gvm/grails/current/bin:/Users/msmith/.gvm/gradle/current/bin:/Users/msmith/.gvm/glide/current/bin:/Users/msmith/.gvm/gaiden/current/bin:/Users/msmith/.gvm/crash/current/bin:/Users/msmith/perl5/bin:/opt/local/bin:/opt/local/sbin:/Users/msmith/.pyenv/shims:/Users/msmith/.pyenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin:/opt/X11/bin:/Library/Apple/usr/bin:/usr/local/git/bin:/Users/msmith/bin
[DEBUG   ]     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
[DEBUG   ]     export PER_ARCH_OBJECT_FILE_DIR\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/libffi.build/Release-iphonesimulator/libffi-iOS.build/Objects-normal/undefined_arch
[DEBUG   ]     export PER_VARIANT_OBJECT_FILE_DIR\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/libffi.build/Release-iphonesimulator/libffi-iOS.build/Objects-normal
[DEBUG   ]     export PKGINFO_FILE_PATH\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/libffi.build/Release-iphonesimulator/libffi-iOS.build/PkgInfo
[DEBUG   ]     export PLATFORM_DEVELOPER_APPLICATIONS_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications
[DEBUG   ]     export PLATFORM_DEVELOPER_BIN_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin
[DEBUG   ]     export PLATFORM_DEVELOPER_LIBRARY_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library
[DEBUG   ]     export PLATFORM_DEVELOPER_SDK_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs
[DEBUG   ]     export PLATFORM_DEVELOPER_TOOLS_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Tools
[DEBUG   ]     export PLATFORM_DEVELOPER_USR_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr
[DEBUG   ]     export PLATFORM_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
[DEBUG   ]     export PLATFORM_DISPLAY_NAME\=iOS\ Simulator
[DEBUG   ]     export PLATFORM_FAMILY_NAME\=iOS
[DEBUG   ]     export PLATFORM_NAME\=iphonesimulator
[DEBUG   ]     export PLATFORM_PREFERRED_ARCH\=x86_64
[DEBUG   ]     export PLATFORM_PRODUCT_BUILD_VERSION\=19F64
[DEBUG   ]     export PLIST_FILE_OUTPUT_FORMAT\=binary
[DEBUG   ]     export PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR\=YES
[DEBUG   ]     export PRECOMP_DESTINATION_DIR\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/libffi.build/Release-iphonesimulator/libffi-iOS.build/PrefixHeaders
[DEBUG   ]     export PRESERVE_DEAD_CODE_INITS_AND_TERMS\=NO
[DEBUG   ]     export PRIVATE_HEADERS_FOLDER_PATH\=/usr/local/include
[DEBUG   ]     export PRODUCT_MODULE_NAME\=ffi
[DEBUG   ]     export PRODUCT_NAME\=ffi
[DEBUG   ]     export PRODUCT_SETTINGS_PATH\=
[DEBUG   ]     export PRODUCT_TYPE\=com.apple.product-type.library.static
[DEBUG   ]     export PROFILING_CODE\=NO
[DEBUG   ]     export PROJECT\=libffi
[DEBUG   ]     export PROJECT_DERIVED_FILE_DIR\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/libffi.build/DerivedSources
[DEBUG   ]     export PROJECT_DIR\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1
[DEBUG   ]     export PROJECT_FILE_PATH\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/libffi.xcodeproj
[DEBUG   ]     export PROJECT_NAME\=libffi
[DEBUG   ]     export PROJECT_TEMP_DIR\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/libffi.build
[DEBUG   ]     export PROJECT_TEMP_ROOT\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build
[DEBUG   ]     export PUBLIC_HEADERS_FOLDER_PATH\=/usr/local/include
[DEBUG   ]     export RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS\=YES
[DEBUG   ]     export REMOVE_CVS_FROM_RESOURCES\=YES
[DEBUG   ]     export REMOVE_GIT_FROM_RESOURCES\=YES
[DEBUG   ]     export REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES\=YES
[DEBUG   ]     export REMOVE_HG_FROM_RESOURCES\=YES
[DEBUG   ]     export REMOVE_SVN_FROM_RESOURCES\=YES
[DEBUG   ]     export REZ_COLLECTOR_DIR\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/libffi.build/Release-iphonesimulator/libffi-iOS.build/ResourceManagerResources
[DEBUG   ]     export REZ_EXECUTABLE\=YES
[DEBUG   ]     export REZ_OBJECTS_DIR\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/libffi.build/Release-iphonesimulator/libffi-iOS.build/ResourceManagerResources/Objects
[DEBUG   ]     export REZ_SEARCH_PATHS\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/Release-iphonesimulator\ 
[DEBUG   ]     export SCAN_ALL_SOURCE_FILES_FOR_INCLUDES\=NO
[DEBUG   ]     export SCRIPT_INPUT_FILE_COUNT\=0
[DEBUG   ]     export SCRIPT_INPUT_FILE_LIST_COUNT\=0
[DEBUG   ]     export SCRIPT_OUTPUT_FILE_COUNT\=0
[DEBUG   ]     export SCRIPT_OUTPUT_FILE_LIST_COUNT\=0
[DEBUG   ]     export SDKROOT\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk
[DEBUG   ]     export SDK_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk
[DEBUG   ]     export SDK_DIR_iphonesimulator\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk
[DEBUG   ]     export SDK_DIR_iphonesimulator15_5\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk
[DEBUG   ]     export SDK_NAME\=iphonesimulator15.5
[DEBUG   ]     export SDK_NAMES\=iphonesimulator15.5
[DEBUG   ]     export SDK_PRODUCT_BUILD_VERSION\=19F64
[DEBUG   ]     export SDK_VERSION\=15.5
[DEBUG   ]     export SDK_VERSION_ACTUAL\=150500
[DEBUG   ]     export SDK_VERSION_MAJOR\=150000
[DEBUG   ]     export SDK_VERSION_MINOR\=150500
[DEBUG   ]     export SED\=/usr/bin/sed
[DEBUG   ]     export SEPARATE_STRIP\=NO
[DEBUG   ]     export SEPARATE_SYMBOL_EDIT\=NO
[DEBUG   ]     export SET_DIR_MODE_OWNER_GROUP\=YES
[DEBUG   ]     export SET_FILE_MODE_OWNER_GROUP\=NO
[DEBUG   ]     export SHALLOW_BUNDLE\=NO
[DEBUG   ]     export SHARED_DERIVED_FILE_DIR\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/Release-iphonesimulator/DerivedSources
[DEBUG   ]     export SHARED_PRECOMPS_DIR\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/SharedPrecompiledHeaders
[DEBUG   ]     export SKIP_INSTALL\=YES
[DEBUG   ]     export SOURCE_ROOT\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1
[DEBUG   ]     export SRCROOT\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1
[DEBUG   ]     export STRINGSDATA_DIR\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/libffi.build/Release-iphonesimulator/libffi-iOS.build/Objects-normal/undefined_arch
[DEBUG   ]     export STRINGSDATA_ROOT\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/libffi.build/Release-iphonesimulator/libffi-iOS.build
[DEBUG   ]     export STRINGS_FILE_INFOPLIST_RENAME\=YES
[DEBUG   ]     export STRINGS_FILE_OUTPUT_ENCODING\=binary
[DEBUG   ]     export STRIP_BITCODE_FROM_COPIED_FILES\=NO
[DEBUG   ]     export STRIP_INSTALLED_PRODUCT\=YES
[DEBUG   ]     export STRIP_STYLE\=debugging
[DEBUG   ]     export STRIP_SWIFT_SYMBOLS\=YES
[DEBUG   ]     export SUPPORTED_DEVICE_FAMILIES\=1,2
[DEBUG   ]     export SUPPORTED_PLATFORMS\=iphoneos\ iphonesimulator
[DEBUG   ]     export SUPPORTS_TEXT_BASED_API\=NO
[DEBUG   ]     export SWIFT_EMIT_LOC_STRINGS\=NO
[DEBUG   ]     export SWIFT_PLATFORM_TARGET_PREFIX\=ios
[DEBUG   ]     export SWIFT_RESPONSE_FILE_PATH_normal_x86_64\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/libffi.build/Release-iphonesimulator/libffi-iOS.build/Objects-normal/x86_64/ffi.SwiftFileList
[DEBUG   ]     export SYMROOT\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build
[DEBUG   ]     export SYSTEM_ADMIN_APPS_DIR\=/Applications/Utilities
[DEBUG   ]     export SYSTEM_APPS_DIR\=/Applications
[DEBUG   ]     export SYSTEM_CORE_SERVICES_DIR\=/System/Library/CoreServices
[DEBUG   ]     export SYSTEM_DEMOS_DIR\=/Applications/Extras
[DEBUG   ]     export SYSTEM_DEVELOPER_APPS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications
[DEBUG   ]     export SYSTEM_DEVELOPER_BIN_DIR\=/Applications/Xcode.app/Contents/Developer/usr/bin
[DEBUG   ]     export SYSTEM_DEVELOPER_DEMOS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built\ Examples
[DEBUG   ]     export SYSTEM_DEVELOPER_DIR\=/Applications/Xcode.app/Contents/Developer
[DEBUG   ]     export SYSTEM_DEVELOPER_DOC_DIR\=/Applications/Xcode.app/Contents/Developer/ADC\ Reference\ Library
[DEBUG   ]     export SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications/Graphics\ Tools
[DEBUG   ]     export SYSTEM_DEVELOPER_JAVA_TOOLS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications/Java\ Tools
[DEBUG   ]     export SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications/Performance\ Tools
[DEBUG   ]     export SYSTEM_DEVELOPER_RELEASENOTES_DIR\=/Applications/Xcode.app/Contents/Developer/ADC\ Reference\ Library/releasenotes
[DEBUG   ]     export SYSTEM_DEVELOPER_TOOLS\=/Applications/Xcode.app/Contents/Developer/Tools
[DEBUG   ]     export SYSTEM_DEVELOPER_TOOLS_DOC_DIR\=/Applications/Xcode.app/Contents/Developer/ADC\ Reference\ Library/documentation/DeveloperTools
[DEBUG   ]     export SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR\=/Applications/Xcode.app/Contents/Developer/ADC\ Reference\ Library/releasenotes/DeveloperTools
[DEBUG   ]     export SYSTEM_DEVELOPER_USR_DIR\=/Applications/Xcode.app/Contents/Developer/usr
[DEBUG   ]     export SYSTEM_DEVELOPER_UTILITIES_DIR\=/Applications/Xcode.app/Contents/Developer/Applications/Utilities
[DEBUG   ]     export SYSTEM_DEXT_INSTALL_PATH\=/System/Library/DriverExtensions
[DEBUG   ]     export SYSTEM_DOCUMENTATION_DIR\=/Library/Documentation
[DEBUG   ]     export SYSTEM_KEXT_INSTALL_PATH\=/System/Library/Extensions
[DEBUG   ]     export SYSTEM_LIBRARY_DIR\=/System/Library
[DEBUG   ]     export TAPI_ENABLE_PROJECT_HEADERS\=NO
[DEBUG   ]     export TAPI_VERIFY_MODE\=ErrorsOnly
[DEBUG   ]     export TARGETED_DEVICE_FAMILY\=1
[DEBUG   ]     export TARGETNAME\=libffi-iOS
[DEBUG   ]     export TARGET_BUILD_DIR\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/Release-iphonesimulator
[DEBUG   ]     export TARGET_NAME\=libffi-iOS
[DEBUG   ]     export TARGET_TEMP_DIR\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/libffi.build/Release-iphonesimulator/libffi-iOS.build
[DEBUG   ]     export TEMP_DIR\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/libffi.build/Release-iphonesimulator/libffi-iOS.build
[DEBUG   ]     export TEMP_FILES_DIR\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/libffi.build/Release-iphonesimulator/libffi-iOS.build
[DEBUG   ]     export TEMP_FILE_DIR\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/libffi.build/Release-iphonesimulator/libffi-iOS.build
[DEBUG   ]     export TEMP_ROOT\=/Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build
[DEBUG   ]     export TEST_FRAMEWORK_SEARCH_PATHS\=\ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks\ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk/Developer/Library/Frameworks
[DEBUG   ]     export TEST_LIBRARY_SEARCH_PATHS\=\ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib
[DEBUG   ]     export TOOLCHAINS\=com.apple.dt.toolchain.XcodeDefault
[DEBUG   ]     export TOOLCHAIN_DIR\=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
[DEBUG   ]     export TREAT_MISSING_BASELINES_AS_TEST_FAILURES\=NO
[DEBUG   ]     export UID\=503
[DEBUG   ]     export UNSTRIPPED_PRODUCT\=NO
[DEBUG   ]     export USER\=msmith
[DEBUG   ]     export USER_APPS_DIR\=/Users/msmith/Applications
[DEBUG   ]     export USER_LIBRARY_DIR\=/Users/msmith/Library
[DEBUG   ]     export USE_DYNAMIC_NO_PIC\=YES
[DEBUG   ]     export USE_HEADERMAP\=YES
[DEBUG   ]     export USE_HEADER_SYMLINKS\=NO
[DEBUG   ]     export USE_LLVM_TARGET_TRIPLES\=YES
[DEBUG   ]     export USE_LLVM_TARGET_TRIPLES_FOR_CLANG\=YES
[DEBUG   ]     export USE_LLVM_TARGET_TRIPLES_FOR_LD\=YES
[DEBUG   ]     export USE_LLVM_TARGET_TRIPLES_FOR_TAPI\=YES
[DEBUG   ]     export VALIDATE_DEVELOPMENT_ASSET_PATHS\=YES_ERROR
[DEBUG   ]     export VALIDATE_PRODUCT\=YES
[DEBUG   ]     export VALIDATE_WORKSPACE\=YES_ERROR
[DEBUG   ]     export VALID_ARCHS\=arm64\ arm64e\ i386\ x86_64
[DEBUG   ]     export VERBOSE_PBXCP\=NO
[DEBUG   ]     export VERSION_INFO_BUILDER\=msmith
[DEBUG   ]     export VERSION_INFO_FILE\=ffi_vers.c
[DEBUG   ]     export VERSION_INFO_STRING\=\"@\(\#\)PROGRAM:ffi\ \ PROJECT:libffi-\"
[DEBUG   ]     export WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES\=NO
[DEBUG   ]     export XCODE_APP_SUPPORT_DIR\=/Applications/Xcode.app/Contents/Developer/Library/Xcode
[DEBUG   ]     export XCODE_PRODUCT_BUILD_VERSION\=13F100
[DEBUG   ]     export XCODE_VERSION_ACTUAL\=1341
[DEBUG   ]     export XCODE_VERSION_MAJOR\=1300
[DEBUG   ]     export XCODE_VERSION_MINOR\=1340
[DEBUG   ]     export XPCSERVICES_FOLDER_PATH\=/XPCServices
[DEBUG   ]     export YACC\=yacc
[DEBUG   ]     export arch\=undefined_arch
[DEBUG   ]     export diagnostic_message_length\=80
[DEBUG   ]     export variant\=normal
[DEBUG   ]     /bin/sh -c /Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/libffi.build/Release-iphonesimulator/libffi-iOS.build/Script-DB13B3051849E01C0010F42D.sh
[DEBUG   ] /Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/libffi.build/Release-iphonesimulator/libffi-iOS.build/Script-DB13B3051849E01C0010F42D.sh: line 2: /usr/bin/python: No such file or directory
[DEBUG   ] Command PhaseScriptExecution failed with a nonzero exit code
[DEBUG   ] 
[DEBUG   ] ** BUILD FAILED **
[DEBUG   ] 
[DEBUG   ] 
[DEBUG   ] The following build commands failed:
[DEBUG   ]  PhaseScriptExecution Run\ Script /Users/msmith/workspace/railvision/ios_poc/build/libffi/x86_64/libffi-3.2.1/build/libffi.build/Release-iphonesimulator/libffi-iOS.build/Script-DB13B3051849E01C0010F42D.sh (in target 'libffi-iOS' from project 'libffi')
[DEBUG   ] (1 failure)
Exception in thread background thread for pid 77884:
Traceback (most recent call last):
  File "/Users/msmith/.pyenv/versions/3.9.10/lib/python3.9/threading.py", line 973, in _bootstrap_inner
    self.run()
  File "/Users/msmith/.pyenv/versions/3.9.10/lib/python3.9/threading.py", line 910, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/msmith/.local/share/pyvenv/ios/lib/python3.9/site-packages/sh.py", line 1683, in wrap
    fn(*rgs, **kwargs)
  File "/Users/msmith/.local/share/pyvenv/ios/lib/python3.9/site-packages/sh.py", line 2662, in background_thread
    handle_exit_code(exit_code)
  File "/Users/msmith/.local/share/pyvenv/ios/lib/python3.9/site-packages/sh.py", line 2349, in fn
    return self.command.handle_command_exit_code(exit_code)
  File "/Users/msmith/.local/share/pyvenv/ios/lib/python3.9/site-packages/sh.py", line 905, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_65: 

  RAN: /usr/bin/xcodebuild IDEBuildOperationMaxNumberOfConcurrentCompileTasks=16 ONLY_ACTIVE_ARCH=NO ARCHS=x86_64 BITCODE_GENERATION_MODE=bitcode -sdk iphonesimulator -project libffi.xcodeproj -target libffi-iOS -configuration Release

  STDOUT:
2022-06-15 15:59:08.246 xcodebuild[77884:3457127] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2022-06-15 15:59:08.247 xcodebuild[77884:3457127] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2022-06-15 15:59:08.522 xcodebuild[77884:3457149]  DVTErrorPresenter: Unable to load simulator devices.
Domain: DVTCoreSimulatorAdditionsErrorDomain
Code: 3
Failure Reason: The version of the Cor... (37843 more, please see e.stdout)

  STDERR:

Traceback (most recent call last):
  File "/Users/msmith/.local/share/pyvenv/ios/bin/toolchain", line 8, in <module>
    sys.exit(main())
  File "/Users/msmith/.local/share/pyvenv/ios/lib/python3.9/site-packages/kivy_ios/toolchain.py", line 1555, in main
    ToolchainCL()
  File "/Users/msmith/.local/share/pyvenv/ios/lib/python3.9/site-packages/kivy_ios/toolchain.py", line 1299, in __init__
    getattr(self, args.command)()
  File "/Users/msmith/.local/share/pyvenv/ios/lib/python3.9/site-packages/kivy_ios/toolchain.py", line 1368, in build
    build_recipes(args.recipe, ctx)
  File "/Users/msmith/.local/share/pyvenv/ios/lib/python3.9/site-packages/kivy_ios/toolchain.py", line 1142, in build_recipes
    recipe.execute()
  File "/Users/msmith/.local/share/pyvenv/ios/lib/python3.9/site-packages/kivy_ios/toolchain.py", line 704, in execute
    self.build_all()
  File "/Users/msmith/.local/share/pyvenv/ios/lib/python3.9/site-packages/kivy_ios/toolchain.py", line 74, in _cache_execution
    f(self, *args, **kwargs)
  File "/Users/msmith/.local/share/pyvenv/ios/lib/python3.9/site-packages/kivy_ios/toolchain.py", line 803, in build_all
    self.build(arch)
  File "/Users/msmith/.local/share/pyvenv/ios/lib/python3.9/site-packages/kivy_ios/toolchain.py", line 74, in _cache_execution
    f(self, *args, **kwargs)
  File "/Users/msmith/.local/share/pyvenv/ios/lib/python3.9/site-packages/kivy_ios/toolchain.py", line 790, in build
    self.build_arch(arch)
  File "/Users/msmith/.local/share/pyvenv/ios/lib/python3.9/site-packages/kivy_ios/recipes/libffi/__init__.py", line 35, in build_arch
    shprint(sh.xcodebuild, self.ctx.concurrent_xcodebuild,
  File "/Users/msmith/.local/share/pyvenv/ios/lib/python3.9/site-packages/kivy_ios/toolchain.py", line 56, in shprint
    for line in cmd:
  File "/Users/msmith/.local/share/pyvenv/ios/lib/python3.9/site-packages/sh.py", line 953, in next
    self.wait()
  File "/Users/msmith/.local/share/pyvenv/ios/lib/python3.9/site-packages/sh.py", line 879, in wait
    self.handle_command_exit_code(exit_code)
  File "/Users/msmith/.local/share/pyvenv/ios/lib/python3.9/site-packages/sh.py", line 905, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_65: 

  RAN: /usr/bin/xcodebuild IDEBuildOperationMaxNumberOfConcurrentCompileTasks=16 ONLY_ACTIVE_ARCH=NO ARCHS=x86_64 BITCODE_GENERATION_MODE=bitcode -sdk iphonesimulator -project libffi.xcodeproj -target libffi-iOS -configuration Release

  STDOUT:
2022-06-15 15:59:08.246 xcodebuild[77884:3457127] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2022-06-15 15:59:08.247 xcodebuild[77884:3457127] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2022-06-15 15:59:08.522 xcodebuild[77884:3457149]  DVTErrorPresenter: Unable to load simulator devices.
Domain: DVTCoreSimulatorAdditionsErrorDomain
Code: 3
Failure Reason: The version of the Cor... (37843 more, please see e.stdout)

  STDERR:

(ios) Marks-MacBook-Pro-2021:ios_poc msmith$ 

Screenshots

Additional context It looks like the problem is that there is no /usr/bin/python command. From my research python 2.7 was removed from maxOS in version 12.3 (https://developer.apple.com/documentation/macos-release-notes/macos-12_3-release-notes). This leaves only the /usr/bin/python3 command in /usr/bin. I am assuming that the reference to the missing /usr/bin/python command is because the support for macOS 12.4 is not implemented yet.

misl6 commented 2 years ago

Closing as a duplicated of https://github.com/kivy/kivy-ios/issues/704

Support for macOS 12.3.1 has already been added in https://github.com/kivy/kivy-ios/pull/688

In order to use a development version, please follow this guide: https://github.com/kivy/kivy-ios#development

Feel free to join our Discord Chat if you need some help or advice.