On xcode 13, I have macos project that runs fine on intel machine. On apple silicon (M1 Plus) I get the error "A build only device cannot be used to run this target.", when I try to run from Xcode. This seems to be an ios error. All Google suggested fixes involve picking a new device which is an ios fix. Right?
Bulids fine and Archive app runs fine.
I get the error for both intel and Arm64 architectures.
I tried building for Target deployment target device families and Deployment as:
macos 12.0 sdk
any suggestions?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Using SwiftIUI with CommandGroup for iPad app on Xcode Version 26.2 (17C52). I tried to test on Mac Catalyst. Output view is iPad size but my SwiftUI view is small on the left.
I tried to override the frame size used but none of the suggested ways compiled. Used both "Scaled for iPad" and "Optimized for Mac" in deployment Info with same results.