Search code examples
iosbluetoothbluetooth-lowenergyswift4.2ios-bluetooth

How to fix this error " Could not find module 'CzsBleSdk' for architecture 'x86_64'; found: arm64, arm "


I'm working with bluetooth in an old project which was written in swift3 and i'm working on converting it in swift4 and I had this error "Could not find module 'CzsBleSdk' for architecture 'x86_64'; found: arm64, arm"


Solution

  • You are now using 64 bit architecture in your Swift 4 project. You'll need the latest CzsBleSdk SDK which supports 64-bit architecture. You can integrate that manually or using Pod. I personally recommend Pod.