Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task :tensorflow:cinteropCocoapodTFLTensorFlowLiteIosArm64 FAILED #10

Open
CloverRedspot opened this issue Jun 27, 2022 · 2 comments
Open

Comments

@CloverRedspot
Copy link

Hi.
I am getting this exception during the build of this project.
Do you have any idea what went wrong?
Any help would be greatly appreciated.

IntelliJ 2022.1.3
kotlin 1.7.0

> Task :tensorflow:cinteropCocoapodTFLTensorFlowLiteIosArm64 FAILED
Exception in thread "main" java.lang.Error: /var/folders/sb/gn7xgpbj0vg3fbrqdg2ph66h0000gn/T/8487972035033938931.m:1:9: fatal error: could not build module 'TFLTensorFlowLite'
        at org.jetbrains.kotlin.native.interop.indexer.UtilsKt.ensureNoCompileErrors(Utils.kt:152)
        at org.jetbrains.kotlin.native.interop.indexer.ModuleSupportKt.getModulesASTFiles(ModuleSupport.kt:68)
        at org.jetbrains.kotlin.native.interop.indexer.ModuleSupportKt.getModulesInfo(ModuleSupport.kt:14)
        at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.buildNativeLibrary(main.kt:515)
        at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.processCLib(main.kt:266)
        at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.interop(main.kt:76)
        at org.jetbrains.kotlin.cli.utilities.InteropCompilerKt.invokeInterop(InteropCompiler.kt:45)
        at org.jetbrains.kotlin.cli.utilities.MainKt.mainImpl(main.kt:38)
        at org.jetbrains.kotlin.cli.utilities.MainKt.main(main.kt:60)

> Task :cocoapodBuildTFLTensorFlowLiteIphonesimulatorX86_64
xcodebuild result is 0

FAILURE: Build failed with an exception.
@Alex009
Copy link
Member

Alex009 commented Jul 24, 2022

at first recommend you to try build all cocoapods via xcode. maybe current xcode not works with this TF version.
also maybe something in kotlin 1.7.0 broken in cinterop. try 1.7.10 or 1.6.21 versions

@MohamadJaara
Copy link

@CloverRedspot I wonder if you were able to solve the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants