{"action":"created","issue":{"url":"https://api.github.com/repos/JetBrains/kotlin-native/issues/1706","repository_url":"https://api.github.com/repos/JetBrains/kotlin-native","labels_url":"https://api.github.com/repos/JetBrains/kotlin-native/issues/1706/labels{/name}","comments_url":"https://api.github.com/repos/JetBrains/kotlin-native/issues/1706/comments","events_url":"https://api.github.com/repos/JetBrains/kotlin-native/issues/1706/events","html_url":"https://github.com/JetBrains/kotlin-native/issues/1706","id":333669009,"node_id":"MDU6SXNzdWUzMzM2NjkwMDk=","number":1706,"title":"java.lang.NoClassDefFoundError: org/gradle/api/internal/FeaturePreviews (KonanPlugin)","user":{"login":"defio","id":6303224,"node_id":"MDQ6VXNlcjYzMDMyMjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/6303224?v=4","gravatar_id":"","url":"https://api.github.com/users/defio","html_url":"https://github.com/defio","followers_url":"https://api.github.com/users/defio/followers","following_url":"https://api.github.com/users/defio/following{/other_user}","gists_url":"https://api.github.com/users/defio/gists{/gist_id}","starred_url":"https://api.github.com/users/defio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defio/subscriptions","organizations_url":"https://api.github.com/users/defio/orgs","repos_url":"https://api.github.com/users/defio/repos","events_url":"https://api.github.com/users/defio/events{/privacy}","received_events_url":"https://api.github.com/users/defio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-19T13:21:47Z","updated_at":"2018-06-19T15:20:24Z","closed_at":null,"author_association":"NONE","body":"Trying to build ios [sample](https://github.com/JetBrains/kotlin-native/blob/master/MULTIPLATFORM.md) XCode  gives the following stacktrace \r\n\r\n```\r\nPhaseScriptExecution Run\\ Script /Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Intermediates.noindex/iosApp.build/Debug-iphonesimulator/Lib.build/Script-DB65A7F720D92E7E003014BF.sh\r\n    cd /Users/nicoladefiorenze/IdeaProjects/firstMultiplatformLib/iosApp\r\n    export ACTION=build\r\n    export AD_HOC_CODE_SIGNING_ALLOWED=YES\r\n    export ALTERNATE_GROUP=staff\r\n    export ALTERNATE_MODE=u+w,go-w,a+rX\r\n    export ALTERNATE_OWNER=nicoladefiorenze\r\n    export ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO\r\n    export ALWAYS_SEARCH_USER_PATHS=NO\r\n    export ALWAYS_USE_SEPARATE_HEADERMAPS=NO\r\n    export APPLE_INTERNAL_DEVELOPER_DIR=/AppleInternal/Developer\r\n    export APPLE_INTERNAL_DIR=/AppleInternal\r\n    export APPLE_INTERNAL_DOCUMENTATION_DIR=/AppleInternal/Documentation\r\n    export APPLE_INTERNAL_LIBRARY_DIR=/AppleInternal/Library\r\n    export APPLE_INTERNAL_TOOLS=/AppleInternal/Developer/Tools\r\n    export APPLICATION_EXTENSION_API_ONLY=NO\r\n    export APPLY_RULES_IN_COPY_FILES=NO\r\n    export ARCHS=x86_64\r\n    export ARCHS_STANDARD=x86_64\r\n    export ARCHS_STANDARD_32_64_BIT=\"i386 x86_64\"\r\n    export ARCHS_STANDARD_32_BIT=i386\r\n    export ARCHS_STANDARD_64_BIT=x86_64\r\n    export ARCHS_STANDARD_INCLUDING_64_BIT=x86_64\r\n    export ARCHS_UNIVERSAL_IPHONE_OS=\"i386 x86_64\"\r\n    export AVAILABLE_PLATFORMS=\"appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator\"\r\n    export BITCODE_GENERATION_MODE=marker\r\n    export BUILD_ACTIVE_RESOURCES_ONLY=YES\r\n    export BUILD_COMPONENTS=\"headers build\"\r\n    export BUILD_DIR=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Products\r\n    export BUILD_ROOT=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Products\r\n    export BUILD_STYLE=\r\n    export BUILD_VARIANTS=normal\r\n    export BUILT_PRODUCTS_DIR=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Products/Debug-iphonesimulator\r\n    export CACHE_ROOT=/var/folders/n7/m5w9rwwd6pjcf_vbk4lqhg5m0000gp/C/com.apple.DeveloperTools/9.4.1-9F2000/Xcode\r\n    export CCHROOT=/var/folders/n7/m5w9rwwd6pjcf_vbk4lqhg5m0000gp/C/com.apple.DeveloperTools/9.4.1-9F2000/Xcode\r\n    export CHMOD=/bin/chmod\r\n    export CHOWN=/usr/sbin/chown\r\n    export CLANG_ANALYZER_NONNULL=YES\r\n    export CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION=YES_AGGRESSIVE\r\n    export CLANG_CXX_LANGUAGE_STANDARD=gnu++14\r\n    export CLANG_CXX_LIBRARY=libc++\r\n    export CLANG_ENABLE_MODULES=YES\r\n    export CLANG_ENABLE_OBJC_ARC=YES\r\n    export CLANG_ENABLE_OBJC_WEAK=YES\r\n    export CLANG_MODULES_BUILD_SESSION_FILE=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation\r\n    export CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING=YES\r\n    export CLANG_WARN_BOOL_CONVERSION=YES\r\n    export CLANG_WARN_COMMA=YES\r\n    export CLANG_WARN_CONSTANT_CONVERSION=YES\r\n    export CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS=YES\r\n    export CLANG_WARN_DIRECT_OBJC_ISA_USAGE=YES_ERROR\r\n    export CLANG_WARN_DOCUMENTATION_COMMENTS=YES\r\n    export CLANG_WARN_EMPTY_BODY=YES\r\n    export CLANG_WARN_ENUM_CONVERSION=YES\r\n    export CLANG_WARN_INFINITE_RECURSION=YES\r\n    export CLANG_WARN_INT_CONVERSION=YES\r\n    export CLANG_WARN_NON_LITERAL_NULL_CONVERSION=YES\r\n    export CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF=YES\r\n    export CLANG_WARN_OBJC_LITERAL_CONVERSION=YES\r\n    export CLANG_WARN_OBJC_ROOT_CLASS=YES_ERROR\r\n    export CLANG_WARN_RANGE_LOOP_ANALYSIS=YES\r\n    export CLANG_WARN_STRICT_PROTOTYPES=YES\r\n    export CLANG_WARN_SUSPICIOUS_MOVE=YES\r\n    export CLANG_WARN_UNGUARDED_AVAILABILITY=YES_AGGRESSIVE\r\n    export CLANG_WARN_UNREACHABLE_CODE=YES\r\n    export CLANG_WARN__DUPLICATE_METHOD_MATCH=YES\r\n    export CLASS_FILE_DIR=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Intermediates.noindex/iosApp.build/Debug-iphonesimulator/Lib.build/JavaClasses\r\n    export CLEAN_PRECOMPS=YES\r\n    export CLONE_HEADERS=NO\r\n    export CODESIGNING_FOLDER_PATH=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Products/Debug-iphonesimulator/Lib.framework\r\n    export CODE_SIGNING_ALLOWED=YES\r\n    export CODE_SIGNING_REQUIRED=NO\r\n    export CODE_SIGNING_REQUIRES_TEAM=YES\r\n    export CODE_SIGN_CONTEXT_CLASS=XCiPhoneSimulatorCodeSignContext\r\n    export CODE_SIGN_INJECT_BASE_ENTITLEMENTS=YES\r\n    export CODE_SIGN_STYLE=Automatic\r\n    export COLOR_DIAGNOSTICS=NO\r\n    export COMBINE_HIDPI_IMAGES=NO\r\n    export COMMAND_MODE=legacy\r\n    export COMPILER_INDEX_STORE_ENABLE=Default\r\n    export COMPOSITE_SDK_DIRS=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Intermediates.noindex/CompositeSDKs\r\n    export COMPRESS_PNG_FILES=YES\r\n    export CONFIGURATION=Debug\r\n    export CONFIGURATION_BUILD_DIR=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Products/Debug-iphonesimulator\r\n    export CONFIGURATION_TEMP_DIR=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Intermediates.noindex/iosApp.build/Debug-iphonesimulator\r\n    export CONTENTS_FOLDER_PATH=Lib.framework\r\n    export COPYING_PRESERVES_HFS_DATA=NO\r\n    export COPY_HEADERS_RUN_UNIFDEF=NO\r\n    export COPY_PHASE_STRIP=NO\r\n    export COPY_RESOURCES_FROM_STATIC_FRAMEWORKS=YES\r\n    export CORRESPONDING_DEVICE_PLATFORM_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform\r\n    export CORRESPONDING_DEVICE_PLATFORM_NAME=iphoneos\r\n    export CORRESPONDING_DEVICE_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk\r\n    export CORRESPONDING_DEVICE_SDK_NAME=iphoneos11.4\r\n    export CP=/bin/cp\r\n    export CREATE_INFOPLIST_SECTION_IN_BINARY=NO\r\n    export CURRENT_ARCH=x86_64\r\n    export CURRENT_PROJECT_VERSION=1\r\n    export CURRENT_VARIANT=normal\r\n    export CURRENT_VERSION=Current\r\n    export DEAD_CODE_STRIPPING=YES\r\n    export DEBUGGING_SYMBOLS=YES\r\n    export DEBUG_INFORMATION_FORMAT=dwarf\r\n    export DEFAULT_COMPILER=com.apple.compilers.llvm.clang.1_0\r\n    export DEFAULT_KEXT_INSTALL_PATH=/System/Library/Extensions\r\n    export DEFINES_MODULE=YES\r\n    export DEPLOYMENT_LOCATION=NO\r\n    export DEPLOYMENT_POSTPROCESSING=NO\r\n    export DEPLOYMENT_TARGET_CLANG_ENV_NAME=IPHONEOS_DEPLOYMENT_TARGET\r\n    export DEPLOYMENT_TARGET_CLANG_FLAG_NAME=mios-simulator-version-min\r\n    export DEPLOYMENT_TARGET_CLANG_FLAG_PREFIX=-mios-simulator-version-min=\r\n    export DEPLOYMENT_TARGET_SETTING_NAME=IPHONEOS_DEPLOYMENT_TARGET\r\n    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\"\r\n    export DERIVED_FILES_DIR=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Intermediates.noindex/iosApp.build/Debug-iphonesimulator/Lib.build/DerivedSources\r\n    export DERIVED_FILE_DIR=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Intermediates.noindex/iosApp.build/Debug-iphonesimulator/Lib.build/DerivedSources\r\n    export DERIVED_SOURCES_DIR=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Intermediates.noindex/iosApp.build/Debug-iphonesimulator/Lib.build/DerivedSources\r\n    export DEVELOPER_APPLICATIONS_DIR=/Applications/Xcode.app/Contents/Developer/Applications\r\n    export DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/usr/bin\r\n    export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer\r\n    export DEVELOPER_FRAMEWORKS_DIR=/Applications/Xcode.app/Contents/Developer/Library/Frameworks\r\n    export DEVELOPER_FRAMEWORKS_DIR_QUOTED=/Applications/Xcode.app/Contents/Developer/Library/Frameworks\r\n    export DEVELOPER_LIBRARY_DIR=/Applications/Xcode.app/Contents/Developer/Library\r\n    export DEVELOPER_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs\r\n    export DEVELOPER_TOOLS_DIR=/Applications/Xcode.app/Contents/Developer/Tools\r\n    export DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/usr\r\n    export DEVELOPMENT_LANGUAGE=en\r\n    export DOCUMENTATION_FOLDER_PATH=Lib.framework/en.lproj/Documentation\r\n    export DO_HEADER_SCANNING_IN_JAM=NO\r\n    export DSTROOT=/tmp/iosApp.dst\r\n    export DT_TOOLCHAIN_DIR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain\r\n    export DWARF_DSYM_FILE_NAME=Lib.framework.dSYM\r\n    export DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT=NO\r\n    export DWARF_DSYM_FOLDER_PATH=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Products/Debug-iphonesimulator\r\n    export DYLIB_COMPATIBILITY_VERSION=1\r\n    export DYLIB_CURRENT_VERSION=1\r\n    export DYLIB_INSTALL_NAME_BASE=\"@rpath\"\r\n    export EFFECTIVE_PLATFORM_NAME=-iphonesimulator\r\n    export EMBEDDED_CONTENT_CONTAINS_SWIFT=NO\r\n    export EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE=NO\r\n    export ENABLE_BITCODE=NO\r\n    export ENABLE_DEFAULT_HEADER_SEARCH_PATHS=YES\r\n    export ENABLE_HEADER_DEPENDENCIES=YES\r\n    export ENABLE_ON_DEMAND_RESOURCES=NO\r\n    export ENABLE_STRICT_OBJC_MSGSEND=YES\r\n    export ENABLE_TESTABILITY=YES\r\n    export ENTITLEMENTS_REQUIRED=NO\r\n    export EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS=\".DS_Store .svn .git .hg CVS\"\r\n    export EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES=\"*.nib *.lproj *.framework *.gch *.xcode* *.xcassets (*) .DS_Store CVS .svn .git .hg *.pbproj *.pbxproj\"\r\n    export EXECUTABLES_FOLDER_PATH=Lib.framework/en.lproj\r\n    export EXECUTABLE_FOLDER_PATH=Lib.framework\r\n    export EXECUTABLE_NAME=Lib\r\n    export EXECUTABLE_PATH=Lib.framework/Lib\r\n    export EXPANDED_CODE_SIGN_IDENTITY=-\r\n    export EXPANDED_CODE_SIGN_IDENTITY_NAME=-\r\n    export EXPANDED_PROVISIONING_PROFILE=\r\n    export FILE_LIST=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Intermediates.noindex/iosApp.build/Debug-iphonesimulator/Lib.build/Objects/LinkFileList\r\n    export FIXED_FILES_DIR=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Intermediates.noindex/iosApp.build/Debug-iphonesimulator/Lib.build/FixedFiles\r\n    export FRAMEWORKS_FOLDER_PATH=Lib.framework/Frameworks\r\n    export FRAMEWORK_FLAG_PREFIX=-framework\r\n    export FRAMEWORK_SEARCH_PATHS=\"/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Products/Debug-iphonesimulator \"\r\n    export FRAMEWORK_VERSION=A\r\n    export FULL_PRODUCT_NAME=Lib.framework\r\n    export GCC3_VERSION=3.3\r\n    export GCC_C_LANGUAGE_STANDARD=gnu11\r\n    export GCC_DYNAMIC_NO_PIC=NO\r\n    export GCC_INLINES_ARE_PRIVATE_EXTERN=YES\r\n    export GCC_NO_COMMON_BLOCKS=YES\r\n    export GCC_OBJC_LEGACY_DISPATCH=YES\r\n    export GCC_OPTIMIZATION_LEVEL=0\r\n    export GCC_PFE_FILE_C_DIALECTS=\"c objective-c c++ objective-c++\"\r\n    export GCC_PREPROCESSOR_DEFINITIONS=\"DEBUG=1 \"\r\n    export GCC_TREAT_WARNINGS_AS_ERRORS=NO\r\n    export GCC_VERSION=com.apple.compilers.llvm.clang.1_0\r\n    export GCC_VERSION_IDENTIFIER=com_apple_compilers_llvm_clang_1_0\r\n    export GCC_WARN_64_TO_32_BIT_CONVERSION=YES\r\n    export GCC_WARN_ABOUT_RETURN_TYPE=YES_ERROR\r\n    export GCC_WARN_UNDECLARED_SELECTOR=YES\r\n    export GCC_WARN_UNINITIALIZED_AUTOS=YES_AGGRESSIVE\r\n    export GCC_WARN_UNUSED_FUNCTION=YES\r\n    export GCC_WARN_UNUSED_VARIABLE=YES\r\n    export GENERATE_MASTER_OBJECT_FILE=NO\r\n    export GENERATE_PKGINFO_FILE=NO\r\n    export GENERATE_PROFILING_CODE=NO\r\n    export GENERATE_TEXT_BASED_STUBS=NO\r\n    export GID=20\r\n    export GROUP=staff\r\n    export HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT=YES\r\n    export HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES=YES\r\n    export HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS=YES\r\n    export HEADERMAP_INCLUDES_PROJECT_HEADERS=YES\r\n    export HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES=YES\r\n    export HEADERMAP_USES_VFS=YES\r\n    export HEADER_SEARCH_PATHS=\"/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Products/Debug-iphonesimulator/include \"\r\n    export HIDE_BITCODE_SYMBOLS=YES\r\n    export HOME=/Users/nicoladefiorenze\r\n    export ICONV=/usr/bin/iconv\r\n    export INFOPLISTSTRINGS_PATH=Lib.framework/en.lproj/InfoPlist.strings\r\n    export INFOPLIST_EXPAND_BUILD_SETTINGS=YES\r\n    export INFOPLIST_FILE=Lib/Info.plist\r\n    export INFOPLIST_OUTPUT_FORMAT=binary\r\n    export INFOPLIST_PATH=Lib.framework/Info.plist\r\n    export INFOPLIST_PREPROCESS=NO\r\n    export INLINE_PRIVATE_FRAMEWORKS=NO\r\n    export INSTALLHDRS_COPY_PHASE=NO\r\n    export INSTALLHDRS_SCRIPT_PHASE=NO\r\n    export INSTALL_DIR=/tmp/iosApp.dst/Library/Frameworks\r\n    export INSTALL_GROUP=staff\r\n    export INSTALL_MODE_FLAG=u+w,go-w,a+rX\r\n    export INSTALL_OWNER=nicoladefiorenze\r\n    export INSTALL_PATH=/Library/Frameworks\r\n    export INSTALL_ROOT=/tmp/iosApp.dst\r\n    export IPHONEOS_DEPLOYMENT_TARGET=11.4\r\n    export JAVAC_DEFAULT_FLAGS=\"-J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8\"\r\n    export JAVA_APP_STUB=/System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub\r\n    export JAVA_ARCHIVE_CLASSES=YES\r\n    export JAVA_ARCHIVE_TYPE=JAR\r\n    export JAVA_COMPILER=/usr/bin/javac\r\n    export JAVA_FOLDER_PATH=Lib.framework/Java\r\n    export JAVA_FRAMEWORK_RESOURCES_DIRS=Resources\r\n    export JAVA_JAR_FLAGS=cv\r\n    export JAVA_SOURCE_SUBDIR=.\r\n    export JAVA_USE_DEPENDENCIES=YES\r\n    export JAVA_ZIP_FLAGS=-urg\r\n    export JIKES_DEFAULT_FLAGS=\"+E +OLDCSO\"\r\n    export KEEP_PRIVATE_EXTERNS=NO\r\n    export KONAN_ENABLE_OPTIMIZATIONS=NO\r\n    export KONAN_TASK=\"compileKonanLibIos_x64\r\n\"\r\n    export LD_DEPENDENCY_INFO_FILE=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Intermediates.noindex/iosApp.build/Debug-iphonesimulator/Lib.build/Objects-normal/x86_64/Lib_dependency_info.dat\r\n    export LD_DYLIB_INSTALL_NAME=\"@rpath/Lib.framework/Lib\"\r\n    export LD_GENERATE_MAP_FILE=NO\r\n    export LD_MAP_FILE_PATH=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Intermediates.noindex/iosApp.build/Debug-iphonesimulator/Lib.build/Lib-LinkMap-normal-x86_64.txt\r\n    export LD_NO_PIE=NO\r\n    export LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER=YES\r\n    export LD_RUNPATH_SEARCH_PATHS=\" @executable_path/Frameworks @loader_path/Frameworks\"\r\n    export LEGACY_DEVELOPER_DIR=/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer\r\n    export LEX=lex\r\n    export LIBRARY_FLAG_NOSPACE=YES\r\n    export LIBRARY_FLAG_PREFIX=-l\r\n    export LIBRARY_KEXT_INSTALL_PATH=/Library/Extensions\r\n    export LIBRARY_SEARCH_PATHS=\"/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Products/Debug-iphonesimulator \"\r\n    export LINKER_DISPLAYS_MANGLED_NAMES=NO\r\n    export LINK_FILE_LIST_normal_x86_64=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Intermediates.noindex/iosApp.build/Debug-iphonesimulator/Lib.build/Objects-normal/x86_64/Lib.LinkFileList\r\n    export LINK_WITH_STANDARD_LIBRARIES=YES\r\n    export LOCALIZABLE_CONTENT_DIR=\r\n    export LOCALIZED_RESOURCES_FOLDER_PATH=Lib.framework/en.lproj\r\n    export LOCALIZED_STRING_MACRO_NAMES=\"NSLocalizedString CFLocalizedString\"\r\n    export LOCAL_ADMIN_APPS_DIR=/Applications/Utilities\r\n    export LOCAL_APPS_DIR=/Applications\r\n    export LOCAL_DEVELOPER_DIR=/Library/Developer\r\n    export LOCAL_LIBRARY_DIR=/Library\r\n    export LOCROOT=\r\n    export LOCSYMROOT=\r\n    export MACH_O_TYPE=mh_dylib\r\n    export MAC_OS_X_PRODUCT_BUILD_VERSION=17F77\r\n    export MAC_OS_X_VERSION_ACTUAL=101305\r\n    export MAC_OS_X_VERSION_MAJOR=101300\r\n    export MAC_OS_X_VERSION_MINOR=1305\r\n    export METAL_LIBRARY_FILE_BASE=default\r\n    export METAL_LIBRARY_OUTPUT_DIR=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Products/Debug-iphonesimulator/Lib.framework\r\n    export MODULE_CACHE_DIR=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/ModuleCache.noindex\r\n    export MTL_ENABLE_DEBUG_INFO=YES\r\n    export NATIVE_ARCH=i386\r\n    export NATIVE_ARCH_32_BIT=i386\r\n    export NATIVE_ARCH_64_BIT=x86_64\r\n    export NATIVE_ARCH_ACTUAL=x86_64\r\n    export NO_COMMON=YES\r\n    export OBJC_ABI_VERSION=2\r\n    export OBJECT_FILE_DIR=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Intermediates.noindex/iosApp.build/Debug-iphonesimulator/Lib.build/Objects\r\n    export OBJECT_FILE_DIR_normal=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Intermediates.noindex/iosApp.build/Debug-iphonesimulator/Lib.build/Objects-normal\r\n    export OBJROOT=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Intermediates.noindex\r\n    export ONLY_ACTIVE_ARCH=YES\r\n    export OS=MACOS\r\n    export OSAC=/usr/bin/osacompile\r\n    export PACKAGE_TYPE=com.apple.package-type.wrapper.framework\r\n    export PASCAL_STRINGS=YES\r\n    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/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/local/bin:/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/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Tools:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin\"\r\n    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\"\r\n    export PBDEVELOPMENTPLIST_PATH=Lib.framework/pbdevelopment.plist\r\n    export PKGINFO_FILE_PATH=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Intermediates.noindex/iosApp.build/Debug-iphonesimulator/Lib.build/PkgInfo\r\n    export PKGINFO_PATH=Lib.framework/PkgInfo\r\n    export PLATFORM_DEVELOPER_APPLICATIONS_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications\r\n    export PLATFORM_DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin\r\n    export PLATFORM_DEVELOPER_LIBRARY_DIR=/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library\r\n    export PLATFORM_DEVELOPER_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs\r\n    export PLATFORM_DEVELOPER_TOOLS_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Tools\r\n    export PLATFORM_DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr\r\n    export PLATFORM_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform\r\n    export PLATFORM_DISPLAY_NAME=\"iOS Simulator\"\r\n    export PLATFORM_NAME=iphonesimulator\r\n    export PLATFORM_PREFERRED_ARCH=x86_64\r\n    export PLIST_FILE_OUTPUT_FORMAT=binary\r\n    export PLUGINS_FOLDER_PATH=Lib.framework/PlugIns\r\n    export PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR=YES\r\n    export PRECOMP_DESTINATION_DIR=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Intermediates.noindex/iosApp.build/Debug-iphonesimulator/Lib.build/PrefixHeaders\r\n    export PRESERVE_DEAD_CODE_INITS_AND_TERMS=NO\r\n    export PRIVATE_HEADERS_FOLDER_PATH=Lib.framework/PrivateHeaders\r\n    export PRODUCT_BUNDLE_IDENTIFIER=com.ndefiorenze.Lib\r\n    export PRODUCT_MODULE_NAME=Lib\r\n    export PRODUCT_NAME=Lib\r\n    export PRODUCT_SETTINGS_PATH=/Users/nicoladefiorenze/IdeaProjects/firstMultiplatformLib/iosApp/Lib/Info.plist\r\n    export PRODUCT_TYPE=com.apple.product-type.framework\r\n    export PROFILING_CODE=NO\r\n    export PROJECT=iosApp\r\n    export PROJECT_DERIVED_FILE_DIR=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Intermediates.noindex/iosApp.build/DerivedSources\r\n    export PROJECT_DIR=/Users/nicoladefiorenze/IdeaProjects/firstMultiplatformLib/iosApp\r\n    export PROJECT_FILE_PATH=/Users/nicoladefiorenze/IdeaProjects/firstMultiplatformLib/iosApp/iosApp.xcodeproj\r\n    export PROJECT_NAME=iosApp\r\n    export PROJECT_TEMP_DIR=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Intermediates.noindex/iosApp.build\r\n    export PROJECT_TEMP_ROOT=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Intermediates.noindex\r\n    export PUBLIC_HEADERS_FOLDER_PATH=Lib.framework/Headers\r\n    export RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS=YES\r\n    export REMOVE_CVS_FROM_RESOURCES=YES\r\n    export REMOVE_GIT_FROM_RESOURCES=YES\r\n    export REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES=YES\r\n    export REMOVE_HG_FROM_RESOURCES=YES\r\n    export REMOVE_SVN_FROM_RESOURCES=YES\r\n    export REZ_COLLECTOR_DIR=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Intermediates.noindex/iosApp.build/Debug-iphonesimulator/Lib.build/ResourceManagerResources\r\n    export REZ_OBJECTS_DIR=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Intermediates.noindex/iosApp.build/Debug-iphonesimulator/Lib.build/ResourceManagerResources/Objects\r\n    export REZ_SEARCH_PATHS=\"/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Products/Debug-iphonesimulator \"\r\n    export SCAN_ALL_SOURCE_FILES_FOR_INCLUDES=NO\r\n    export SCRIPTS_FOLDER_PATH=Lib.framework/Scripts\r\n    export SCRIPT_INPUT_FILE_COUNT=0\r\n    export SCRIPT_OUTPUT_FILE_COUNT=0\r\n    export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk\r\n    export SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk\r\n    export SDK_DIR_iphonesimulator11_4=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk\r\n    export SDK_NAME=iphonesimulator11.4\r\n    export SDK_NAMES=iphonesimulator11.4\r\n    export SDK_PRODUCT_BUILD_VERSION=15F79\r\n    export SDK_VERSION=11.4\r\n    export SDK_VERSION_ACTUAL=110400\r\n    export SDK_VERSION_MAJOR=110000\r\n    export SDK_VERSION_MINOR=400\r\n    export SED=/usr/bin/sed\r\n    export SEPARATE_STRIP=NO\r\n    export SEPARATE_SYMBOL_EDIT=NO\r\n    export SET_DIR_MODE_OWNER_GROUP=YES\r\n    export SET_FILE_MODE_OWNER_GROUP=NO\r\n    export SHALLOW_BUNDLE=YES\r\n    export SHARED_DERIVED_FILE_DIR=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Products/Debug-iphonesimulator/DerivedSources\r\n    export SHARED_FRAMEWORKS_FOLDER_PATH=Lib.framework/SharedFrameworks\r\n    export SHARED_PRECOMPS_DIR=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Intermediates.noindex/PrecompiledHeaders\r\n    export SHARED_SUPPORT_FOLDER_PATH=Lib.framework\r\n    export SKIP_INSTALL=YES\r\n    export SOURCE_ROOT=/Users/nicoladefiorenze/IdeaProjects/firstMultiplatformLib/iosApp\r\n    export SRCROOT=/Users/nicoladefiorenze/IdeaProjects/firstMultiplatformLib/iosApp\r\n    export STRINGS_FILE_OUTPUT_ENCODING=binary\r\n    export STRIP_BITCODE_FROM_COPIED_FILES=NO\r\n    export STRIP_INSTALLED_PRODUCT=YES\r\n    export STRIP_STYLE=debugging\r\n    export STRIP_SWIFT_SYMBOLS=YES\r\n    export SUPPORTED_DEVICE_FAMILIES=1,2\r\n    export SUPPORTED_PLATFORMS=\"iphonesimulator iphoneos\"\r\n    export SUPPORTS_TEXT_BASED_API=NO\r\n    export SWIFT_ACTIVE_COMPILATION_CONDITIONS=DEBUG\r\n    export SWIFT_OPTIMIZATION_LEVEL=-Onone\r\n    export SWIFT_PLATFORM_TARGET_PREFIX=ios\r\n    export SYMROOT=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Products\r\n    export SYSTEM_ADMIN_APPS_DIR=/Applications/Utilities\r\n    export SYSTEM_APPS_DIR=/Applications\r\n    export SYSTEM_CORE_SERVICES_DIR=/System/Library/CoreServices\r\n    export SYSTEM_DEMOS_DIR=/Applications/Extras\r\n    export SYSTEM_DEVELOPER_APPS_DIR=/Applications/Xcode.app/Contents/Developer/Applications\r\n    export SYSTEM_DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/usr/bin\r\n    export SYSTEM_DEVELOPER_DEMOS_DIR=\"/Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples\"\r\n    export SYSTEM_DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer\r\n    export SYSTEM_DEVELOPER_DOC_DIR=\"/Applications/Xcode.app/Contents/Developer/ADC Reference Library\"\r\n    export SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR=\"/Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools\"\r\n    export SYSTEM_DEVELOPER_JAVA_TOOLS_DIR=\"/Applications/Xcode.app/Contents/Developer/Applications/Java Tools\"\r\n    export SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR=\"/Applications/Xcode.app/Contents/Developer/Applications/Performance Tools\"\r\n    export SYSTEM_DEVELOPER_RELEASENOTES_DIR=\"/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes\"\r\n    export SYSTEM_DEVELOPER_TOOLS=/Applications/Xcode.app/Contents/Developer/Tools\r\n    export SYSTEM_DEVELOPER_TOOLS_DOC_DIR=\"/Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools\"\r\n    export SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR=\"/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools\"\r\n    export SYSTEM_DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/usr\r\n    export SYSTEM_DEVELOPER_UTILITIES_DIR=/Applications/Xcode.app/Contents/Developer/Applications/Utilities\r\n    export SYSTEM_DOCUMENTATION_DIR=/Library/Documentation\r\n    export SYSTEM_KEXT_INSTALL_PATH=/System/Library/Extensions\r\n    export SYSTEM_LIBRARY_DIR=/System/Library\r\n    export TAPI_VERIFY_MODE=ErrorsOnly\r\n    export TARGETED_DEVICE_FAMILY=1,2\r\n    export TARGETNAME=Lib\r\n    export TARGET_BUILD_DIR=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Products/Debug-iphonesimulator\r\n    export TARGET_DEVICE_IDENTIFIER=373B6E48-FB04-4BBA-B01B-0765C6C5B087\r\n    export TARGET_DEVICE_MODEL=iPhone10,5\r\n    export TARGET_DEVICE_OS_VERSION=11.4\r\n    export TARGET_NAME=Lib\r\n    export TARGET_TEMP_DIR=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Intermediates.noindex/iosApp.build/Debug-iphonesimulator/Lib.build\r\n    export TEMP_DIR=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Intermediates.noindex/iosApp.build/Debug-iphonesimulator/Lib.build\r\n    export TEMP_FILES_DIR=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Intermediates.noindex/iosApp.build/Debug-iphonesimulator/Lib.build\r\n    export TEMP_FILE_DIR=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Intermediates.noindex/iosApp.build/Debug-iphonesimulator/Lib.build\r\n    export TEMP_ROOT=/Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Intermediates.noindex\r\n    export TOOLCHAINS=com.apple.dt.toolchain.XcodeDefault\r\n    export TOOLCHAIN_DIR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain\r\n    export TREAT_MISSING_BASELINES_AS_TEST_FAILURES=NO\r\n    export UID=502\r\n    export UNLOCALIZED_RESOURCES_FOLDER_PATH=Lib.framework\r\n    export UNSTRIPPED_PRODUCT=NO\r\n    export USER=nicoladefiorenze\r\n    export USER_APPS_DIR=/Users/nicoladefiorenze/Applications\r\n    export USER_LIBRARY_DIR=/Users/nicoladefiorenze/Library\r\n    export USE_DYNAMIC_NO_PIC=YES\r\n    export USE_HEADERMAP=YES\r\n    export USE_HEADER_SYMLINKS=NO\r\n    export VALIDATE_PRODUCT=NO\r\n    export VALID_ARCHS=\"i386 x86_64\"\r\n    export VERBOSE_PBXCP=NO\r\n    export VERSIONING_SYSTEM=apple-generic\r\n    export VERSIONPLIST_PATH=Lib.framework/version.plist\r\n    export VERSIONS_FOLDER_PATH=Lib.framework\r\n    export VERSION_INFO_BUILDER=nicoladefiorenze\r\n    export VERSION_INFO_FILE=Lib_vers.c\r\n    export VERSION_INFO_STRING=\"\\\"@(#)PROGRAM:Lib  PROJECT:iosApp-1\\\"\"\r\n    export WRAPPER_EXTENSION=framework\r\n    export WRAPPER_NAME=Lib.framework\r\n    export WRAPPER_SUFFIX=.framework\r\n    export WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES=NO\r\n    export XCODE_APP_SUPPORT_DIR=/Applications/Xcode.app/Contents/Developer/Library/Xcode\r\n    export XCODE_PRODUCT_BUILD_VERSION=9F2000\r\n    export XCODE_VERSION_ACTUAL=0941\r\n    export XCODE_VERSION_MAJOR=0900\r\n    export XCODE_VERSION_MINOR=0940\r\n    export XPCSERVICES_FOLDER_PATH=Lib.framework/XPCServices\r\n    export YACC=yacc\r\n    export arch=x86_64\r\n    export variant=normal\r\n    /bin/sh -c /Users/nicoladefiorenze/Library/Developer/Xcode/DerivedData/iosApp-ffezlmxokxouqldsdyitqclrlfmk/Build/Intermediates.noindex/iosApp.build/Debug-iphonesimulator/Lib.build/Script-DB65A7F720D92E7E003014BF.sh\r\n\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* Where:\r\nBuild file '/Users/nicoladefiorenze/IdeaProjects/firstMultiplatformLib/lib/ios/build.gradle' line: 1\r\n\r\n* What went wrong:\r\nA problem occurred evaluating project ':lib:ios'.\r\n> org/gradle/api/internal/FeaturePreviews\r\n\r\n* Try:\r\nRun with --info or --debug option to get more log output. Run with --scan to get full insights.\r\n\r\n* Exception is:\r\norg.gradle.api.GradleScriptException: A problem occurred evaluating project ':lib:ios'.\r\n\tat org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:92)\r\n\tat org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl$2.run(DefaultScriptPluginFactory.java:204)\r\n\tat org.gradle.configuration.ProjectScriptTarget.addConfiguration(ProjectScriptTarget.java:77)\r\n\tat org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:209)\r\n\tat org.gradle.configuration.BuildOperationScriptPlugin$1.run(BuildOperationScriptPlugin.java:61)\r\n\tat org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)\r\n\tat org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)\r\n\tat org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)\r\n\tat org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)\r\n\tat org.gradle.configuration.BuildOperationScriptPlugin.apply(BuildOperationScriptPlugin.java:58)\r\n\tat org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:41)\r\n\tat org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:26)\r\n\tat org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:34)\r\n\tat org.gradle.configuration.project.LifecycleProjectEvaluator.doConfigure(LifecycleProjectEvaluator.java:64)\r\n\tat org.gradle.configuration.project.LifecycleProjectEvaluator.access$100(LifecycleProjectEvaluator.java:34)\r\n\tat org.gradle.configuration.project.LifecycleProjectEvaluator$ConfigureProject.run(LifecycleProjectEvaluator.java:110)\r\n\tat org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)\r\n\tat org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)\r\n\tat org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)\r\n\tat org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)\r\n\tat org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:50)\r\n\tat org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:667)\r\n\tat org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:136)\r\n\tat org.gradle.execution.TaskPathProjectEvaluator.configure(TaskPathProjectEvaluator.java:35)\r\n\tat org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:62)\r\n\tat org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:38)\r\n\tat org.gradle.initialization.DefaultGradleLauncher$ConfigureBuild.run(DefaultGradleLauncher.java:249)\r\n\tat org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)\r\n\tat org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)\r\n\tat org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)\r\n\tat org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)\r\n\tat org.gradle.initialization.DefaultGradleLauncher.configureBuild(DefaultGradleLauncher.java:167)\r\n\tat org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:126)\r\n\tat org.gradle.initialization.DefaultGradleLauncher.executeTasks(DefaultGradleLauncher.java:109)\r\n\tat org.gradle.internal.invocation.GradleBuildController$1.call(GradleBuildController.java:78)\r\n\tat org.gradle.internal.invocation.GradleBuildController$1.call(GradleBuildController.java:75)\r\n\tat org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:152)\r\n\tat org.gradle.internal.invocation.GradleBuildController.doBuild(GradleBuildController.java:100)\r\n\tat org.gradle.internal.invocation.GradleBuildController.run(GradleBuildController.java:75)\r\n\tat org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)\r\n\tat org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)\r\n\tat org.gradle.tooling.internal.provider.ValidatingBuildActionRunner.run(ValidatingBuildActionRunner.java:32)\r\n\tat org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$1.run(RunAsBuildOperationBuildActionRunner.java:43)\r\n\tat org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)\r\n\tat org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)\r\n\tat org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)\r\n\tat org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)\r\n\tat org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner.run(RunAsBuildOperationBuildActionRunner.java:40)\r\n\tat org.gradle.tooling.internal.provider.SubscribableBuildActionRunner.run(SubscribableBuildActionRunner.java:51)\r\n\tat org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:49)\r\n\tat org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:32)\r\n\tat org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:39)\r\n\tat org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:25)\r\n\tat org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:80)\r\n\tat org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:53)\r\n\tat org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:57)\r\n\tat org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:32)\r\n\tat org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:36)\r\n\tat org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:25)\r\n\tat org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:43)\r\n\tat org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:29)\r\n\tat org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:64)\r\n\tat org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:29)\r\n\tat org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:59)\r\n\tat org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:44)\r\n\tat org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:45)\r\n\tat org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:30)\r\n\tat org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:67)\r\n\tat org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)\r\n\tat org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)\r\n\tat org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:37)\r\n\tat org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)\r\n\tat org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)\r\n\tat org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)\r\n\tat org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)\r\n\tat org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)\r\n\tat org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)\r\n\tat org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)\r\n\tat org.gradle.util.Swapper.swap(Swapper.java:38)\r\n\tat org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)\r\n\tat org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)\r\n\tat org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)\r\n\tat org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)\r\n\tat org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:62)\r\n\tat org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)\r\n\tat org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)\r\n\tat org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:82)\r\n\tat org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)\r\n\tat org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)\r\n\tat org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)\r\n\tat org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:295)\r\n\tat org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)\r\n\tat org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)\r\n\tat org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)\r\nCaused by: java.lang.NoClassDefFoundError: org/gradle/api/internal/FeaturePreviews\r\n\tat org.jetbrains.kotlin.gradle.plugin.KonanPlugin.apply(KonanPlugin.kt:351)\r\n\tat org.jetbrains.kotlin.gradle.plugin.KonanPlugin.apply(KonanPlugin.kt:269)\r\n\tat org.gradle.api.internal.plugins.ImperativeOnlyPluginTarget.applyImperative(ImperativeOnlyPluginTarget.java:42)\r\n\tat org.gradle.api.internal.plugins.RuleBasedPluginTarget.applyImperative(RuleBasedPluginTarget.java:50)\r\n\tat org.gradle.api.internal.plugins.DefaultPluginManager.addPlugin(DefaultPluginManager.java:164)\r\n\tat org.gradle.api.internal.plugins.DefaultPluginManager.access$200(DefaultPluginManager.java:47)\r\n\tat org.gradle.api.internal.plugins.DefaultPluginManager$AddPluginBuildOperation.run(DefaultPluginManager.java:252)\r\n\tat org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)\r\n\tat org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)\r\n\tat org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)\r\n\tat org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)\r\n\tat org.gradle.api.internal.plugins.DefaultPluginManager.doApply(DefaultPluginManager.java:144)\r\n\tat org.gradle.api.internal.plugins.DefaultPluginManager.apply(DefaultPluginManager.java:125)\r\n\tat org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.applyType(DefaultObjectConfigurationAction.java:120)\r\n\tat org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.access$200(DefaultObjectConfigurationAction.java:38)\r\n\tat org.gradle.api.internal.plugins.DefaultObjectConfigurationAction$3.run(DefaultObjectConfigurationAction.java:86)\r\n\tat org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.execute(DefaultObjectConfigurationAction.java:143)\r\n\tat org.gradle.api.internal.project.AbstractPluginAware.apply(AbstractPluginAware.java:46)\r\n\tat org.gradle.api.internal.project.ProjectScript.apply(ProjectScript.java:34)\r\n\tat org.gradle.api.Script$apply$1.callCurrent(Unknown Source)\r\n\tat build_504wde1qtli4y0iyivw5qecza.run(/Users/nicoladefiorenze/IdeaProjects/firstMultiplatformLib/lib/ios/build.gradle:1)\r\n\tat org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:90)\r\n\t... 93 more\r\n\r\n\r\n* Get more help at https://help.gradle.org\r\n\r\nBUILD FAILED in 0s\r\nCommand /bin/sh failed with exit code 1\r\n```\r\nCommon module build.gradle\r\n```\r\napply plugin: 'kotlin-platform-common'\r\n\r\n// Specify a group and a version of the library to access it in Android Studio.\r\n// By default the project directory name is used as an artifact name thus the full dependency\r\n// description will be 'com.ndefiorenze:common:1.0'\r\ngroup = 'com.ndefiorenze'\r\nversion = 1.0\r\n\r\ndependencies {\r\n    // Set up compilation dependency on common Kotlin stdlib\r\n    implementation \"org.jetbrains.kotlin:kotlin-stdlib-common:$kotlin_version\"\r\n}\r\n```\r\n\r\niOS module build.gradle\r\n```\r\napply plugin: 'kotlin-platform-common'\r\n\r\n// Specify a group and a version of the library to access it in Android Studio.\r\n// By default the project directory name is used as an artifact name thus the full dependency\r\n// description will be 'com.ndefiorenze:common:1.0'\r\ngroup = 'com.ndefiorenze'\r\nversion = 1.0\r\n\r\ndependencies {\r\n    // Set up compilation dependency on common Kotlin stdlib\r\n    implementation \"org.jetbrains.kotlin:kotlin-stdlib-common:$kotlin_version\"\r\n}\r\n```\r\ngradle-wrapper-properties\r\n```\r\n#Mon Jun 18 17:18:29 CEST 2018\r\ndistributionBase=GRADLE_USER_HOME\r\ndistributionPath=wrapper/dists\r\nzipStoreBase=GRADLE_USER_HOME\r\nzipStorePath=wrapper/dists\r\ndistributionUrl=https\\://services.gradle.org/distributions/gradle-4.7-all.zip\r\n\r\n```\r\nXcode version: 9.4.1\r\nHere the zipped project:  [firstMultiplatformLib.zip](https://github.com/JetBrains/kotlin-native/files/2115304/firstMultiplatformLib.zip)\r\n\r\nThe Android app work as expected\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/JetBrains/kotlin-native/issues/comments/398438186","html_url":"https://github.com/JetBrains/kotlin-native/issues/1706#issuecomment-398438186","issue_url":"https://api.github.com/repos/JetBrains/kotlin-native/issues/1706","id":398438186,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODQzODE4Ng==","user":{"login":"defio","id":6303224,"node_id":"MDQ6VXNlcjYzMDMyMjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/6303224?v=4","gravatar_id":"","url":"https://api.github.com/users/defio","html_url":"https://github.com/defio","followers_url":"https://api.github.com/users/defio/followers","following_url":"https://api.github.com/users/defio/following{/other_user}","gists_url":"https://api.github.com/users/defio/gists{/gist_id}","starred_url":"https://api.github.com/users/defio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defio/subscriptions","organizations_url":"https://api.github.com/users/defio/orgs","repos_url":"https://api.github.com/users/defio/repos","events_url":"https://api.github.com/users/defio/events{/privacy}","received_events_url":"https://api.github.com/users/defio/received_events","type":"User","site_admin":false},"created_at":"2018-06-19T15:20:24Z","updated_at":"2018-06-19T15:20:24Z","author_association":"NONE","body":"no, this is my `settings.gradle`\r\n```\r\ninclude ':app'\r\nincludeBuild '../'\r\n```\r\n\r\nEven adding `enableFeaturePreview('GRADLE_METADATA')`  the problem remains (unchanged)"}}
{"actor":{"display_login":"defio"}}