Closed elviin closed 5 years ago
Related to closed issue: https://github.com/CocoaPods/CocoaPods/issues/4420
@amleszk that issue was marked as resolved in CocoaPods 1.0.0, but elviin was using CocoaPods 1.1.1.
I'll try to see if I reproduce the issue nowadays (CocoaPods 1.6.2 +) or not.
I took the objective-c MagicalRecordRecipes sample from the project:
pod init
with CocoaPods 1.7.0use_frameworks!
pod 'MagicalRecord', :path => '../..'
pod 'Socket.IO-Client-Swift'
pod install
=> I only got some deprecation warnings, no building error related to MagicalRecord.
I'll apply a minor import improvement in #1350 for next release. But as I can't reproduce your issue, I'll close it.
I use cocapods v1.1.1. Using MagicalRecord (2.3.2) I have already in my Podfile pod 'MagicalRecord'. In the file I have also added use_frameworks! instruction and also the library pod 'Socket.IO-Client-Swift'.
The Swift library requires using use_frameworks! in the Podfile.
When building I get the errors:
` While building module 'MagicalRecord' imported from .../MagicalRecord/MagicalRecord.framework/Headers/NSManagedObjectContext+MagicalSaves.h:10:
import <MagicalRecord/MagicalRecordDeprecationMacros.h>
`