{ "id": "170062", "key": "TIMOB-25413", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2017-10-19T12:36:33.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "18429", "description": "", "name": "Hyperloop 2.2.0", "archived": false, "released": true, "releaseDate": "2017-10-16" } ], "issuelinks": [ { "id": "56052", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "170027", "key": "TIMOB-25401", "fields": { "summary": "Hyperloop does not generate code for Flurry & Contentful Pods", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": null, "updated": "2018-02-28T19:55:12.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "13715", "name": "Hyperloop", "description": "Hyperloop project" }, { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "*Steps to reproduce the behavior*\r\n# Create a new empty app\r\n# Add the following Podfile and replace {{}} with the name of your test project.\r\n{code}\r\ninstall! 'cocoapods',\r\n :integrate_targets => false\r\n\r\nplatform :ios, '8.0'\r\ntarget '' do\r\n pod 'Flurry-iOS-SDK/FlurrySDK'\r\nend\r\n{code}\r\n# Add the following to {{app/controllers/index.js}}\r\n{code}\r\nvar Flurry = require('Flurry-iOS-SDK/Flurry');\r\nvar FlurrySessionBuilder = require('Flurry-iOS-SDK/FlurrySessionBuilder');\r\nvar builder = new FlurrySessionBuilder();\r\nbuilder.withCrashReporting(true)\r\n\t.withSessionContinueSeconds(10)\r\n\t.withAppVersion('0.1.2');\r\nFlurry.startSessionWithSessionBuilder('key', builder);\r\n{code}\r\n\r\n*Actual behavior*\r\nThe build crashes with the following log output\r\n{code}\r\n[TRACE] #import \r\n[TRACE] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n[TRACE] 1 error generated.\r\n[TRACE] \r\n...\r\n[ERROR] ** BUILD FAILED **\r\n[ERROR] The following build commands failed:\r\n[ERROR] CompileC build/Intermediates/Hyperloop_Sample.build/Debug-iphonesimulator/Hyperloop_Sample.build/Objects-normal/x86_64/flurry-ios-sdk.o /Users/jvennemann/Development/appc/hyperloop-examples/build/hyperloop/ios/js/flurry-ios-sdk/flurry-ios-sdk.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler\r\n[ERROR] (1 failure)\r\n{code}\r\n\r\n*Expected behavior*\r\nThe build runs successful and the user is able to use the provided demo code.\r\n\r\n*Additional notes*\r\nIn addition to the build failure the generated js and native module wrapper files will be generated with a hyphen in their name, which is invalid and needs to be normalized to generate a valid name.", "attachment": [], "flagged": false, "summary": "Hyperloop: iOS - Pods with hyphens not supported", "creator": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "environment": "TiSDK 6.3.0\r\nHyperloop 2.2.0", "comment": { "comments": [ { "id": "431454", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "This may be solved by [Hyperloop 3.0.1|https://github.com/appcelerator-modules/hyperloop-builds/releases/tag/v3.0.1] and TIMOB-25554 + TIMOB-25564.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-11-29T14:58:20.000+0000", "updated": "2017-11-29T14:58:20.000+0000" }, { "id": "431521", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "Those tickets resolve only a part of the issue. With Hyperloop 3.0.1 this now works (with {{use_frameworks!}} set in the Podfile), however only on the first build after cleaning the build directory. Incremental builds throw an error again due to some naming issues caused by the hyphens. Should be easy to fix though so we can schedule this for one of the next patch releases.\r\n\r\nFor now the remaining issue can be worked around with a hard reset of the build directory by running {{rm -rf build/ && appc run -p ios}}.", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-11-30T12:17:11.000+0000", "updated": "2017-11-30T12:19:43.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }