skiptools / skiptools/skip-android-bridge
Observation linking error: cannot locate symbol "_ZN5swift9threading5fatalEPKcz"
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 4
- Forks
- 9
- Avg merge
- 41m
- Merged PRs (30d)
- 1
Description
When linking to Observation and building with skip android build, the following linking error occurs:
cannot locate symbol "_ZN5swift9threading5fatalEPKcz" referenced by "/data/local/tmp/swift-android/Android-9EA98374-80B5-494A-9679-A2B5EBE1D083/libswiftObservation.so".
We work around this in SkipAndroidBridge with the following code, but it requires that SkipAndroidBridge be imported (either directly or via SkipFuse):
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the linker failure while building with skip android build, then inspect the workaround in SkipAndroidBridge/Sources/SkipAndroidBridge/Observation.swift at lines 150-158. Compare the behavior with and without importing SkipAndroidBridge or SkipFuse. Done means Observation links successfully without requiring that workaround import.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100