Targets -> Build Settings
, search plist
put Generate Info.plist File
set to No
,
Set Info.plist File
it to the path of your Info.plist, you can find the plist file in the project and drag it in directly, and the path will be filled in automatically, but this is an absolute path and another computer will still report an error, so you need to set a relative path as shown in the figure, set $(SRCROOT) No, try $(PROJECT_DIR).
$(PROJECT_DIR) represents the entire project $(SRCROOT) represents the root directory of the project