magicalpanda / MagicalRecord

Super Awesome Easy Fetching for Core Data!
Other
10.8k stars 1.79k forks source link

Can not install 2.3.2 version with last cocoa pods update #1241

Closed bizibizi closed 5 years ago

bizibizi commented 8 years ago

Always have an error that can not find Magical Record files in Bridging header

bizibizi commented 8 years ago

I tried all combination of imports but its not working

pjryan93 commented 8 years ago

Same problem, did you try downgrading cocoapods?

WERUreo commented 8 years ago

I was also having this problem when trying to build MagicalRecord 2.3.2 with the latest version of Cocoapods (v1.0.1). Downgrading Cocoapods back to v0.39.0 helps, but you'll need to make sure you remove the newer version of Cocoapods first, install 0.39.0, and run 'pod install'. It would probably also help to delete the Podfile.lock as well as the Pods directory just to be sure it's not trying to use a newer version of Cocoapods.

Apparently there is a version 3.0 of MagicalRecord that does build with the latest Cocoapods, but that doesn't seem to be getting much support (last update 5 months ago).

bizibizi commented 8 years ago

I am using

pod 'MagicalRecord/Shorthand'

it contains previous version (I guess 2.2). It works good with Cocoapods v1+

sjmn commented 8 years ago

try adding:

${TARGET_BUILD_DIR}/Pods/MagicalRecord

to framework search paths. Clean, build. For me after this worked, I could remove the above from framework search paths. YMMV.

Coeur commented 5 years ago

I've never had issues with CocoaPods 1.6.2, so I'll consider that problem solved. Otherwise, please specify your version of CocoaPods (and note that I'll only support CocoaPods 1.7.2+ from now on) and your full Podfile content (to know if there is use_frameworks! and other stuff).