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

前端 未结 10 550
野趣味
野趣味 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:21

    All I had to do was remove Parse.framework from this list by highlighting and pressing delete.

    enter image description here

    Then I went down to the plus sign at the bottom of that list and had to select Add Other and manually locate the downloaded .framework file.

    enter image description here

    0 讨论(0)
  • 2020-12-08 23:23

    In my case I had to do one more thing additional to Sukhchais' answer. It seems that though the parse.framework appears in the 'link Binary with Libraries' list for the targets, they might not have linked properly for some reason. Just remove parse.framework from the list and add it again as mentioned. By that way I was able to resolve my issue.

    0 讨论(0)
  • 2020-12-08 23:24

    I had the same issue when upgrading parse to 1.4v. You have to delete Parse.framework from Framework List and from the project directory, when removed from both places copy again and check "Copy items to destination's group folder". It worked for me.

    0 讨论(0)
  • 2020-12-08 23:26

    Its work for me. Just go to Build Active Architecture Only and Debug should be yes and Release should be No

    0 讨论(0)
  • 2020-12-08 23:30

    Actually I was facing the same problem but after doing lots of (removing/adding parse framework) efforts I come to know that parse.framework is already added and error was still there.

    Real Problem was not in link Binary for main project but it was with Tests link Binary. Lets say your project name is "project1" and Xcode create one more folder with it called "project1Tests". So select "project1Tests" and add parse.framework in link Binary.

    Check out the hierarchy:

    PROJECT
    project1

    TARGETS
    project1
    project1Tests (you need to select this to add parse framework).

    Hope this would help you resolve this issue.

    0 讨论(0)
  • 2020-12-08 23:30

    For people coming from Ionic + Cordova if you are getting this error I solved it by removing my current parsePlugin and replacing it with this fork.

    For simplicity, I used these console commands (Replace PARSE_APP_ID and PARSE_CLIENT_KEY with your keys in the Parse Console):

    cordova plugin rm com.parse.cordova.core.pushPlugin
    cordova plugin add https://github.com/grrrian/phonegap-parse-plugin --variable APP_ID=PARSE_APP_ID --variable CLIENT_KEY=PARSE_CLIENT_KEY
    
    0 讨论(0)
提交回复
热议问题