spruceid / didkit

A cross-platform toolkit for decentralized identity.
https://www.spruceid.dev/didkit/didkit
Apache License 2.0
266 stars 76 forks source link

Failed to build didkit for iOS simulator #347

Closed kangminhao closed 1 year ago

kangminhao commented 1 year ago

When I was trying to build an iOS framework, I encountered some problems. When running make -C lib ../target/test/ios.stamp, I couldn't pass the unit tests. The error message was: ".../Build/Products/Debug-iphonesimulator/DIDKitSwiftTests.xctest/DIDKitSwiftTests' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))))".

Has anyone encountered the same issue and resolved it?

Xcode: 14.3 Device: Macbook M1 Pro

sbihel commented 1 year ago

Closing as duplicate of #297