Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS Module Generation #3

Merged
merged 1 commit into from
Feb 20, 2025
Merged

iOS Module Generation #3

merged 1 commit into from
Feb 20, 2025

Conversation

erksch
Copy link
Contributor

@erksch erksch commented Jun 11, 2024

No description provided.

@erksch erksch force-pushed the main branch 2 times, most recently from ae327fe to 622909f Compare June 12, 2024 08:17
@erksch erksch force-pushed the ios-module-generation branch 2 times, most recently from 0d2b6ea to c1aa556 Compare July 27, 2024 23:22
@erksch
Copy link
Contributor Author

erksch commented Jul 27, 2024

Currently still getting linking errors for the iOS framework from the example KMP project:

> Task :linkDebugFrameworkIosArm64 FAILED
e: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld invocation reported errors
Please try to disable compiler caches and rerun the build. To disable compiler caches, add the following line to the gradle.properties file in the project's root directory:

    kotlin.native.cacheKind.iosArm64=none

Also, consider filing an issue with full Gradle log here: https://kotl.in/issue
The /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld command returned non-zero exit code: 1.
output:
ld: warning: ignoring duplicate libraries: '-ldl'
Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_FlutterMethodChannel", referenced from:
       in shared.framework.o
ld: symbol(s) not found for architecture arm64

The same approach in the reakt-native-toolkit demo project does not seem to create such issues.

@erksch erksch force-pushed the ios-module-generation branch 8 times, most recently from 4ca080f to 2556767 Compare February 20, 2025 15:15
- Setup iOS support for example KMP project and example Flutter plugin
- Add CI job for building example iOS Flutter app
- Extract Android module generation in separate file
- Make generated Android modules subclass MethodChannel to enable teardown
@erksch erksch force-pushed the ios-module-generation branch from 2556767 to e01e0d2 Compare February 20, 2025 15:17
@erksch erksch merged commit f36eb94 into main Feb 20, 2025
8 checks passed
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