Project: titanium
Issue TIMOB-20484: Hyperloop: iOS: Local-embedded frameworks not working
Local-embedded frameworks in the /src/ folder are not working - like {{.m}} and {{.swift}} files. We should find a way to recognize local-embedded frameworks correctly. Project to reproduce: https://github.com/hansemannn/hyperloop-robot Framework talking about: https://github.com/orbotix/Sphero-iOS-SDK/tree/master/frameworks/RobotKit.framework The metabase seems to be generated, but the required (proof of concept) method does not work: {code:javascript} var RKRobotDiscoveryAgent = require("RobotKit/RKRobotDiscoveryAgent"); // works RKRobotDiscoveryAgent.sharedAgent().isDiscovering(); // does not work - class not found {code} The generated metabase for the framework is attached. *{color:red}EDIT{color}*: The problem happens with every other local-embedded framework as well. Using the attached "Serenity.framework" and the following demo code doesn't work as well. This very critical for the GA release. {code:javascript} var Widget = require("Serenity/Widget"); var test = new Widget(); Ti.API.warn(test.image()); {code}
Story points: 13