it works. key point is: register mac as iOS device with provisioning ID, and uncheck "open with Rosetta" for Xcode
Topic:
Code Signing
SubTopic:
Certificates, Identifiers & Profiles
Tags: