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

Can't build for iOS Simulator #10

Open
PeteClubSeven opened this issue Dec 16, 2023 · 1 comment
Open

Can't build for iOS Simulator #10

PeteClubSeven opened this issue Dec 16, 2023 · 1 comment

Comments

@PeteClubSeven
Copy link
Contributor

Hi,

I'm not sure whether this is desired or not but I noticed that tools/build_ios.sh supports PLATFORM_NAME=iphonesimulator. Unfortunately when I try to compile with this I end up running into linker errors with my application. The error is as follows:

ld: building for 'iOS-simulator', but linking in dylib ([...]/cktap-protocol-flutter/contrib/tap-protocol/build/libtap-protocol.dylib) built for 'iOS'

I tried modifying the CMakeLists.txt to use the correct libsecp256k1.a when building for the iOS-simulator but it doesn't fix the core issue.

For my use case I will test if there's a way I can work around this by excluding my plugin from building when targeting an iOS simulator. Feel free to close this if you don't wish to support the simulator.

@PeteClubSeven
Copy link
Contributor Author

Since #13 this may be solved however I don't have time to revisit the issue right now.

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

1 participant