Nikolay Kasyanov
04/09/2020, 1:54 PMNSBundle.mainBundle.infoDictionary!!
values with using CoreFoundation constants like kCFBundleVersionKey
but always getting null
. If I use respective literal strings (like "CFBundleVersion"
) it works like a charm. What am I missing here?
The constants are CFStringRef
, could it be the issue?David Winer [G]
04/23/2020, 5:47 PMphldavies
04/27/2020, 1:32 PMNSData(base64Encoded:String)
from kotlin?David Winer [G]
04/27/2020, 4:51 PMNikolay Kasyanov
05/15/2020, 1:35 PM(anonymous namespace)::garbageCollect(MemoryState*, bool)
after releasing a version of an iOS app with a fairly big chunk of new Kotlin/Native code. There’s a somewhat similar thread but our stack trace is different.Rainer Schlonvoigt
05/18/2020, 8:51 AMlet thisIsAKotlinInt: Any = KotlinInt(int: 3)
XCTAssertEqual(thisIsAKotlinInt as? KotlinInt, KotlinInt(int: 3))
katokay
05/27/2020, 7:25 PMphldavies
05/29/2020, 12:19 PMphldavies
06/08/2020, 8:46 AMCFStringRef
(like the kCFBundleNameKey
constant) as a Kotlin String
?Derek Ellis
06/12/2020, 12:36 AM> Task :shared:cinteropMapbox-iOS-SDKIos
Exception in thread "main" java.lang.Error: /var/folders/9c/t4r21hhn7y5fflv2v71n4zmr0000gn/T/tmp5889693057335845972.m:1:15: error: expected ';' after module name
Theo
06/12/2020, 2:11 PMarm
or x86
however since the upgrade it no longer can do this. My work around since then has just been to run a shell command that builds the framework for which architecture I want when switching between device and simulator. Anyone have any pointers? is this a known issue?Derek Ellis
06/14/2020, 10:07 PMMGLShapeSource
from the Mapbox SDK. MGLShapeSource
is a subclass of MGLSource
which has an initializer called initWithIdentifier
. When I try to create an instance of my Kotlin subclass, I get an exception thrown saying initWithIdentifier: is not implemented in Shared....KotlinSubclass0
which seems to be the initializer from MGLSource
so I created another constructor in my subclass to override that initializer but now I get a EXC_BAD_ACCESS
when that initializer is called.
Maybe this is just because I'm not quite as familiar with how Obj-C handles initialization, but I'm not really sure what's happening here?Alberto
06/18/2020, 2:51 PMAlberto
06/23/2020, 2:19 PMViresh
06/24/2020, 10:58 AMCombine
framework but was not able to do.Alberto
06/25/2020, 9:23 PMTheo
06/27/2020, 8:28 PMNikolay Kasyanov
07/06/2020, 12:35 PMAndrea Prearo
07/07/2020, 5:24 PM|- shared-libraries
\- network
|- network-core
| |- src
| | \- commonMain
| \- build.gradle.kts
|
|- network-ktor
| |- src
| | \- commonMain
| \- build.gradle.kts
|
\- build.gradle.kts
The network
module build script has the following dependencies:
• api(project(":shared-libraries:network:network-core"))
• api(project(":shared-libraries:network:network-ktor"))
Basically, network
is an umbrella module that contains no source code.
For Android, all works fine. I’m able to import :shared-libraries:network
without issues.
For iOS, I’m leveraging FatFrameworkTask
(registered as fatFramework
) to build the umbrella framework. When I run ./gradlew :shared-libraries:network:fatFramework
, Gradle compiles the code but it doesn’t create any iOS framework. I’m not sure why.
Is there a better/easier way to create an iOS umbrella framework for a project structure like the one above?Nikolay Kasyanov
07/10/2020, 10:32 AMcompileIosMainKotlinMetadata
task. Basically a bunch of unresolved reference
errors as if I were importing something that doesn’t exist (even though it’s there and compileKotlinIos<platform>
works flawlessly). Any ideas what might be causing this?Alberto
07/13/2020, 7:38 PMRainer Schlonvoigt
07/14/2020, 8:21 AMwillyrs
07/15/2020, 10:24 AMmacosX64("mac") {
binaries {
framework("mac")
}
}
but when I try to import the framework it says:
/Users/*/Projects/RTE/apod-kampkit/ios/ApodKMP.xcodeproj Building for Mac Catalyst, but the linked and embedded framework 'mac.framework' was built for macOS. You may need to restrict the platforms for which this framework should be linked and embedded in the target editor, or replace it with an XCFramework that supports both platforms.
I’m a bit confused since it clearly says that the framework is (correctly?) built for macOS.
I’ve also tried to put this framework in a normal macOS app project and it worksphldavies
07/20/2020, 10:42 AMUndefined symbols for architecture arm64
(and x86_64) when attempting to build my project in xcode that depends on TensorFlowLiteObjC
pod, which itself depends on TensorFlowLiteC
which is a binary framework, The classes being referred to in the error are part of the ObjC
wrapper framework which is provided as source. Is there any where I can look to help resolve this? I’ve done a clean pod install
and cleaned the xcode build directory but I’m still hitting the same issue (for both a real device and for simulator)Foso
08/01/2020, 7:30 PMTheo
08/21/2020, 12:14 PMTijl
08/21/2020, 12:16 PMAlberto
08/28/2020, 7:04 PMdazza5000
08/31/2020, 3:00 PMWKScriptMessageHandlerProtocol
which has one abstract function defined, but when building the project it wants me to implement all of the members for NSObject? Does anyone know how to fix that?dazza5000
09/01/2020, 2:46 PM