Titanium JIRA Archive
Appcelerator Community (AC)

[AC-6105] Cannot use Swift framework with umbrella public header

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2019-01-15T17:34:43.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsHyperloop
Labelsn/a
ReporterRichard Lustemberg
AssigneeShak Hossain
Created2019-01-15T11:29:07.000+0000
Updated2019-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

FileDateSize
giphycore.js2019-01-15T11:32:21.000+00002981
giphycoresdk.js2019-01-15T11:32:16.000+0000588
giphycoresdk.m2019-01-15T11:32:10.000+00006115
metabase-user-frameworks-7e7f81f99ed98f8cf3c4b9e2f7dc9a3d.json2019-01-15T11:31:41.000+00003524

Comments

  1. Jan Vennemann 2019-01-15

    Closing as duplicate of TIMOB-26697

JSON Source