9

I have update the Parse SDK to 1.6.0 through CocoaPods. IT works seems I am able to use the Local Datastore. However when I try to enable ParseCrashReporting doing ParseCrashReporting.enable()

But Xcode does not find ParseCrashReporting.

Anyone having the same issue ?

Thank you !

rici
  • 234,347
  • 28
  • 237
  • 341
user2984400
  • 111
  • 5

3 Answers3

12

ParseCrashReporting is in its own cocoapod spec. Make sure you add pod 'ParseCrashReporting' to your Podfile. Then import the headers as @Lucas pointed out.

Reference: http://cocoapods.org/?q=parsecrashreporting

Anthony Persaud
  • 1,186
  • 9
  • 10
  • Do I still have to do the _Upload Symbol Files_ step manually even if I add this via CocoaPods? – Isuru Dec 01 '15 at 13:28
7

I had the same issue and you should download the new Parse sdk, that comes with the following frameworks:

  • Bolts.framework
  • Parse.framework
  • ParseCrashReporting.framework
  • ParseFacebookUtils.framework
  • ParseUI.framework

In order to work, you should add the SQLite 3.framework and libstdc++.6.dylib to your project too Don't forget to add on your Bridging-Header.h:

#import <ParseCrashReporting/ParseCrashReporting.h>
Lucas Farah
  • 1,022
  • 10
  • 24
0

I'll also point out that as @cojoj mentions here, you should include use_frameworks! at the top of your Podfile to take advantage of umbrella headers. This blogpost lays it out clearly. It worked for me in getting the Parse SDK set up with CocoaPods and Swift.

Community
  • 1
  • 1
blwinters
  • 1,911
  • 19
  • 40