Appartement Dupleix
Appartement Dupleix

Reputation: 21

No Parse Framework in Pods folder after a pod install with cocoapods

I'm trying to import Parse SDK with cocoapods (version 0.37.2). I have recentl but right after doing a pod install There is no Parse.framework in the Pod folder...

When I try to build the app, it failed because with it doesn't find the parse.h from #import <Parse/Parse.h> in the bridging header file (which is quite normal because there is no Parse Framework).

Is this possible that as I previously used Parse for another project, when my computer downloads it, it changes the name, such as Parse.framework(2) and then the system can't retrieve it...

Here are the messages from terminal right after the pod install (which look good):

Analyzing dependencies

Downloading dependencies

Installing Bolts 1.2.0 (was 1.2.0)

Installing Parse 1.7.5 (was 1.7.5)

Generating Pods project

Integrating client project

And this is what the podfile looks like :

platform :ios, '8.0'

source 'https://github.com/CocoaPods/Specs.git'

`pod 'Parse', '~> 1.7.5'``

Last point: I have recently upgraded my version of rbenv (from 2.1.2 to 2.2.2) and as Cocoapods is in ruby, I am wondering there could be a link....

Any help would be grateful !

Thanks

Upvotes: 2

Views: 836

Answers (2)

siuying
siuying

Reputation: 1499

What is your version of your cocoapods?

If you are using 0.38.0, it might be changes of CocoaPods make the spec fail. Try to replace

pod 'Parse', '~> 1.7.5'

with

pod 'Parse', podspec: 'https://gist.githubusercontent.com/siuying/6a548f1924ed3243aeb5/raw/ccea130108b14afbaf22dbe828f75a62d750a4a0/Parse.podspec.json'

and see if it works for you.

Upvotes: 1

MGY
MGY

Reputation: 8543

If your "Objective-C Bridging Header" in project level it's possible to get this error. You should set this in target level! After added in your target please don't forget to remove from project level. This must solve your problem, I solve like this.

Upvotes: 0

Related Questions