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

iOSBuild failed with Could not find 'openssl-its-simulator-arm64' #28

Closed
wman1980 opened this issue Oct 10, 2023 · 2 comments
Closed

iOSBuild failed with Could not find 'openssl-its-simulator-arm64' #28

wman1980 opened this issue Oct 10, 2023 · 2 comments

Comments

@wman1980
Copy link

wman1980 commented Oct 10, 2023

Hi,

I have successfully integrated you MQTT library on my KMM project.

On Android it works and I can subscribe & publish to topics.
On iOS it fails building my iOS application and it does not event start in my simulator.
The build error is:
> Task :shared:compileKotlinIosSimulatorArm64 FAILED error: Could not find "openssl-ios-simulator-arm64" in [/Users/MyUser/path/to/project, /Users/MyUser/.konan/klib, /Users/MyUser/.konan/kotlin-native-prebuilt-macos-aarch64-1.9.10/klib/common, /Users/MyUser/.konan/kotlin-native-prebuilt-macos-aarch64-1.9.10/klib/platform/ios_simulator_arm64] error: Compilation finished with errors

Do you have any idea what's causing this?

PS: Excluding your mqtt lib and all relevant code from my app fixes building iOS app.

Thanks
Jan

@davidepianca98
Copy link
Owner

Hello, please check the Readme at this link https://github.com/davidepianca98/KMQTT/tree/master#gradle. You have to download the openssl dependency at the specified link, for your platforms and put them in "/Users/MyUser/path/to/project". I have yet to find a solution to bundle the files directly in the maven dependencies. Please let me know if it works.

@wman1980
Copy link
Author

Thanks, that worked!

Maybe an exclamation mark within the readme would help to make it more obvious.

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

No branches or pull requests

2 participants