{ "id": "170688", "key": "AC-5477", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2018-01-20T06:36:24.000+0000", "created": "2017-12-28T11:11:35.000+0000", "labels": [], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-03-18T15:03:29.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": [], "description": "I have a use-case where a database is not available locally and needs to be fetched from a URL, uncompressed, installed and then queried. This works fine in 6.3.0.GA but fails in 7.0.0.GA. This is an awkward user experience where the user is requested to download a database file, sees an alert box that the database has been successfully installed but when he tries to query it, there is no data and the user is requested to download the database file again.\r\n\r\nHowever, after quitting the app and restarting it, the database has actually been installed and the app works as expected (both on device and simulator).\r\n\r\nI've attached a stripped down JS snippet which shows the logic that I've been doing. The real code is slightly more complicated.\r\n\r\nThe error reported is:\r\n{\"line\":151,\"column\":31,\"sourceURL\":\"file:///Users/USERNAME/Library/Developer/CoreSimulator/Devices/411028DF-C46E-463D-A889-AAAC9C3AABC5/data/Containers/Bundle/Application/D32FCC20-2DF6-4746-86EA-60FA295D650C/APP.app/db.js\",\"nativeReason\":\"Error Domain=com.plausiblelabs.pldatabase Code=3 \\\"An error occured parsing the provided SQL statement.\\\" UserInfo={com.plausiblelabs.pldatabase.error.query.string=select count(*) from table, com.plausiblelabs.pldatabase.error.vendor.code=10, com.plausiblelabs.pldatabase.error.vendor.string=disk I/O error, NSLocalizedDescription=An error occured parsing the provided SQL statement.}\",\"nativeLocation\":\"-[TiDatabaseProxy execute:] (TiDatabaseProxy.m:184)\"}", "attachment": [ { "id": "63872", "filename": "ac5477.zip", "author": { "name": "morinel", "key": "morinel", "displayName": "Jeroen van Vianen", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-01-02T08:48:16.000+0000", "size": 6616, "mimeType": "application/zip" }, { "id": "63871", "filename": "app.js", "author": { "name": "morinel", "key": "morinel", "displayName": "Jeroen van Vianen", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-12-29T22:04:42.000+0000", "size": 1881, "mimeType": "application/x-javascript" }, { "id": "63859", "filename": "snippet.js", "author": { "name": "morinel", "key": "morinel", "displayName": "Jeroen van Vianen", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-12-28T11:10:40.000+0000", "size": 1845, "mimeType": "text/javascript" } ], "flagged": false, "summary": "Querying remotely loaded database fails with disk i/o error in 7.0.0, works in 6.3.0", "creator": { "name": "morinel", "key": "morinel", "displayName": "Jeroen van Vianen", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "morinel", "key": "morinel", "displayName": "Jeroen van Vianen", "active": true, "timeZone": "Europe/Berlin" }, "environment": "iOS 11.2 Simulator and device\r\n\r\nIncorrectly labelled for Appcelerator 4.5.0, should be Ti SDK 7.0.0.GA and 7.0.1.GA", "comment": { "comments": [ { "id": "432593", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Please create a full reproducible sample code/project. We will investigate it. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-12-29T21:41:36.000+0000", "updated": "2017-12-29T21:41:36.000+0000" }, { "id": "432594", "author": { "name": "morinel", "key": "morinel", "displayName": "Jeroen van Vianen", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi Sharif, I added an app.js, that illustrates the problem; it has no UI, just look at the log messages.", "updateAuthor": { "name": "morinel", "key": "morinel", "displayName": "Jeroen van Vianen", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-12-29T22:05:38.000+0000", "updated": "2017-12-29T22:05:38.000+0000" }, { "id": "432601", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, We need the ti.compression module for us to test. Please send a full sample project. ", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-12-30T22:18:30.000+0000", "updated": "2017-12-30T22:18:30.000+0000" }, { "id": "432605", "author": { "name": "morinel", "key": "morinel", "displayName": "Jeroen van Vianen", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi Sharif, ti.compression is http://gitt.io/search?q=ti.compression", "updateAuthor": { "name": "morinel", "key": "morinel", "displayName": "Jeroen van Vianen", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-12-31T10:55:53.000+0000", "updated": "2017-12-31T10:55:53.000+0000" }, { "id": "432611", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello [~morinel],\r\n\r\nThanks for your feedback. It would be better if you can provide a sample test project to reproduce this on our end?\r\nBest", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2018-01-02T04:58:01.000+0000", "updated": "2018-01-02T08:37:05.000+0000" }, { "id": "432621", "author": { "name": "morinel", "key": "morinel", "displayName": "Jeroen van Vianen", "active": true, "timeZone": "Europe/Berlin" }, "body": "Is the attached ZIP file sufficient?", "updateAuthor": { "name": "morinel", "key": "morinel", "displayName": "Jeroen van Vianen", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-01-02T08:48:51.000+0000", "updated": "2018-01-02T08:48:51.000+0000" }, { "id": "432888", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello [~morinel], Tested the zip file provided by you and unable to reproduce the error.\r\n\r\n*Test steps:*\r\n\r\n1. Download the zip file.\r\n2. Open studio, create a sample classic project and paste the sample app.js file\r\n3. Include ti.compression module from [here|https://github.com/appcelerator-modules/ti.compression/releases]\r\n4. Run it via simulator\r\n\r\n*Test Result:*\r\n{code}\r\n[INFO] : Launching iOS Simulator\r\n[INFO] : rmmpush/1.0 (7.0.1.f5ae7e5)\r\n[INFO] : [object TiCompressionModule] loaded\r\n[INFO] : Extracting DB file /Users/sharifabudarda/Library/Developer/CoreSimulator/Devices/FC94464E-0EC2-4453-A243-EB8DE606EFE1/data/Containers/Data/Application/1E99B0AC-4FD9-4F79-836A-68CDFD2EC0A5/tmp/quicktide2017.db.zip\r\n[INFO] : Archive file [/Users/sharifabudarda/Library/Developer/CoreSimulator/Devices/FC94464E-0EC2-4453-A243-EB8DE606EFE1/data/Containers/Data/Application/1E99B0AC-4FD9-4F79-836A-68CDFD2EC0A5/tmp/quicktide2017.db.zip] successfully extracted\r\n[INFO] : Extracted file = 37295104 bytes\r\n[INFO] : Installing DB file /Users/sharifabudarda/Library/Developer/CoreSimulator/Devices/FC94464E-0EC2-4453-A243-EB8DE606EFE1/data/Containers/Data/Application/1E99B0AC-4FD9-4F79-836A-68CDFD2EC0A5/tmp/quicktide2017.db\r\n[INFO] : Database installed as /Users/sharifabudarda/Library/Developer/CoreSimulator/Devices/FC94464E-0EC2-4453-A243-EB8DE606EFE1/data/Containers/Data/Application/1E99B0AC-4FD9-4F79-836A-68CDFD2EC0A5/Library/Private Documents/quicktide2017.sql\r\n[INFO] : Removing temporary file /Users/sharifabudarda/Library/Developer/CoreSimulator/Devices/FC94464E-0EC2-4453-A243-EB8DE606EFE1/data/Containers/Data/Application/1E99B0AC-4FD9-4F79-836A-68CDFD2EC0A5/tmp/quicktide2017.db.zip\r\n\r\n{code}", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2018-01-09T04:51:51.000+0000", "updated": "2018-01-09T04:51:51.000+0000" }, { "id": "432892", "author": { "name": "morinel", "key": "morinel", "displayName": "Jeroen van Vianen", "active": true, "timeZone": "Europe/Berlin" }, "body": "Very strange, I get the following output when running from the simulator:\r\n\r\n{code:sh}\r\nti build -p ios\r\n{code}\r\n\r\n{code:java}\r\n[INFO] AC5477/0.1 (7.0.1.f5ae7e5)\r\n[INFO] [object TiCompressionModule] loaded\r\n[INFO] Extracting DB file /Users/jeroen/Library/Developer/CoreSimulator/Devices/411028DF-C46E-463D-A889-AAAC9C3AABC5/data/Containers/Data/Application/662DBF7D-3DC7-4AE0-8D55-5F29DBD46780/tmp/quicktide2017.db.zip\r\n[INFO] Archive file [/Users/jeroen/Library/Developer/CoreSimulator/Devices/411028DF-C46E-463D-A889-AAAC9C3AABC5/data/Containers/Data/Application/662DBF7D-3DC7-4AE0-8D55-5F29DBD46780/tmp/quicktide2017.db.zip] successfully extracted\r\n[INFO] Extracted file = 37295104 bytes\r\n[INFO] Installing DB file /Users/jeroen/Library/Developer/CoreSimulator/Devices/411028DF-C46E-463D-A889-AAAC9C3AABC5/data/Containers/Data/Application/662DBF7D-3DC7-4AE0-8D55-5F29DBD46780/tmp/quicktide2017.db\r\n[INFO] Database installed as /Users/jeroen/Library/Developer/CoreSimulator/Devices/411028DF-C46E-463D-A889-AAAC9C3AABC5/data/Containers/Data/Application/662DBF7D-3DC7-4AE0-8D55-5F29DBD46780/Library/Private Documents/quicktide2017.sql\r\n[INFO] {\r\n[INFO] column = 17;\r\n[INFO] line = 35;\r\n[INFO] message = \"invalid SQL statement\";\r\n[INFO] nativeLocation = \"-[TiDatabaseProxy execute:] (TiDatabaseProxy.m:184)\";\r\n[INFO] nativeReason = \"Error Domain=com.plausiblelabs.pldatabase Code=3 \\\"An error occured parsing the provided SQL statement.\\\" UserInfo={com.plausiblelabs.pldatabase.error.query.string=select count(*) from tides, com.plausiblelabs.pldatabase.error.vendor.code=10, com.plausiblelabs.pldatabase.error.vendor.string=disk I/O error, NSLocalizedDescription=An error occured parsing the provided SQL statement.}\";\r\n[INFO] sourceURL = \"file:///Users/jeroen/Library/Developer/CoreSimulator/Devices/411028DF-C46E-463D-A889-AAAC9C3AABC5/data/Containers/Bundle/Application/52F2B478-1C88-4C42-A986-240FC5B59015/AC5477.app/app.js\";\r\n[INFO] }\r\n{code}\r\n", "updateAuthor": { "name": "morinel", "key": "morinel", "displayName": "Jeroen van Vianen", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-01-09T08:20:09.000+0000", "updated": "2018-01-09T08:20:09.000+0000" }, { "id": "433114", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "[~morinel], \r\nCan you please share your *appc info* here?", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2018-01-13T06:04:16.000+0000", "updated": "2018-01-13T06:04:16.000+0000" }, { "id": "433122", "author": { "name": "morinel", "key": "morinel", "displayName": "Jeroen van Vianen", "active": true, "timeZone": "Europe/Berlin" }, "body": "\r\n{code:java}\r\n$ appc info\r\nAppcelerator Command-Line Interface, version 7.0.1\r\nCopyright (c) 2014-2018, Appcelerator, Inc. All Rights Reserved.\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 = 16.0GB\r\n\r\nNode.js\r\n Node.js Version = 8.9.1\r\n npm Version = 5.5.1\r\n\r\nAppcelerator CLI\r\n Installer = 4.2.11\r\n Core Package = 7.0.1\r\n\r\nTitanium CLI\r\n CLI Version = 5.0.14\r\n node-appc Version = 0.2.41\r\n\r\nTitanium SDKs\r\n 7.0.1.GA\r\n Version = 7.0.1\r\n Install Location = /Users/jeroen/Library/Application Support/Titanium/mobilesdk/osx/7.0.1.GA\r\n Platforms = iphone, android\r\n git Hash = f5ae7e5\r\n git Timestamp = 12/18/2017 18:48\r\n node-appc Version = 0.2.43\r\n 7.0.0.GA\r\n Version = 7.0.0\r\n Install Location = /Users/jeroen/Library/Application Support/Titanium/mobilesdk/osx/7.0.0.GA\r\n Platforms = iphone, android\r\n git Hash = f09dec4\r\n git Timestamp = 12/5/2017 21:38\r\n node-appc Version = 0.2.43\r\n 6.3.0.GA\r\n Version = 6.3.0\r\n Install Location = /Users/jeroen/Library/Application Support/Titanium/mobilesdk/osx/6.3.0.GA\r\n Platforms = iphone, android, mobileweb\r\n git Hash = 3620088\r\n git Timestamp = 11/1/2017 01:20\r\n node-appc Version = 0.2.43\r\n \r\nMac OS X\r\n Command Line Tools = installed\r\n\r\nIntelĀ® Hardware Accelerated Execution Manager (HAXM)\r\n Installed = yes\r\n Memory Limit = 2 GB\r\n\r\nJava Development Kit\r\n Version = 1.8.0_151\r\n Java Home = /Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home\r\n\r\nGenymotion\r\n Path = /Applications/Genymotion.app/Contents/MacOS\r\n Genymotion Executable = /Applications/Genymotion.app/Contents/MacOS/genymotion\r\n Genymotion Player = /Applications/Genymotion.app/Contents/MacOS/player\r\n Home = /Users/jeroen/.Genymobile/Genymotion\r\n\r\nVirtualBox\r\n Executable = /usr/local/bin/VBoxManage\r\n Version = 5.1.30r118389\r\n\r\nAndroid SDK\r\n Android Executable = not found\r\n ADB Executable = /Users/jeroen/Library/Android/sdk/platform-tools/adb\r\n SDK Path = /Users/jeroen/Library/Android/sdk\r\n\r\nAndroid NDK\r\n0NDK Path = /Users/jeroen/Library/android-ndk-r13b\r\n NDK Version = 13.1.3345770\r\n\r\nAndroid Platforms\r\n 1) android-23\r\n Name = Android 6.0\r\n API Level = 23\r\n Revision = 3\r\n Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in\r\n ABIs = \r\n Path = /Users/jeroen/Library/Android/sdk/platforms/android-23\r\n 2) android-24\r\n Name = Android 7.0\r\n API Level = 24\r\n Revision = 2\r\n Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in\r\n ABIs = \r\n Path = /Users/jeroen/Library/Android/sdk/platforms/android-24\r\n 3) android-25\r\n Name = Android 7.1.1\r\n API Level = 25\r\n Revision = 2\r\n Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in\r\n ABIs = \r\n Path = /Users/jeroen/Library/Android/sdk/platforms/android-25\r\n 4) android-26\r\n Name = Android 8.0.0 (not supported by Titanium SDK 7.0.1.GA, but may work)\r\n API Level = 26\r\n Revision = 1\r\n Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in\r\n ABIs = \r\n Path = /Users/jeroen/Library/Android/sdk/platforms/android-26\r\n\r\nAndroid Add-Ons\r\n 5) Google Inc.:Google APIs:22\r\n Name = Google APIs (unknown) **Not supported by Titanium SDK 7.0.1.GA**\r\n Vendor = n/a\r\n Revision = 1\r\n Description = n/a\r\n Skins = none\r\n ABIs = none\r\n Path = /Users/jeroen/Library/Android/sdk/add-ons/addon-google_apis-google-22\r\n Libraries = none\r\n 6) Google Inc.:Google APIs:23\r\n Name = Google APIs (Android 6.0 (API level 23))\r\n Vendor = Google Inc.\r\n Revision = 1\r\n Description = Android + Google APIs\r\n Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in\r\n ABIs = none\r\n Path = /Users/jeroen/Library/Android/sdk/add-ons/addon-google_apis-google-23\r\n Libraries = none\r\n\r\nAndroid Emulators\r\n Nexus 5 API 22 x86\r\n ID = Nexus_5_API_22_x86\r\n SDK Version = not installed\r\n ABI = x86\r\n Skin = nexus_5\r\n Path = /Users/jeroen/.android/avd/Nexus_5_API_22_x86.avd\r\n SD Card = no sd card\r\n Google APIs = yes\r\n\r\nGenymotion Emulators\r\n None\r\n\r\nConnected Android Devices\r\n None\r\n\r\nXcode\r\n 9.2 (build 9C40b) - Xcode default\r\n Install Location = /Applications/Xcode.app/Contents/Developer\r\n iOS SDKs = 11.2\r\n iOS Simulators = 11.2\r\n Watch SDKs = 4.2\r\n Watch Simulators = 4.2\r\n Supported by TiSDK 7.0.1.GA = yes\r\n EULA Accepted = yes\r\n Teams = none\r\n \r\niOS Keychains\r\n login.keychain-db = /Users/jeroen/Library/Keychains/login.keychain-db\r\n System.keychain = /Library/Keychains/System.keychain\r\n\r\niOS Development Certificates\r\n/Users/jeroen/Library/Keychains/login.keychain-db\r\n Jeroen van Vianen (5QSDF5LE77)\r\n Not valid before = 2/6/2017 1:29 PM\r\n Not valid after = 2/6/2018 1:29 PM\r\n Jeroen van Vianen (5QSDF5LE77)\r\n Not valid before = 3/23/2017 9:25 AM\r\n Not valid after = 3/23/2018 9:25 AM\r\n\r\niOS App Store Distribution Certificates\r\n/Users/jeroen/Library/Keychains/login.keychain-db\r\n J. van Vianen (66RC9F323D)\r\n Not valid before = 3/23/2017 9:27 AM\r\n Not valid after = 3/23/2018 9:27 AM\r\n\r\nApple WWDR Certificate\r\n Apple WWDR = installed\r\n\r\nDevelopment iOS Provisioning Profiles\r\n DB Alerts DEV\r\n UUID = a9270f8d-effe-4990-b9b1-5b884c3acd6e\r\n App Prefix = 3SZW356938\r\n App Id = nl.dutchbirding.dbalerts2\r\n Date Created = 2/6/2017 1:41 PM\r\n Date Expired = 2/6/2018 1:41 PM\r\n Managed = No\r\n DB Alerts DEV\r\n UUID = c298d168-0fca-4e06-bf8b-fefe684af7a3\r\n App Prefix = 3SZW356938\r\n App Id = nl.dutchbirding.dbalerts2\r\n Date Created = 3/29/2017 9:36 AM\r\n Date Expired = 3/29/2018 9:36 AM\r\n Managed = No\r\n QuickTide 2016 DEV\r\n UUID = 3e274ed2-0f2d-4c87-bb9b-eb6422492941\r\n App Prefix = 66RC9F323D\r\n App Id = nl.vanvianen.quicktide2013\r\n Date Created = 3/28/2017 10:37 PM\r\n Date Expired = 3/28/2018 10:37 PM\r\n Managed = No\r\n \r\nApp Store Distribution iOS Provisioning Profiles\r\n DB Alerts PROD\r\n UUID = 1c35f980-15d7-4341-bdad-ea42d110fd30\r\n App Prefix = 3SZW356938\r\n App Id = nl.dutchbirding.dbalerts2\r\n Date Created = 3/23/2017 9:38 AM\r\n Date Expired = 3/23/2018 9:27 AM\r\n Managed = No\r\n \r\nAd Hoc iOS Provisioning Profiles\r\n None\r\n\r\nEnterprise Ad Hoc iOS Provisioning Profiles\r\n None\r\n\r\niOS Simulators\r\n9.0\r\n iPad 2 (ipad)\r\n UDID = 597AE490-C426-439C-829B-DE7BDF459240\r\n Supports Watch Apps = no\r\n iPad Retina (ipad)\r\n UDID = 49EEB60D-249B-4D47-8B26-CA81BE8ED821\r\n Supports Watch Apps = no\r\n iPad Air (ipad)\r\n UDID = CA116BB9-FC0E-467B-AD27-1F3C26E80404\r\n Supports Watch Apps = no\r\n iPad Air 2 (ipad)\r\n UDID = 1382A86C-4141-4C60-8D78-CCF766DA7C75\r\n Supports Watch Apps = no\r\n iPhone 4s (iphone)\r\n UDID = 74CFAFDF-606C-481E-8E3B-A69909ABFCF1\r\n Supports Watch Apps = no\r\n iPhone 5 (iphone)\r\n UDID = 814CE5DF-0E6F-4FEE-B916-5910A946998F\r\n Supports Watch Apps = yes\r\n iPhone 5s (iphone)\r\n UDID = C2B1D388-8DE5-4E62-921C-C52684DBD8E6\r\n Supports Watch Apps = yes\r\n iPhone 6 Plus (iphone)\r\n UDID = 782D74B4-94F2-40F3-BA4D-6EEFE7B5EDEA\r\n Supports Watch Apps = yes\r\n iPhone 6 (iphone)\r\n UDID = 0B1B2A3D-7ACF-4119-B7CD-A09405A832FD\r\n Supports Watch Apps = yes\r\n iPhone 6s (iphone)\r\n UDID = 6880C4B5-4785-4D9F-8822-CAEBC0610CF0\r\n Supports Watch Apps = yes\r\n iPhone 6s Plus (iphone)\r\n UDID = CA0B6D8C-EBFC-4005-A179-B9B2C46CD5BF\r\n Supports Watch Apps = yes\r\n\r\n9.1\r\n iPad 2 (ipad)\r\n UDID = D49AA8A7-3190-43A8-8A31-C0D466A4AF28\r\n Supports Watch Apps = no\r\n iPad Retina (ipad)\r\n UDID = 51B7B39D-10B5-4F34-B02F-17D1DC488593\r\n Supports Watch Apps = no\r\n iPad Air (ipad)\r\n UDID = 84A90997-8513-4315-984F-DFCFF0784AB6\r\n Supports Watch Apps = no\r\n iPad Air 2 (ipad)\r\n UDID = AA7577D3-9092-4164-B077-90F0AC9D0D97\r\n Supports Watch Apps = no\r\n iPad Pro (iPad Pro (12.9-inch)) (ipad)\r\n UDID = C738AB61-3661-4046-9E49-81CD8E4455A0\r\n Supports Watch Apps = no\r\n iPhone 4s (iphone)\r\n UDID = 20C06801-9740-4B35-9107-708F3F46B255\r\n Supports Watch Apps = no\r\n iPhone 5 (iphone)\r\n UDID = 96E1C78B-2C3D-46F2-92B3-9B2A51D9906F\r\n Supports Watch Apps = yes\r\n iPhone 5s (iphone)\r\n UDID = D049CF8E-2A04-40C3-890B-7F44721152F1\r\n Supports Watch Apps = yes\r\n iPhone 6 Plus (iphone)\r\n UDID = 1E5E68CE-7F54-4305-86EC-EE14E90A9B3B\r\n Supports Watch Apps = yes\r\n iPhone 6 (iphone)\r\n UDID = 9D178323-CE49-405B-8A20-EF35900E5500\r\n Supports Watch Apps = yes\r\n iPhone 6s (iphone)\r\n UDID = 635BD015-1C57-4BB4-BFAD-1A1DC576B607\r\n Supports Watch Apps = yes\r\n iPhone 6s Plus (iphone)\r\n UDID = 51C3CCE4-B5A5-42FF-BA99-95D1BB66C297\r\n Supports Watch Apps = yes\r\n\r\n9.2\r\n iPad 2 (ipad)\r\n UDID = 2799779B-11B7-41DC-ADEF-6469736D0160\r\n Supports Watch Apps = no\r\n iPad Retina (ipad)\r\n UDID = 63ADCBD0-CC88-4B45-ACDB-D8ADC41FAB9E\r\n Supports Watch Apps = no\r\n iPad Air (ipad)\r\n UDID = 732182A7-703D-490E-B351-80947B40CC5A\r\n Supports Watch Apps = no\r\n iPad Air 2 (ipad)\r\n UDID = 5E1EE089-43A2-4BAA-A35F-92FB6A1B7FCA\r\n Supports Watch Apps = no\r\n iPad Pro (iPad Pro (12.9-inch)) (ipad)\r\n UDID = 6948DE4A-5C06-447E-9A34-D4F916F37D69\r\n Supports Watch Apps = no\r\n iPhone 4s (iphone)\r\n UDID = FF04D0C4-E623-4B70-B8F9-FAC4AEF28B57\r\n Supports Watch Apps = no\r\n iPhone 5 (iphone)\r\n UDID = EFBF21C3-A822-4908-A301-9D82DCDA186E\r\n Supports Watch Apps = yes\r\n iPhone 5s (iphone)\r\n UDID = A1EBB20D-FAF2-48F4-9BBC-3954BEB5B57C\r\n Supports Watch Apps = yes\r\n iPhone 6 Plus (iphone)\r\n UDID = 658C8A66-2764-4D8B-98EF-42A794EFFD7C\r\n Supports Watch Apps = yes\r\n iPhone 6 (iphone)\r\n UDID = 08A68CD2-4480-45A4-9507-AFC33ECC788A\r\n Supports Watch Apps = yes\r\n iPhone 6s (iphone)\r\n UDID = 4165B102-D44D-44F8-96C9-C096CBFFFFBC\r\n Supports Watch Apps = yes\r\n iPhone 6s Plus (iphone)\r\n UDID = B506A68A-98B6-4A23-B2AE-A200F15834D3\r\n Supports Watch Apps = yes\r\n\r\n9.3\r\n iPad 2 (ipad)\r\n UDID = AA3AA9EF-8BDC-4620-909F-AB04989358F4\r\n Supports Watch Apps = no\r\n iPad Retina (ipad)\r\n UDID = 8A0EEFF3-5E7E-485A-90E3-CBEAEEF4DB50\r\n Supports Watch Apps = no\r\n iPad Air (ipad)\r\n UDID = 47BBEFB4-3436-4D9B-BF50-A479868539AD\r\n Supports Watch Apps = no\r\n iPad Air 2 (ipad)\r\n UDID = 9557293D-54F8-4CD0-BA86-02ACCA728ACA\r\n Supports Watch Apps = no\r\n iPad Pro (iPad Pro (12.9-inch)) (ipad)\r\n UDID = ABD3803E-9E2B-4876-9B8D-AD5223519778\r\n Supports Watch Apps = no\r\n iPhone 4s (iphone)\r\n UDID = 64084322-76C0-4686-9ECE-B9B3475B4067\r\n Supports Watch Apps = no\r\n iPhone 5 (iphone)\r\n UDID = CD84205F-6EBF-4605-BDA2-4B1AE7DD5BBF\r\n Supports Watch Apps = yes\r\n iPhone 5s (iphone)\r\n UDID = B4C26077-E604-4DD3-B04C-056B54E8E548\r\n Supports Watch Apps = yes\r\n iPhone 6 Plus (iphone)\r\n UDID = EEE95D56-FB25-4E53-ADA6-3F28084D3E5A\r\n Supports Watch Apps = yes\r\n iPhone 6 (iphone)\r\n UDID = BE37E4A3-E3E5-4369-A27A-67BEC4C091BB\r\n Supports Watch Apps = yes\r\n iPhone 6s (iphone)\r\n UDID = 3B754FBB-0C6C-4265-BCC9-E8D3E39599B3\r\n Supports Watch Apps = yes\r\n iPhone 6s Plus (iphone)\r\n UDID = 895B6611-6012-4365-9910-73109318FB59\r\n Supports Watch Apps = yes\r\n\r\n11.2\r\n iPad Air (ipad)\r\n UDID = BE69D85B-C98B-4B6B-8665-97E23E4AD9B7\r\n Supports Watch Apps = no\r\n iPad Air 2 (ipad)\r\n UDID = 0A703E91-74B6-4A8B-8E05-1A309FE84B57\r\n Supports Watch Apps = no\r\n iPad (5th generation) (ipad)\r\n UDID = 84DA3CC5-44C8-451F-AAEF-A0E0DF0C7B9B\r\n Supports Watch Apps = no\r\n iPad Pro (9.7-inch) (ipad)\r\n UDID = E1733F1E-0876-44D8-B231-D3D4EBBCE3DB\r\n Supports Watch Apps = no\r\n iPad Pro (12.9-inch) (ipad)\r\n UDID = D050BF27-9979-4EE4-9813-60EC9F75DA04\r\n Supports Watch Apps = no\r\n iPad Pro (12.9-inch) (2nd generation) (ipad)\r\n UDID = E8544213-13D7-4372-A87D-2C8A9A2D3144\r\n Supports Watch Apps = no\r\n iPad Pro (10.5-inch) (ipad)\r\n UDID = 986C946E-8A6E-4D0A-A21E-C3FBF40E7D9C\r\n Supports Watch Apps = no\r\n iPhone X (iphone)\r\n UDID = 14B7C06C-8E93-4BF6-80E3-A50FA59F7544\r\n Supports Watch Apps = yes\r\n iPhone 8 (iphone)\r\n UDID = 0A4908CF-D235-4036-BA2A-9BFE9BF75AC4\r\n Supports Watch Apps = yes\r\n iPhone 8 Plus (iphone)\r\n UDID = 737062C2-4245-457C-B10B-4A1667E1F6CA\r\n Supports Watch Apps = yes\r\n iPhone 5s (iphone)\r\n UDID = 09754BBF-F21C-4AE9-8D5A-BF707175CED1\r\n Supports Watch Apps = yes\r\n iPhone 6 Plus (iphone)\r\n UDID = C50EAA5D-35E0-46C7-9120-F773776D02FD\r\n Supports Watch Apps = yes\r\n iPhone 6 (iphone)\r\n UDID = 3914D004-FF66-441D-A62A-31910FF75583\r\n Supports Watch Apps = yes\r\n iPhone 6s (iphone)\r\n UDID = BCF66068-09F3-4969-A364-AE51402A4967\r\n Supports Watch Apps = yes\r\n iPhone 6s Plus (iphone)\r\n UDID = 7E998C08-DCF0-468C-9941-509D4045063D\r\n Supports Watch Apps = yes\r\n iPhone SE (iphone)\r\n UDID = 5B019B7E-3578-4638-AEA4-B1948F18DBF8\r\n Supports Watch Apps = yes\r\n iPhone 7 (iphone)\r\n UDID = 02E270FB-B60C-44E5-8F7D-AC77A28CF042\r\n Supports Watch Apps = yes\r\n iPhone 7 Plus (iphone)\r\n UDID = 411028DF-C46E-463D-A889-AAAC9C3AABC5\r\n Supports Watch Apps = yes\r\n\r\nWatchOS Simulators\r\n4.2\r\n Apple Watch - 38mm (watch)\r\n UDID = 206D8F79-3C7B-4CCE-895B-9404F6843975\r\n Apple Watch - 42mm (watch)\r\n UDID = 6470A75A-51F4-478C-92D7-72CD8BFF99A0\r\n Apple Watch Series 2 - 38mm (watch)\r\n UDID = 60580405-65CC-44F5-BEAF-E1F75D7C09EB\r\n Apple Watch Series 2 - 42mm (watch)\r\n UDID = 0B0EA5B6-9F8E-4F83-BA9A-968A7A8158EE\r\n Apple Watch Series 3 - 38mm (watch)\r\n UDID = CAFA56D8-5C2A-4799-AAE8-FF4FB8418023\r\n Apple Watch Series 3 - 42mm (watch)\r\n UDID = 0228235F-DB51-4D56-A59B-5E00A018E2DF\r\n\r\nConnected iOS Devices\r\n None\r\n\r\nAndroid Issues\r\n ! Android API Android 8.0.0 (android-26) is too new and may or may not work with Titanium SDK\r\n 7.0.1.\r\n The maximum supported Android API level by Titanium SDK 7.0.1 is API level 25.\r\n\r\n ! Android API Google APIs (Google Inc.:Google APIs:22) is too old and is no longer supported by\r\n Titanium SDK 7.0.1.\r\n The minimum supported Android API level by Titanium SDK 7.0.1 is API level 23.\r\n\r\niOS Issues\r\n ! Unable to find any valid iOS adhoc provisioning profiles.\r\n This will prevent you from packaging apps for adhoc distribution.\r\n You will need to log in to http://appcelerator.com/ios-dist-certs with your Apple Developer\r\n account, then create, download, and install a profile.\r\n{code}\r\n", "updateAuthor": { "name": "morinel", "key": "morinel", "displayName": "Jeroen van Vianen", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-01-13T18:58:47.000+0000", "updated": "2018-01-13T18:58:47.000+0000" }, { "id": "433127", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~morinel], I also tried your sample code on iOS. I am unable to reproduce the issue. Below is my log\r\n{code}\r\n-- Start simulator log -------------------------------------------------------\r\n[INFO] sampro/1.0 (7.0.1.f5ae7e5)\r\n[INFO] [object TiCompressionModule] loaded\r\n[INFO] Extracting DB file /Users/sharifabudarda/Library/Developer/CoreSimulator/Devices/59F39ADE-F537-\r\n40D7-99F1-214AE8EC4AD1/data/Containers/Data/Application/84FD64D4-F7E6-4535-B24B-9CBD2893BF41/tmp/quickt\r\nide2017.db.zip\r\n[INFO] Archive file [/Users/sharifabudarda/Library/Developer/CoreSimulator/Devices/59F39ADE-F537-40D7-\r\n99F1-214AE8EC4AD1/data/Containers/Data/Application/84FD64D4-F7E6-4535-B24B-9CBD2893BF41/tmp/quicktide20\r\n17.db.zip] successfully extracted\r\n[INFO] Extracted file = 37295104 bytes\r\n[INFO] Installing DB file /Users/sharifabudarda/Library/Developer/CoreSimulator/Devices/59F39ADE-F537-\r\n40D7-99F1-214AE8EC4AD1/data/Containers/Data/Application/84FD64D4-F7E6-4535-B24B-9CBD2893BF41/tmp/quickt\r\nide2017.db\r\n[INFO] Database installed as /Users/sharifabudarda/Library/Developer/CoreSimulator/Devices/59F39ADE-F5\r\n37-40D7-99F1-214AE8EC4AD1/data/Containers/Data/Application/84FD64D4-F7E6-4535-B24B-9CBD2893BF41/Library\r\n/Private Documents/quicktide2017.sql\r\n[INFO] Removing temporary file /Users/sharifabudarda/Library/Developer/CoreSimulator/Devices/59F39ADE-\r\nF537-40D7-99F1-214AE8EC4AD1/data/Containers/Data/Application/84FD64D4-F7E6-4535-B24B-9CBD2893BF41/tmp/q\r\nuicktide2017.db.zip\r\n{code}\r\n\r\nCan you try checking upgrade options in the studio and any possible upgrades? Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-01-14T02:20:06.000+0000", "updated": "2018-01-14T02:20:06.000+0000" }, { "id": "435698", "author": { "name": "morinel", "key": "morinel", "displayName": "Jeroen van Vianen", "active": true, "timeZone": "Europe/Berlin" }, "body": "Just for posterity, I was able to resolve the issue by doing the following:\r\n\r\n{code:javascript}\r\n...\r\n/* Make sure the DB file is removed first */\r\nvar db = Ti.Database.open(DB_NAME).remove();\r\n/* Don't forget to close the removed database... */\r\ndb.close();\r\n...\r\n{code}\r\n", "updateAuthor": { "name": "morinel", "key": "morinel", "displayName": "Jeroen van Vianen", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-03-18T15:03:29.000+0000", "updated": "2018-03-18T15:03:29.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }