As I understand it should from IOS 8 be possible to embed a native framework. I am trying to do this with PexKit (https://github.com/pexip/pexkit-sdk)
But I get a missing dependency libswiftAVFoundation.dylib
dyld: Library not loaded: @rpath/libswiftAVFoundation.dylib
Reason: image not found
My Rakefile is contains:
Motion::Project::App.setup do |app|
# Use `rake config' to see complete project settings.
app.name = 'pexip'
app.frameworks += ['AVFoundation']
:products => ['PexKit'],
:headers_dir => 'Headers')
app.embedded_frameworks << 'vendor/PexKit.framework'
I have found references to setting EMBEDDED_CONTENT_CONTAINS_SWIFT to YES, but I am not sure how to do that...