I just downloaded the Parse sample project, installed LiveQueries pod and nothing else. When I try to build it, it pops the two errors below.. What's wrong?
-
add your codes please – Ivan Barayev Jun 19 '16 at 18:40
-
@IvanBarayev I haven't written any code yet... I just downloaded the pods and tried building it... – Sotiris Kaniras Jun 19 '16 at 18:43
-
Just in case you missed it: http://parse.com/migration – Eric Aya Jun 20 '16 at 10:02
-
@EricD If you are referring to the "have to be in a self-hosted MongoDB to use LiveQueries", I have already migrated.. ;) – Sotiris Kaniras Jun 20 '16 at 10:19
-
@SotirisKaniras I was referring to `I just downloaded the Parse sample project` and I was afraid you were just beginning with Parse. :) – Eric Aya Jun 20 '16 at 10:20
-
@EricD Hahahaha!! No no... I started a while ago... :) – Sotiris Kaniras Jun 20 '16 at 10:28
4 Answers
Go to Build Settings under "Target" and set "Allow Non-modular Includes in Framework Modules" to YES
AND
Select the BFCancellationToken.h
file in the project navigator. In the target membership area on the right there side of xcode there will be a drop down menu next to the target. Select "public" there (default will be "project").

- 3,828
- 3
- 21
- 40
-
-
Fixed with https://github.com/ParsePlatform/ParseLiveQuery-iOS-OSX/pull/50 – silverdagger Jul 30 '16 at 23:32
If you have project in objective-c add use_frameworks! to your pod file at start

- 1,359
- 1
- 20
- 32
I had exactly this issue and found it just resolved by using
gem install cocoapods --pre
Which give me cocoapods 1.1.0.beta.1.
I'm very happy!!
I also did a
rm -rf Pods TargetName.xcworkspace Podfile.lock
after quitting xcode and then rerunning pod install

- 1,124
- 13
- 37
-
I did that and now I'm facing the below errors: https://cloud.githubusercontent.com/assets/9467442/17254633/3c587a68-55be-11e6-8acd-7a7c2acbb384.png – Sotiris Kaniras Jul 29 '16 at 16:14
-
Please get the latest version of ParseLiveServer, I fixed it with pull request #50 You might need to add this to your podfile: `pod 'ParseLiveQuery', :git => 'https://github.com/ParsePlatform/ParseLiveQuery-iOS-OSX.git'` – silverdagger Aug 03 '16 at 23:57
I solved it removing Modules
folder from the framework.
Browse to your framework location which is present in the App Project using finder
Go inside
Test.framework
folder (In the above case it will be'Bolts.framework
) & DeleteModules
folder.Clean and Re Build the app, it will solve the problem.

- 3,317
- 25
- 36