darkmoon_uk
10/05/2020, 6:58 AMArtyom Degtyarev [JB]
10/05/2020, 9:15 AMdarkmoon_uk
10/05/2020, 9:37 AMcocoapods section:
cocoapods {
// Configure fields required by CocoaPods.
summary = "Some description for a Kotlin/Native module"
homepage = "Link to a Kotlin/Native module homepage"
// You can change the name of the produced framework.
// By default, it is the name of the Gradle project.
frameworkName = "hydrant_art"
ios.deploymentTarget = "14.0"
pod("GoogleMaps")
pod("Filament", "~> 1.9.2")
pod("Firebase/Analytics")
pod("Firebase/Firestore")
pod("Firebase/Storage")
pod("Firebase/Database")
pod("Firebase/RemoteConfig")
}darkmoon_uk
10/05/2020, 9:37 AMGoogleMaps resolves OK, but none of the others do.darkmoon_uk
10/05/2020, 9:40 AMPodspec file and ran pod install it completed successfully.darkmoon_uk
10/05/2020, 9:40 AMdarkmoon_uk
10/05/2020, 9:41 AMdarkmoon_uk
10/05/2020, 9:41 AMgem and via brew.darkmoon_uk
10/05/2020, 9:43 AMdarkmoon_uk
10/05/2020, 9:44 AMdarkmoon_uk
10/05/2020, 9:46 AMcinteropFilamentIos fails, that is hidden behind the java invocation during sync.darkmoon_uk
10/05/2020, 9:46 AMfatal error: module 'Filament' not founddarkmoon_uk
10/05/2020, 9:46 AMFirebase/* pods.Artyom Degtyarev [JB]
10/05/2020, 12:22 PMFirebase/ ones, there was a problem solvable with quite a different naming. I just tried locally, and getting rid of all those slashes made things work.
ios.deploymentTarget = "14.0"
pod("GoogleMaps")
//pod("Filament", "~> 1.9.2")
pod("FirebaseAnalytics")
pod("FirebaseFirestore")
pod("FirebaseStorage")
pod("FirebaseDatabase")
pod("FirebaseRemoteConfig")
For the Filament, I found this thread, and everything looks really less promising. Maybe you could try pinging library maintainers somewhere like https://github.com/google/filament/issues/1197 or https://github.com/google/filament/issues/139, but at the moment this binding most probably just won’t work.darkmoon_uk
10/05/2020, 12:29 PMdarkmoon_uk
10/05/2020, 12:30 PMdarkmoon_uk
10/05/2020, 12:31 PMdarkmoon_uk
10/05/2020, 12:31 PMArtyom Degtyarev [JB]
10/05/2020, 12:40 PMAleksey Chugaev
10/08/2020, 11:36 AMpod install works fine without any warnings but gradle sync fails with:
> Task :background-sdk:cinteropLocalzDriverSDKIos FAILED
Exception in thread "main" java.lang.Error: /var/folders/y1/f44ld52d3sl2scm9p_mdwkbc0000gn/T/tmp2184417698632498043.m:1:9: fatal error: module 'LocalzDriverSDK' not found
at org.jetbrains.kotlin.native.interop.indexer.UtilsKt.ensureNoCompileErrors(Utils.kt:152)
at org.jetbrains.kotlin.native.interop.indexer.ModuleSupportKt.getModulesASTFiles(ModuleSupport.kt:67)
at org.jetbrains.kotlin.native.interop.indexer.ModuleSupportKt.getModulesInfo(ModuleSupport.kt:13)
at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.buildNativeLibrary(main.kt:430)
In my Podfile I have
source '<https://github.com/localz/Spotz-iOS-Specs.git>'
...
use_frameworks!
...
pod 'LocalzDriverSDK', '1.7.2'
however, when I change it to (I have access to SDK source)
pod 'LocalzDriverSDK', :path => '../../ios/localz-driver-sdk-ios'
it all works fineYaroslav Chernyshev [JB]
10/08/2020, 11:40 AMspecRepos {
url("<https://github.com/localz/Spotz-iOS-Specs.git>")
}
into cocoapods block where pod("LocalzDriverSDK") declaredAleksey Chugaev
10/08/2020, 11:41 AM