I have the prelease version of cocoapods installed, 0.26, and trying to install the latest version of RestKit. In my podfile
I\'ve turned on the use_frame
I posted an answer to a similar question
Here a straight blunt copy of the answer, so this is not a link-only answer :)
I've had a long struggle with this, too, while I was building a private Swift-Framework-Pod that depends on RestKit. After a long fight, I forked RestKit and hacked a workaround.
The drawbacks are, you have to use Cocoapods 0.39, which is pretty legacy and the hacked version of RestKit is forked of 0.25.0, so it's also not the newest of the new.
To use the fork, in your Podfile, replace pod 'RestKit', ... with pod 'RestKit', :git => 'https://github.com/resmio/RestKit', :tag => 'v0.25.0-use-frameworks'
Also, you might need to use a hacked version of AFNetworking, which also made some problems. Same here, replace pod 'AFNetworking', ... with pod 'AFNetworking', :git => 'https://github.com/resmio/AFNetworking', :tag => 'v1.3.4-use-frameworks'
I'd be glad if you'd let me know if that wrked for you and if so, spread the word! :)
This is a bug currently in RestKit. Sam Giddin has an open PR right now that fixes the issue. I made a fork of RestKit that I'm using in my project with the commits from the PR to get around this issue until they merge in the fixes and make a new release.