Landry Norris
05/05/2022, 5:59 PMLandry Norris
05/13/2022, 6:53 PMUnresolved classifier: cocoapods/Intercom/ICMHelpCenterCollectionContent
What should I be looking for to figure out why this fails for only one of the modules?ribesg
05/20/2022, 10:48 AM> Task :iosX64Test
Invalid device: iPhone 12
java.lang.IllegalStateException: command '/usr/bin/xcrun' exited with errors (exit code: 148)
Yeah I don’t have an iPhone 12 simulator, but why does it try running my tests on it? There are other simulators available, why does it want to use something that isn’t there?Allen
05/22/2022, 7:50 PMLandry Norris
05/30/2022, 4:10 PMPaddy O'Brien
05/30/2022, 4:26 PMPaddy O'Brien
06/02/2022, 2:45 PMsuspend
functions are available as functions with callbacks and async
functions in swift.
Unfortunately this means that interfaces with suspend
functions in Kotlin are exported as protocols with both async
and callback requirements in Swift. And async
is not supported for iOS 12 🙃
Is it possible to generate only the callback definitions?Pat Teruel
06/03/2022, 2:19 AMHKVerifiableClinicalRecordQuery
supported? I can’t seem to access it through Kotlin. Thank you.ribesg
06/14/2022, 8:13 AM"$REPO_ROOT/../../../../private/var/folders/6l/fxc2038542q1pfrjs6br35pw0000gn/T/wrap1902loc/gradlew" -p "$REPO_ROOT" $KOTLIN_PROJECT_PATH:syncFramework -Pkotlin.native.cocoapods.platform=$PLATFORM_NAME -Pkotlin.native.cocoapods.archs="$ARCHS" -Pkotlin.native.cocoapods.configuration="$CONFIGURATION"
/Users/ribesg/Library/Developer/Xcode/DerivedData/events-fovucgtiducodmfkizhdqhwxwlxd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/events.build/Script-6142A0FCC479B03E270A05C98643CC12.sh: line 8: /Users/ribesg/XcodeProjects/events/xcode/Pods/../../../../../../private/var/folders/6l/fxc2038542q1pfrjs6br35pw0000gn/T/wrap1902loc/gradlew: No such file or directory
Slackbot
06/15/2022, 6:06 AMribesg
06/15/2022, 2:52 PMMatthew Murray
06/21/2022, 6:54 PMswitch
statement with Kotlin/Native enums in Objective-C. I’m getting the error Statement requires expression of integer type ('NtvCoreRateType *' invalid)
. It seems that Kotlin enum classes don’t get converted into proper enums in objective-C, so I’m wondering if its at all possible to do a switch statement with them? And if not, what is the expected way to compare them?ariedov
06/22/2022, 1:17 PMLandry Norris
06/28/2022, 4:46 PMdarkmoon_uk
06/29/2022, 1:07 AMTommy Dwi
07/07/2022, 4:32 PMTommy Dwi
07/07/2022, 4:33 PMribesg
07/12/2022, 8:51 AMpod("MaterialComponents/TextFields", "~> 123")
The generated Podfile in build/cocoapods/synthetic/IOS contains this:
pod 'MaterialComponents/TextFields'
Then obviously the Podfile.lock contains:
- MaterialComponents/TextFields (124.2.0)
And the build fails, potentially because this version is broken. Is it a bug? I tried with Kotlin 1.6 and 1.7 and it does not seem differentJosh Cockrell
07/12/2022, 5:51 PMBool
Int
and Double
become KotlinBool
Int32
and KotlinDouble
Slackbot
07/14/2022, 3:15 AMdarkmoon_uk
07/14/2022, 7:19 AM1.6.21
and 1.7.10
in case you want to *depend on a Pod that requires the most recent iOS versions (15.4/15.5)*; filed a bug here:
🐛 KT-53174 CocoaPods: Synthetic Podfile does not specify deployment targetMarkRS
07/14/2022, 8:26 AMLandry Norris
07/14/2022, 6:07 PMursus
07/14/2022, 8:31 PMdarkmoon_uk
07/19/2022, 11:25 PMorg.jetbrains.gradle.apple.applePlugin
, does anyone know how control which destination(s) are being built for? I can query destinations
in the DSL which tells me Device and Simulator. I need to restrict it to only Device as I have a Project dependency which won't build for Sim. When using xcodebuild
this is the -destination
switch... I guess if I can find the source to the Apple plugin I could find if that switch is ever applied and trace it back...Daniel Hill
07/22/2022, 1:26 AMclass MyView: UIView {
override init(frame: CGRect) {
super.init(frame: frame)
self.accessibilityIdentifier = "my-custom-view"
}
}
Example 2:
val view: UILabel = ...
view.accessibilityIdentifier = "my-custom-view"
Pat Teruel
07/27/2022, 8:24 PMTrevor Stone
07/28/2022, 11:57 PMorg.jetbrains.gradle.apple.applePlugin
working, and maybe more specifically on an m1 device?xxfast
08/04/2022, 1:26 AMState
from StateFlow<State>
to SwiftUi as @ObservedObject
? Rather than doing
@Published var state: State = State.companion.DEFAULT
viewModel.onState { (state) in
self.state = state
}
brabo-hi
08/05/2022, 7:04 PM*Calling Kotlin suspend functions from Swift/Objective-C is currently supported only on main thread*
any cluebrabo-hi
08/05/2022, 7:04 PM*Calling Kotlin suspend functions from Swift/Objective-C is currently supported only on main thread*
any cluekpgalligan
08/06/2022, 3:33 PMbrabo-hi
08/06/2022, 4:26 PM