eas build ios fails: Could not find target '24' in project.pbxproj

Build Process : configure xcode project
Error message :
Assigning provisioning profile ‘profile name’ (Apple Team ID: …) to target ‘24’
Could not find target ‘24’ in project.pbxproj

What does it mean? I tired to register iphone device to apply new provisioning profile by this command.
eas device:create

But after doing that, eas build still fails.

Seperate from an above try, I tried “expo build:ios”, and this command works well. What can I do?