external framework File/File.h (Parse/Parse.h) file not found

前端 未结 10 584
野趣味
野趣味 2020-12-08 23:09

So every time I update my app, Xcode claims not to be able to find a particular external framework even though it\'s there. It\'s happened again with Xcode 6 and my usual m

10条回答
  •  情书的邮戳
    2020-12-08 23:38

    I had this error also. I'm developing in Swift, so I added a "bridge header" as described in this Parse blog post.

    The reason I got the "Parse.h not found" was that my project name contained spaces. (For project name I mean the Product Name you enter when creating a new project, which determines your folder's name.) The first day all went well, but after closing and opening Xcode, it turns out that Xcode interprets the words separated by spaces as different paths.

    To fix this, you can go to Build Settings -> Search Paths -> Framework Search Paths and add an "\" before each space. (If you double click the path you'll see that Xcode shows each word separated by space as a different entry.)

    Also note that the bridge header with #import it's not compulsory: you can simply do import Parse.

提交回复
热议问题