prior to upgrading from an M1 to M5 I could run the Mac on iPad via Xcode
After upgrading to a M5 I keep getting
dyld[88241]: Library not loaded: @rpath/APP.debug.dylib
Referenced from: <207ED9FB-3483-3063-B9BC-81EC3BCB34AF> /private/var/folders/54/cwf8kbhx48j71vk_z3zm0t_m0000gn/X/471D0939-4FD4-59C7-8DB5-641DB2A36911/d/Wrapper/App.app/App
Reason: tried: '/Users/xxx/Library/Developer/Xcode/DerivedData/project-esgmvpqlktgtvldltqmcjtupefnh/Build/Products/Debug-iphoneos/App.debug.dylib' (no such file), '/usr/lib/system/introspection/App.debug.dylib' (no such file, not in dyld cache),
... bunch more path searching..
Runpath Search paths:
$(inherited)
@executable_path/Frameworks
Runpath Search paths with inherited
/usr/lib/swit
@executable_path/Frameworks
@loader_path/Frameworks
@executable_path/Frameworks