{ "id": "162254", "key": "TIMOB-23704", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": [ { "id": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" }, { "id": "18247", "name": "Hyperloop 2.0.0", "archived": false, "released": true, "releaseDate": "2016-10-18" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-09-06T10:48:00.000+0000", "created": "2016-07-28T23:55:50.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "build", "cocoapods", "hyperloop", "ios", "qe-6.0.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2016-09-29T18:45:40.000+0000", "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" } }, "components": [ { "id": "13715", "name": "Hyperloop", "description": "Hyperloop project" }, { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Building a hyperloop enabled project with a Podfile that has no pods referenced (e.g. *compile 'Test'*) fails.\r\n\r\nSteps to reproduce:\r\n\r\n1. Create new project with HL enabled.\r\n2. Create a Podfile and paste the following inside it:\r\n\r\n{code:java}\r\nplatform :ios, '7.0'\r\ntarget 'Hyperloop_Sample' do\r\nend\r\n{code}\r\n\r\n3. Build the project. It fails at this part:\r\n\r\n{code:java}\r\n[INFO] [Hyperloop] CocoaPods dependencies found. This will take a few moments but will be cached for subsequent builds\r\n[WARN] [Hyperloop] CocoaPods [!] Unable to load a specification for the plugin `/Library/Ruby/Gems/2.0.0/gems/cocoapods-deintegrate-1.0.0`\r\n[INFO] [Hyperloop] Building CocoaPods dependencies\r\n[WARN] [Hyperloop] CocoaPods xcodebuild: error: The project 'Pods.xcodeproj' contains no targets.\r\n[ERROR] An error occurred during build after 9s 51ms\r\n[ERROR] the xcodebuild failed running from /Users/rodolfo/Documents/Workspace/loopmodules-charts/Pods\r\n{code}\r\n\r\n", "attachment": [], "flagged": false, "summary": "Hyperloop: Improve error-message if Podfile has no Pods referenced", "creator": { "name": "rdperottoni", "key": "rdperottoni", "displayName": "Rodolfo Perottoni", "active": true, "timeZone": "Australia/Brisbane" }, "subtasks": [], "reporter": { "name": "rdperottoni", "key": "rdperottoni", "displayName": "Rodolfo Perottoni", "active": true, "timeZone": "Australia/Brisbane" }, "environment": "SDK 5.4.0.v20160725003348\r\nCocoaPods 0.39.0\r\nHyperloop 1.2.3", "comment": { "comments": [ { "id": "391992", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "I don't see the use-case for using a Podfile that does not hold any Pods. Since we are just delegating the call to the CocoaPods CLI. Let me know your thoughts about that.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-07-29T14:53:41.000+0000", "updated": "2016-07-29T14:53:41.000+0000" }, { "id": "392062", "author": { "name": "rdperottoni", "key": "rdperottoni", "displayName": "Rodolfo Perottoni", "active": true, "timeZone": "Australia/Brisbane" }, "body": "I also think it doesn't make sense, but perhaps more people will face this in the future and won't find the cause of the problem quickly... so i would flag this as a \"improvement\" instead of bug.", "updateAuthor": { "name": "rdperottoni", "key": "rdperottoni", "displayName": "Rodolfo Perottoni", "active": true, "timeZone": "Australia/Brisbane" }, "created": "2016-07-31T10:58:39.000+0000", "updated": "2016-07-31T10:58:39.000+0000" }, { "id": "395259", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/hyperloop.next/pull/67", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-09-02T23:55:10.000+0000", "updated": "2016-09-02T23:55:10.000+0000" }, { "id": "397664", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "Verified the improvement, If the podfile had no pod referenced it is now skipped: \r\n\r\n{noformat}\r\n[WARN] : [Hyperloop] Podfile found, but no pod's specified. Skipping ...\r\n{noformat}\r\n\r\n\r\n \r\nTested On:\r\n{noformat}\r\nMac OSX El Capitan 10.12 \r\nTi SDK: 6.0.0.v20160929031439\r\nAppc NPM: 4.2.8-7 \r\nApp CLI: 6.0.0-54\r\nHyperloop: 2.0.0\r\nCocoapods:0.39.0\r\nXcode 8.0 \r\nNode v4.4.7\r\n{noformat}\r\n\r\n*Closing ticket.*", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2016-09-29T18:42:31.000+0000", "updated": "2016-09-29T18:42:31.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }