{ "id": "170281", "key": "AC-5364", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2017-11-12T12:06:53.000+0000", "created": "2017-11-11T00:28:27.000+0000", "labels": [ "hyperloop", "ios" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-11-12T12:07:06.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "15000", "name": "Hyperloop" } ], "description": "We're trying to use the Nordic Semiconductor iOSDFULibrary Pod with the Hyperloop-examples test program with Hyperloop 2.2.2. We've just inserted the following statement in the \"beacons.js\" file:\r\n\t\r\niOSDFULibrary = require(\"iOSDFULibrary/iOSDFULibrary\"),\r\n\r\nwhich causes the error when you click on the iBeacons menu item.\r\n\r\n{color:red}[ERROR] : Script Error Couldn't find module: /hyperloop/iosdfulibrary/iosdfulibrary for architecture: x86_64{color}\r\n\r\nThe Podfile is\r\n\r\n{code:java}\r\ninstall! 'cocoapods',\r\n :integrate_targets => false\r\n\r\nplatform :ios, '8.0'\r\nuse_frameworks!\r\n\r\ntarget 'Hyperloop_Sample' do\r\n\tpod 'JBChartView'\r\n\tpod 'GLCalendarView', '~> 1.2'\r\n\tpod 'Shimmer'\r\n pod 'iOSDFULibrary'\r\n pod 'Zip'\r\nend\r\n\r\npost_install do |installer|\r\n installer.pods_project.targets.each do |target|\r\n target.build_configurations.each do |config|\r\n config.build_settings['SWIFT_VERSION'] = '4.0'\r\n end\r\n end\r\n end\r\n{code}\r\n\r\nThe last few lines of the log seem to indicate that the module is available but it isn't found nonetheless\r\n\r\n{panel:title=log}\r\n[DEBUG] : Loading: /Users/jrf/Library/Developer/CoreSimulator/Devices/88EBE46A-7202-4E84-8CF2-D18FEA477C6A/data/Containers/Bundle/Application/566C0574-415B-45C1-AA97-1B5CA043B34B/Hyperloop_Sample.app/hyperloop/iosdfulibrary/iosdfulibrary, Resource: hyperloop/iosdfulibrary/iosdfulibrary\r\n[DEBUG] : Loading: /Users/jrf/Library/Developer/CoreSimulator/Devices/88EBE46A-7202-4E84-8CF2-D18FEA477C6A/data/Containers/Bundle/Application/566C0574-415B-45C1-AA97-1B5CA043B34B/Hyperloop_Sample.app/hyperloop/iosdfulibrary/iosdfulibrary.js, Resource: hyperloop/iosdfulibrary/iosdfulibrary_js\r\n[DEBUG] : Loading: /Users/jrf/Library/Developer/CoreSimulator/Devices/88EBE46A-7202-4E84-8CF2-D18FEA477C6A/data/Containers/Bundle/Application/566C0574-415B-45C1-AA97-1B5CA043B34B/Hyperloop_Sample.app/hyperloop/iosdfulibrary/iosdfulibrary.json, Resource: hyperloop/iosdfulibrary/iosdfulibrary_json\r\n[DEBUG] : Loading: /Users/jrf/Library/Developer/CoreSimulator/Devices/88EBE46A-7202-4E84-8CF2-D18FEA477C6A/data/Containers/Bundle/Application/566C0574-415B-45C1-AA97-1B5CA043B34B/Hyperloop_Sample.app/hyperloop/iosdfulibrary/iosdfulibrary/package.json, Resource: hyperloop/iosdfulibrary/iosdfulibrary/package_json\r\n[DEBUG] : Loading: /Users/jrf/Library/Developer/CoreSimulator/Devices/88EBE46A-7202-4E84-8CF2-D18FEA477C6A/data/Containers/Bundle/Application/566C0574-415B-45C1-AA97-1B5CA043B34B/Hyperloop_Sample.app/hyperloop/iosdfulibrary/iosdfulibrary/index.js, Resource: hyperloop/iosdfulibrary/iosdfulibrary/index_js\r\n[DEBUG] : Loading: /Users/jrf/Library/Developer/CoreSimulator/Devices/88EBE46A-7202-4E84-8CF2-D18FEA477C6A/data/Containers/Bundle/Application/566C0574-415B-45C1-AA97-1B5CA043B34B/Hyperloop_Sample.app/hyperloop/iosdfulibrary/iosdfulibrary/index.json, Resource: hyperloop/iosdfulibrary/iosdfulibrary/index_json\r\n[ERROR] : Script Error Couldn't find module: /hyperloop/iosdfulibrary/iosdfulibrary for architecture: x86_64\r\n{panel}\r\n", "attachment": [ { "id": "63575", "filename": "log.rtf", "author": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-11-11T00:22:00.000+0000", "size": 1003084, "mimeType": "text/rtf" } ], "flagged": false, "summary": "Hyperloop - iOS - Couldn't find module iosdfulibrary from Pod", "creator": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "environment": " SDK 6.3.0, Hyperloop 2.2.2, Studio 4.10, MacOS High Sierra, xCode 9.1", "comment": { "comments": [ { "id": "430435", "author": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It appears that the Hyperloop Pod mechanism is fragile. I decided to try the Contentful Swift Pod and added the require('Contentful/Contentful') to the Hyperloop-examples app and I got the same error as with iOSDFULibrary:\r\n\r\n[ERROR] : Script Error Couldn't find module: /hyperloop/contentful/contentful for architecture: x86_64\r\n\r\nI guess the question is how restrictive the environment is for using Pods? Both of these Pods are Swift pods which are supposed to be supported. Was there another regression with 2.2.2?\r\n", "updateAuthor": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-11-11T00:59:55.000+0000", "updated": "2017-11-11T00:59:55.000+0000" }, { "id": "430461", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Pure Swift framework (without the public Objective-C header) are not supported so far. They require a different way of parsing and are tracked in TIMOB-24163. This is not a regression.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-11-12T12:06:48.000+0000", "updated": "2017-11-12T12:07:06.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }