RianOvO / esp_blufi

Apache License 2.0
1 stars 1 forks source link

unable to launch on iOS emulator #1

Open marcolettieri opened 7 months ago

marcolettieri commented 7 months ago

Error (Xcode): Building for 'iOS-simulator', but linking in object file (.pub-cache/hosted/pub.dev/esp_blufi-0.0.7/ios/Classes/BlufiLibrary/Security/openssl/libcrypto.a[arm64]2) built for 'iOS' Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)

Uncategorized (Xcode): Command SwiftCompile failed with a nonzero exit code

Could not build the application for the simulator. Error launching application on iPhone 15 Pro Max.

pengyu0o0 commented 7 months ago

ESP Blufi do not support simulator.

marcolettieri commented 7 months ago

looks is openssl issue, not compiled for simulator. there's some way to avoid this error and compile on simulator , of course without using library

marcolettieri commented 7 months ago

I see openssl works on simulator https://github.com/x2on/OpenSSL-for-iPhone