Open your project in Xcode
ios
directoryRunner.xcworkspace
Go to Signing & Capabilities
Select your Apple ID account
Set Bundle Identifier
com.yourname.myapp
Enable automatic signing
Automatically manage signing
so Xcode takes care of configuring everything for youConnect your iPhone
Trust the computer
Select run target
Register device