Konstantin Petrukhnov
04/24/2018, 3:43 PMdany
05/29/2018, 8:10 AM>> Non-public API usage:The app contains or inherits from non-public classes in Frameworks/MyLib.framework/MyLib: NSBlock
Konstantin Petrukhnov
05/31/2018, 10:21 AMgalex
06/20/2018, 8:01 PMsalomonbrys
10/10/2018, 1:53 PMString
with the content of an NSData
?
In swift, it would be: let datastring = String(data: fooData, encoding: NSUTF8StringEncoding)
salomonbrys
10/10/2018, 3:39 PMAna Stu
11/16/2018, 10:57 AMdarkmoon_uk
12/18/2018, 10:35 AMUITableViewDataSource
Protocol in pure Kotlin... The bridging seems to think I'm overriding a totally different method signature in the protocol, and so is throwing a compile error (on the return type). Is this expected? A bug? Workarounds exist with annotations?darkmoon_uk
12/18/2018, 5:38 PMdarkmoon_uk
12/18/2018, 5:39 PMdarkmoon_uk
12/18/2018, 9:45 PMo.semen
01/02/2019, 11:10 AMcinterops
section
fromPreset(presets.iosX64, 'ios') {
compilations.main.outputKinds('FRAMEWORK')
compilations.main {
cinterops {
firebase {
def pods = '${System.getProperty("user.home")}/Projects/kmpp/iosApp/Pods/'
includeDirs '${pods}Firebase/CoreOnly/Sources',
'${pods}FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers'
}
}
}
}
but it does not link anythingcoletz
01/07/2019, 10:34 AMString.format(format: String, vararg values: Any?)
, which in objc should be [NSString stringWithFormat:@"%d:%02d", values];
. So on k/n I tried using NSString.stringWithFormat()
but it accepts only the format
argument, I can't find how to insert the string that needs to be formatted. Not sure if I'm doing something wrong tbhGarouDan
02/09/2019, 9:56 PMNo such module 'app'
I’ve already tried several variations and don’t work.
It looks like the project is generating a main.framework instead of a app.framework. Either way I tried to change the references to main.framework to app.framework and then rename the folder inside the build/bin/ios/…. But I’m still with this error =/
How can I solve this problem and correctly build the project?gumil
03/20/2019, 10:09 AMMohammadsss1
03/21/2019, 10:55 PMDaniel Hauschildt
03/24/2019, 5:24 PMdrofwarcs
03/25/2019, 1:03 AMplugins {
kotlin("multiplatform") version "1.3.30-eap-45"
kotlin("xcode-compat") version "0.1"
}
and
kotlin {
xcode {
setupFramework("KotlinNativeFramework")
}
}
Is this expected to take the place of the packForXcode
gradle tasks we have to create now? Any more info on what we can do with the xcode-compat
gradle plugin?mben
03/26/2019, 4:44 PMGarouDan
04/10/2019, 12:00 AMBundle at path /Users/myUser/Library/Developer/CoreSimulator/Devices/DEVICE_NUMBER/data/Library/Caches/com.apple.mobile.installd.staging/temp.UblNHF/extracted/iosApp.app/Frameworks/main.framework did not have a CFBundleIdentifier in its Info.plist
I did a research about this and they say this is related with a cocoapods
gem, but I’m not really using something like this, the project, for now, is really simple, just some kind of a hello world.
After a lot of attempts I was able to use iPhone 8
but not iPhone Xr
(but even with iPhone 8
it doesn’t work always).
Does someone know why this happens?
PS.: I’m using outputKinds("framework")
in my build.gradle.kts
GarouDan
04/13/2019, 9:36 PMkotlin {
xcode {
setupApplication("application")
}
}
but my module name is something like myLongModuleName
.
What I’ve seen is that the generated output when running the buildForXcode
task is something like myLongModuleName.kexe
or myLongModuleName.kexe.dSYM
.
How could I change these output output names? Maybe for something like application.kexe
?Mohammadsss1
04/15/2019, 9:12 PMMohammadsss1
04/16/2019, 2:40 PMMohammadsss1
04/17/2019, 4:21 PMfun
inside it. I uploaded a release build to TestFlight. However, the crash report is missing the line and frame info.
I am using Kotlin plugin 1.3.30 on Android studioMohammadsss1
04/21/2019, 3:22 PMDavid
04/29/2019, 3:20 PMplugins {
kotlin("multiplatform") version "1.3.30"
kotlin("xcode-compat") version "0.1"
}
repositories {
mavenCentral()
}
kotlin {
xcode {
setupFramework("MyFramework")
}
}
The full code can be seen at: https://github.com/dtornqvist/KN-MyFrameworkgalex
05/01/2019, 4:29 AMJared
05/08/2019, 7:32 PMMohammadsss1
05/13/2019, 10:34 PMpod 'Shared', :path => '/Users/.../Shared'
However, can we deploy it remotely? so anyone can benefit and build it it directly inside any iOS project?
Something like pod 'Alamofire', '4.7.3'
JoakimForslund
05/28/2019, 1:04 PMJoakimForslund
05/28/2019, 1:04 PMsvyatoslav.scherbina
05/28/2019, 2:39 PMJoakimForslund
05/28/2019, 2:53 PMsvyatoslav.scherbina
05/28/2019, 3:09 PMJoakimForslund
05/28/2019, 3:21 PMsvyatoslav.scherbina
05/28/2019, 3:25 PMThis category member is naturally imported as an extension.You can’t override an extension in Kotlin.
JoakimForslund
05/28/2019, 3:41 PMsvyatoslav.scherbina
05/29/2019, 8:10 AMshouldAutorotate
in Kotlin. Not sure whether it is the same. Likely depends on your particular use case.