Kitura / Kitura-WebSocket

WebSocket support for Kitura
Apache License 2.0
68 stars 30 forks source link

Support for arm64-apple-macos #108

Closed mschrage closed 3 years ago

mschrage commented 3 years ago

Hi there,

I am trying to compile a macOS app with a universal binary to support Apple Silicon.

I am getting this error message:

Could not find module 'KituraWebSocket' for target 'arm64-apple-macos'; found: x86_64, x86_64-apple-macos

Are there any plans to add support for a x86_64-apple-macos target?

mbarnach commented 3 years ago

swift test --arch arm64 works on an M1. I can also run the tests from XCode (both M1 and Rosetta).

Could this be an issue within your XCode project where the universal binary support is not set properly? Is it working if: you try to compile only for ARM64; only for x86_64?

mschrage commented 3 years ago

Sorry for the slow response. You were spot on. This was an issue with my Xcode project config.