Duplicate interface definition for class 'AppDelegate' / Property has a previous declaration

项目复制后打开,AppDelegate直接报错


截屏2022-01-20 上午10.29.37.png

错误原因:Prefix Header 使用的绝对路径
解决方法:把 Prefix Header 文件直接拖进 Build Setting ---> Apple Clang - Language ---> Prefix Header

你可能感兴趣的:(Duplicate interface definition for class 'AppDelegate' / Property has a previous declaration)