{ "id": "174140", "key": "TIMOB-27407", "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": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2019-10-08T11:15:32.000+0000", "created": "2019-09-17T11:56:09.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "engSchedule" ], "versions": [ { "id": "20845", "name": "Release 8.1.1", "archived": false, "released": true, "releaseDate": "2019-08-29" } ], "issuelinks": [], "assignee": null, "updated": "2019-10-08T11:23:17.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Healthkit module is not working on simulator but works as expected on device. Tested the sample module attached by the customer. It works as expected on device(12.3.1) but provides error on simulator(iPhone 7 Plus)\r\n\r\n*Test Environment:*\r\n{code}\r\nAppcelerator Command-Line Interface, version 7.1.1\r\nMac OS X:10.14.6\r\nNode.js 8.9.4\r\n\r\n npm Version = 5.6.0\r\n\r\nTitanium CLI\r\n\r\n CLI Version = 5.2.1\r\n\r\nTitanium SDK\r\n\r\n SDK Version = 8.1.1.GA\r\nDevice: iPhone SE(12.3.1), Simulator:iPhone 7 Plus\r\n{code}\r\n\r\n*Test steps:*\r\n\r\n1.Download the module from [here|https://drive.google.com/file/d/1exZfnH_rfl4O0eo4Q4RGq63my-tD_A3V/view]\r\n2.Update the sdk path in titanium.xconfig file :TITANIUM_SDK = /Users/macbookpro/Library/Application Support/Titanium/mobilesdk/osx/8.1.1.GA\r\n 3.After module is generated from module source code, copy the module in the sample application.\r\n 4.Add the module in trap.xml file. Compile the project will see the error in console, module don't work on simulator, but works fine on device.\r\n\r\n*Test output:*\r\n\r\n*Device:*\r\n{code}\r\n[INFO] : Installing app on device: Mostafizur Rahman’s iPhone\r\n[INFO] : App successfully installed on device: Mostafizur Rahman’s iPhone\r\nPlease manually launch the application\r\n[INFO] : ioosss 1.0 (Powered by Titanium 8.1.1.0148ee6e79)\r\n[INFO] : module is => [object ComMoizHealthkitModule]\r\n[INFO] : module exampleProp is => Titanium rocks!\r\n{code}\r\n*On simulator:*\r\n{code}\r\n[ERROR] : 2019-09-17 15:03:03.227 xcodebuild[11445:130496] warning: The file reference for \"\" is a member of multiple groups (\"TableView & ListView\" and \"UI\"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path.\r\n\r\n[ERROR] : 2019-09-17 15:03:03.227 xcodebuild[11445:130496] warning: The file reference for \"\" is a member of multiple groups (\"UI\" and \"UI\"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path.\r\n\r\n[ERROR] : 2019-09-17 15:03:03.227 xcodebuild[11445:130496] warning: The file reference for \"\" is a member of multiple groups (\"UI\" and \"UI\"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path.\r\n\r\n[ERROR] : 2019-09-17 15:03:03.227 xcodebuild[11445:130496] warning: The file reference for \"\" is a member of multiple groups (\"UI\" and \"UI\"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path.\r\n\r\n[ERROR] : 2019-09-17 15:03:03.681 xcodebuild[11445:130512] DTDeviceKit: deviceType from 0da481bbe385d5c432dc2d1173d5bb80ae3a6dc5 was NULL\r\n\r\n[ERROR] : 2019-09-17 15:03:03.741 xcodebuild[11445:130497] DTDeviceKit: deviceType from 0da481bbe385d5c432dc2d1173d5bb80ae3a6dc5 was NULL\r\n\r\n[ERROR] : ** BUILD FAILED **\r\n\r\n[ERROR] : The following build commands failed:\r\n\r\n[ERROR] : Ld /Users/macbookpro/Documents/Appcelerator_Studio_Workspace/ioosss/build/iphone/build/Pr\r\noducts/Debug-iphonesimulator/ioosss.app/ioosss normal x86_64\r\n\r\n[ERROR] : (1 failure)\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS:Healthkit module is not working on simulator but works as expected on device", "creator": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Appcelerator Command-Line Interface, version 7.1.1\r\nMac OS X:10.14.6\r\nNode.js 8.9.4\r\n\r\n npm Version = 5.6.0\r\n\r\nTitanium CLI\r\n\r\n CLI Version = 5.2.1\r\n\r\nTitanium SDK\r\n\r\n SDK Version = 8.1.1.GA\r\nDevice: iPhone SE(12.3.1), Simulator:iPhone 7 Plus", "comment": { "comments": [ { "id": "451890", "author": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Customer issue is fixed by comment out framework name in \"module.xcconfig\" file or adding it properly.", "updateAuthor": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2019-10-08T11:23:17.000+0000", "updated": "2019-10-08T11:23:17.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }