最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【已解决】iOS中对于#progma mark显示错误:Invalid preprocessing directive

iOS crifan 11933浏览

【问题】

iOS中出现错误:Invalid preprocessing directive

Invalid preprocessing directive

 

【解决过程】

1.错误的意思是,非法预处理指令,即不识别此预处理指令。

2.然后仔细看了下,原来是自己的笔误,所以去把:

#progma mark -

改为:

#pragma mark -

即可解决问题。

因为是自己不小心,把pragma错写成progma了。。。

转载请注明:在路上 » 【已解决】iOS中对于#progma mark显示错误:Invalid preprocessing directive

82 queries in 0.140 seconds, using 19.20MB memory