ITMS-90863: Macs with Apple silicon support issue (HomeKit library)

Recently I started getting emails from AppStoreConnect when I submit new builds. The email states:

ITMS-90863: Macs with Apple silicon support issue - The app links with libraries that aren’t present in macOS: /usr/lib/swift/libswiftHomeKit.dylib

I can run this app on Apple Silicon from TestFlight or directly from Xcode and it runs just fine including all HomeKit functions. This app has been using HomeKit for several years now.

This issue seems to be the same kind of this other about CloudKit, but with HomeKit libs: https://developer.apple.com/forums/thread/756325

Please, how it can be fixed?

Many thanks.

ITMS-90863: Macs with Apple silicon support issue (HomeKit library)
 
 
Q