{ "id": "171633", "key": "TIMOB-26024", "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": "2018-05-09T09:22:32.000+0000", "priority": null, "labels": [ "engSchedule", "hyperloop", "ios", "podfile" ], "versions": [ { "id": "20102", "name": "Release 7.1.1", "archived": false, "released": true, "releaseDate": "2018-05-02" } ], "issuelinks": [], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-05-06T22:27:34.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": [], "description": "Im trying to build a new project with JPush ('pod JPush') included in it.\r\nJPush Pod is downloaded successfully, but when I run the build I get this error:\r\n\r\n{code:java}\r\n[TRACE] : /User/studio_app_workspace/alloy-hyperloop/build/hyperloop/ios/js/jpush/jpush.m:8:9: fatal error: 'JPush/JPush.h' file not found\r\n[TRACE] : #import \r\n[TRACE] : ^~~~~~~~~~~~~~~\r\n[TRACE] : 1 error generated.\r\n{code}\r\n\r\nWhen I go in to that \"jpush.m\" file and simply uncomment the line below everything works fine until I do a major change and it rebuilts the hyperloop js and then I need to uncomment again.\r\n\r\n{code:java}\r\n#import \r\n{code}\r\n\r\nAlso the actual header that comes with the pod is 'JPUSHService.h' so changing that line to the following also works\r\n\r\n{code:java}\r\n#import \r\n{code}\r\n\r\nSteps to reproduce:\r\n\r\n1. Create new alloy hyperloop enabled project\r\n2. In your podfile, use pod 'JPush'\r\n3. In a controller, put this:\r\n\r\n{code:java}\r\nvar JPushClass = require('JPush/JPUSHService');\r\nJPushClass.setDebugMode();\r\n{code}\r\n\r\n4. Try and build project with the environment mentioned above\r\n\r\nPodfile:\r\n{code}\r\n# This is required for CocoaPods 1.x\r\ninstall! 'cocoapods',\r\n :integrate_targets => false\r\n \r\nplatform :ios, '8.0'\r\nuse_frameworks!\r\ntarget 'alloy-hyperloop' do\r\n pod 'Countly', '18.04'\r\n pod 'JPush', '3.0.9'\r\n \r\nend\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Hyperloop iOS - Compile fails - fatal error .h file not found", "creator": { "name": "dieskim", "key": "dieskim", "displayName": "David van de Meer", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dieskim", "key": "dieskim", "displayName": "David van de Meer", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Hyperloop 3.0.5\r\n\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.13.2\r\n Architecture = 64bit\r\n # CPUs = 8\r\n Memory = 17179869184\r\nNode.js\r\n Node.js Version = 8.1.2\r\n npm Version = 3.10.10\r\nTitanium CLI\r\n CLI Version = 5.1.0\r\nTitanium SDK\r\n SDK Version = 7.1.1.GA\r\n SDK Path = /Users/dieskim/Library/Application Support/Titanium/mobilesdk/osx/7.1.1.GA\r\n Target Platform = iphone", "comment": { "comments": [], "maxResults": 4, "total": 4, "startAt": 0 } } }