1

I'm trying to import cocoapods into an Xcode playground in my project but despite finding some solutions, none seem to work in Xcode 7.3.1.

For example I've tried the suggestion here but I get an error at the import in the playground:

"No such module"

Cœur
  • 37,241
  • 25
  • 195
  • 267
doovers
  • 8,545
  • 10
  • 42
  • 70

1 Answers1

1

You could use ThisCouldBeUsButYouPlaying or add this to your Podfile

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['CONFIGURATION_BUILD_DIR'] = '$PODS_CONFIGURATION_BUILD_DIR'
    end
  end
end
PGLongo
  • 439
  • 4
  • 13