Skip to content

fix(ios): link the core framework on macOS hosts - #16

Open
hawkff wants to merge 1 commit into
Valenced:mainfrom
hawkff:fix/ios-link-core-on-mac
Open

hawkff wants to merge 1 commit into
Valenced:mainfrom
hawkff:fix/ios-link-core-on-mac

Conversation

@hawkff

@hawkff hawkff commented Nov 18, 2026

Copy link
Copy Markdown

./gradlew :ios:packageTweak fails on a macOS host at the link step:

ld: framework 'ValencedCore' not found

ios/build.gradle.kts sets VALENCED_CORE_FW to ValencedCore.framework itself. The Makefile passed that path to -F, which expects the folder that contains the framework, and asked for -framework ValencedCore on top.

The framework is static, and -force_load on its binary already links it, as the static library is linked on other hosts. This change drops the -F flags and the framework entry.

With it, the task completes on GitHub's macos-15 (Apple silicon) and macos-15-intel runners and produces the package. I have not run the package on a device. The path for other hosts is unchanged.

VALENCED_CORE_FW names ValencedCore.framework itself, so passing it to -F
made the linker search inside the bundle and fail with "framework
'ValencedCore' not found". The framework is static and -force_load already
links its binary, as the static library path does on other hosts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant