Closed icanzilb closed 8 years ago
:scream:
This is caused by the scoping of product build directories done in CP 1.0, the RealmSwift.framework
will be in a subdirectory which is not part of the frameworks search path of the Playground.
I think the best course of action is to add a copy or symlink step to the dummy target we're creating, so that pod install
or pod update
would still work within the generated project. Another approach would be copying the frameworks as part of pod playgrounds
similar to the way it is done right now when using Carthage.
Carthage 😱
@neonichu, can you elaborate on the symlink solution? I'm not sure what to do, but would love to try out your tool.
I just shipped a new release which fixes this: https://github.com/neonichu/ThisCouldBeUsButYouPlaying/releases/tag/v1.0.0
The implementation was actually much easier, I'm just setting CONFIGURATION_BUILD_DIR
in a post_install
hook so that it plays nice with Playgrounds.
I installed it 4 minutes ago, but thanks for pinging me 👍 I'm gonna try to find a bit of time tomorrow to look into playing with it, will let you know if all is okay, thanks again for fixing it!
Awesome. Thank you!
great work Boris, all is fine again
After upgrading to CP 1.0.0 the playground produced by the plugin can't find it's pods, like so:
pod playground RealmSwift
->