A framework builds for one architecture. iOS consumers need an XCFramework
A simulator-only framework works on your machine and fails on the device, and the error names a missing architecture rather than the packaging decision that caused it.
We use Google Analytics to see which pages help people. No ads, no profiles. Privacy Policy
103 posts
A simulator-only framework works on your machine and fails on the device, and the error names a missing architecture rather than the packaging decision that caused it.
One test, five executions. That is how you find platform bugs — and how one flaky test fails five jobs.
Same folder names, different resolution. The accessor is typed, and a missing qualifier fails somewhere new.
Instant is unambiguous. LocalDateTime is not. The same arithmetic can disagree across targets.
An interface is resolved at runtime by an instance. expect/actual is resolved at compile time by the source set.
Every public declaration in the shared module becomes Swift API. internal is the design tool.
The driver is a one-line expect/actual. Threading, file location, and the OS deleting your file are the rest of it.
Registration is common. The bindings are not. DI defers the error to first use, which is usually on a user's device.
Obj-C has no namespaces. Everything exported is prefixed and flattened, and each Kotlin idiom loses something specific.
Kotlin objects held by Swift are ARC-counted. A loop through both runtimes is invisible to both profilers.
Android and JVM targets cache well. Native link steps mostly do not, and that asymmetry is where your CI time goes.
You configure one connect timeout. OkHttp, NSURLSession and the browser each enforce a different thing with it.