Guilherme Delgado
03/30/2021, 11:12 PMCharles Prado
03/30/2021, 11:38 PMset -ev
REPO_ROOT="$PODS_TARGET_SRCROOT"
"$REPO_ROOT/../gradlew" -p "$REPO_ROOT" :shared:syncFramework \
-Pkotlin.native.cocoapods.target=$KOTLIN_TARGET \
-Pkotlin.native.cocoapods.configuration=$CONFIGURATION \
-Pkotlin.native.cocoapods.cflags="$OTHER_CFLAGS" \
-Pkotlin.native.cocoapods.paths.headers="$HEADER_SEARCH_PATHS" \
-Pkotlin.native.cocoapods.paths.frameworks="$FRAMEWORK_SEARCH_PATHS"
The error doesn't say so much, only that:
Command /bin/sh emitted errors but did not return a nonzero exit code to indicate failure
I tried then to run ./gradlew -p . :shared:syncFramework
directly from the terminal and it says that
Task 'syncFramework' not found in project ':shared'.
Any ideas how can I solve that?deviant
03/31/2021, 12:49 PMPedro Motta
03/31/2021, 5:06 PMThomas Flad
04/01/2021, 9:11 AMarchana 0623
04/02/2021, 11:38 AMLena Brusilovski
04/03/2021, 6:30 AMShakil Karim
04/03/2021, 9:36 AMHossein Amini
04/03/2021, 12:55 PM$(inherited)
flag, or
- Remove the build settings from the target.
Also I can’t import the module to my project. It only happens when I create a KMM project, I mean by creating a new project in Xcode, everything is ok.
How can I fix it?
Thanks a lotMichal Klimczak
04/03/2021, 4:57 PMktor
ByteReadChannel
to ios NSOutputStream
(I think) and I don't have an idea how to mix these apis.
I'm also gonna need to then unzip it and move the files and dirs from the zip package to the local storage, but this is probably not really feasible in common code before okio files api, right?
kotlinx-io seems to be dead.rnentjes
04/04/2021, 1:04 PMmarzelwidmer
04/05/2021, 2:12 PMios
and android
and also jvm
is there maybe a nice other tutorial to follow along 😞 this one I stumble with the Platform specific stuff.. I was trining to put the Platforms
specific code from the KMM Templated Sample
`
import platform.UIKit.UIDevice
resp.
actual val platform: String = "Android ${android.os.Build.VERSION.SDK_INT}"
I am not really the gradle guru
😉Halil Ozercan
04/05/2021, 3:27 PMVitor Prado
04/05/2021, 4:05 PMenv
values with multiplatform? I’ll try to describe my problem:
My api
needs to receive some headers based on application: platform, version, language.
This info is platform-client dependent.
How can I achieve it?Daniele B
04/05/2021, 9:45 PMSamuel Michael
04/06/2021, 3:33 AMDaniele B
04/06/2021, 12:59 PMrsktash
04/06/2021, 6:31 PMfelislynx
04/07/2021, 6:58 AMinclude ':OtherProject'
project(':OtherProject').projectDir = new File('../other_project/module')
How to achieve that in KTS format?Kilian Steenman
04/07/2021, 9:27 AMBig Chungus
04/07/2021, 9:50 AMMejdi
04/07/2021, 2:08 PMjw
04/07/2021, 2:11 PMDefault
as, well, a default.Joost Klitsie
04/07/2021, 3:04 PMDaniele B
04/07/2021, 3:45 PMfun LocalDb.getCountriesList() : List<CountryData> {
return countriesQueries.getCountriesList(
mapper = { name, population, first_doses, fully_vaccinated ->
CountryData(name = name, population = population, firstDoses = first_doses, fullyVaccinated = fully_vaccinated)
}).executeAsList()
}
Colton Idle
04/07/2021, 9:15 PMDaniele B
04/07/2021, 9:22 PMmeasureTimeMillis{}
not available in CommonMain?sushma nayak
04/07/2021, 10:24 PMld: warning: ignoring file ****/common/build/cocoapods/framework/common.framework/common, building for iOS Simulator-arm64 but attempting to link with file built for iOS Simulator-x86_64
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_CommonSafeStore", referenced from:
objc-class-ref in AppCoordinator.o
ld: symbol(s) not found for architecture arm64
SafeStore
is an expect/actual class
. After adding this the issue arose.
Is there anything additional that is needed for expect/actual declared classes to run on Xcode?marzelwidmer
04/08/2021, 12:30 PMsushma nayak
04/08/2021, 1:32 PM