Ranjeet Chouhan
12/22/2023, 7:12 AMpraful@Prafuls-MacBook-Pro FirstSDK % ./gradlew createSwiftPackage
Calculating task graph as no configuration cache is available for tasks: createSwiftPackage
Type-safe project accessors is an incubating feature.
> Task :shared:createXCFramework
xcframework successfully written out to: /Users/praful/Desktop/tutorial/FirstSDK/shared/swiftpackage/shared.xcframework
FAILURE: Build failed with an exception.
* What went wrong:
Configuration cache problems found in this build.
7 problems were found storing the configuration cache, 4 of which seem unique.
- Task `:shared:createSwiftPackage` of type `org.gradle.api.DefaultTask`: cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project', as these are not supported with the configuration cache.
See <https://docs.gradle.org/8.2/userguide/configuration_cache.html#config_cache:requirements:disallowed_types>
- Task `:shared:createSwiftPackage` of type `org.gradle.api.DefaultTask`: invocation of 'Task.project' at execution time is unsupported.
See <https://docs.gradle.org/8.2/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution>
- Task `:shared:linkReleaseFrameworkIosArm64` of type `org.jetbrains.kotlin.gradle.tasks.KotlinNativeLink`: invocation of 'Task.project' at execution time is unsupported.
See <https://docs.gradle.org/8.2/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution>
- Task `:shared:linkReleaseFrameworkIosX64` of type `org.jetbrains.kotlin.gradle.tasks.KotlinNativeLink`: invocation of 'Task.project' at execution time is unsupported.
See <https://docs.gradle.org/8.2/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution>
See the complete report at file:///Users/praful/Desktop/tutorial/FirstSDK/build/reports/configuration-cache/1wgovadyr3o62bp2v0fjuij39/6u9rgu2j764nm83vv1uxqn7nm/configuration-cache-report.html
> Invocation of 'Task.project' by task ':shared:linkReleaseFrameworkIosArm64' at execution time is unsupported.
> Invocation of 'Task.project' by task ':shared:linkReleaseFrameworkIosX64' at execution time is unsupported.
> Invocation of 'Task.project' by task ':shared:createSwiftPackage' at execution time is unsupported.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at <https://help.gradle.org>.
BUILD FAILED in 6s
Jan Holešovský
12/22/2023, 9:47 AMAhmed na
12/22/2023, 9:50 AM