[AC-6105] Cannot use Swift framework with umbrella public header
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2019-01-15T17:34:43.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Hyperloop |
Labels | n/a |
Reporter | Richard Lustemberg |
Assignee | Shak Hossain |
Created | 2019-01-15T11:29:07.000+0000 |
Updated | 2019-01-15T17:34:43.000+0000 |
Description
I'm attempting to use GiphyCoreSDK, a swift framework with public objective C header. I have no problems when I use the file in a native objective C module as long as I include the umbrella header.
If attempt to do likewise in Hyperloop, an exception is thrown.
import {GiphyCore} from "GiphyCoreSDK";
GiphyCore.configureWithApiKey('api_key');
$.index.open();
configureWithApiKey is a class method of GyphyCore. Similar error occur if a try to instantiate any of the framework classes and invoke an instance method.
The error message is *Cannot find class with name: GiphyCore*
I've built the framework using Carthage and saved it to app/platform/ios
Attachments
File | Date | Size |
---|---|---|
giphycore.js | 2019-01-15T11:32:21.000+0000 | 2981 |
giphycoresdk.js | 2019-01-15T11:32:16.000+0000 | 588 |
giphycoresdk.m | 2019-01-15T11:32:10.000+0000 | 6115 |
metabase-user-frameworks-7e7f81f99ed98f8cf3c4b9e2f7dc9a3d.json | 2019-01-15T11:31:41.000+0000 | 3524 |
Closing as duplicate of TIMOB-26697