Parse/Parse.h file not found - Xcode 6

旧城冷巷雨未停 提交于 2019-12-18 09:13:17

问题


I created project with cordova and ionic. I installed a Parse plugin (http://plugins.cordova.io/#/package/com.parse.cordova.core.pushplugin). When I open my project with Xcode I have an error:

Parse/Parse.h file not found

I tried a lot of solutions found on stackoverflow, but none corrects my problem.

Framework Search Paths

"MyApp/Plugins/com.parse.cordova.core.pushplugin"


回答1:


Try this plugin, it has updated Parse SDK framework.

https://github.com/avivais/phonegap-parse-plugin

Install the plugin like this (do not use Installation method url from README) -

phonegap plugin add https://github.com/avivais/phonegap-parse-plugin.git

        OR

cordova plugin add https://github.com/avivais/phonegap-parse-plugin.git



回答2:


I am having the same issue and posted it on GitHub (https://github.com/avivais/phonegap-parse-plugin/issues/49).

My temporary workaround is:

$ cordova plugin add https://github.com/avivais/phonegap-parse-plugin
$ ionic platform rm ios
$ ionic platform add ios

XCode complains about the Parse.h file not found. It is in fact there. All I need to do is:

  • open the project in XCode,
  • go to General > Linked Frameworks and libraries
  • remove, then add the Parse.framework from the same directory
  • build

Actually, a better workaround is to make the Platform search path recursive, like so: https://stackoverflow.com/a/20856145/3889068



来源:https://stackoverflow.com/questions/29355569/parse-parse-h-file-not-found-xcode-6

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!