开发者

Cannot add any new .H file to target when adding it to project,

开发者 https://www.devze.com 2023-02-16 05:51 出处:网络
i dont know what to do. I cannot add any .H file to Target in my projects. I tried add it from Add FIle, from 开发者_如何转开发drag and drop then info file and check target. Its greyed. when i try to

i dont know what to do. I cannot add any .H file to Target in my projects. I tried add it from Add FIle, from 开发者_如何转开发drag and drop then info file and check target. Its greyed. when i try to add new file and choose H a cannot check to add it to target. whats is wrong?


Headers are not compiled, so they don't get added to the target.

Look at all the headers currently in your project like your XxxxxAppDelegate.h, you'll see it's not added to the target either.


the header files are not compiled into the project, only the source files and frameworks. The header files are only there to tell the compiler what it can expect in regards to sending messages to objects

0

精彩评论

暂无评论...
验证码 换一张
取 消