{ "id": "114216", "key": "TIMOB-13826", "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": "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": "2013-06-11T20:49:49.000+0000", "created": "2013-05-10T19:03:54.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "SupportTeam", "triage" ], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "29420", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "115659", "key": "TIMOB-14150", "fields": { "summary": "iOS: ti.cloud not found when running the app in Xcode with iOS < 6.1", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T16:43: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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h4. Problem Description\r\nWhen you try to use/add ti.cloud in a program running in iOS 5 or iOS6, you will get an \"ti.cloud not found\". \r\n\r\nh4. Steps to reproduce\r\n1. Create a new mobile project.\r\n2. Add this to app.js:\r\n{code}\r\nvar Cloud = require('ti.cloud');\r\n{code}\r\n3. Run the app. \r\n\r\nh4. Actual results \r\nif you run this in iOS 6.1, will work just fine. IF you try this in iOS 6 or iOS 5, you will get: \r\n\r\n{code}\r\n[DEBUG] Loading: /Users/francesco/Library/Application Support/iPhone Simulator/5.1/Applications/4ACA0555-BF89-47DA-BC10-07EF53D8EA93/Cambi Aste.app/ti.cloud.js, Resource: ti_cloud_js \r\n[ERROR] Script Error Couldn't find module: ti.cloud on boot\r\n{code}\r\n\r\nh4. Extra info\r\nhttp://developer.appcelerator.com/question/151843/problem-with-ticloud-sdk-310-and-ios-51\r\n\r\nh4. Workaround\r\nSolved the issue by:\r\nInstalling the ti.cloud module into the project from https://github.com/appcelerator-modules/ti.cloud/blob/master/commonjs/ti.cloud-commonjs-2.3.3.zip?raw=true\r\nsymbolically linking ti.cloud.js into Resources/ui/module/ (cd Resources/ui/module ; ln -sf ../../../modules/commonjs/ti.cloud/2.3.3/ti.cloud.js)\r\ninitializing it as var Cloud = require('ui/module/ti.cloud');", "attachment": [], "flagged": false, "summary": "iOS: ti.cloud not found in iOS 6 and iOS 5", "creator": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "subtasks": [], "reporter": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "environment": null, "comment": { "comments": [ { "id": "251369", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I am unable to reproduce this.\n\nA few questions:\nWhat is the active SDK set to? (Use \"ti sdk\" in terminal, and look for the \"active\" label) Set this via \"ti sdk select\"\nWas the app created with \"cloud enabled\" via Studio? - You can set on the tiapp.xml editor\nDoes the tiapp.xml contain the appropriate entry for the module? See in either the tiapp.xml editor overview or the xml view of same. Look for: \"ti.cloud\"\nWhat is the install location of the SDK/Module folders? /Library/Application Support or ~/Library/Application Support?", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-10T20:26:14.000+0000", "updated": "2013-05-10T20:26:14.000+0000" }, { "id": "257059", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~mpmiranda] Can you please attach a iOS build log with trace-level logging enabled?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-10T23:44:15.000+0000", "updated": "2013-06-10T23:44:15.000+0000" }, { "id": "257186", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tired with different versions of xcode sdk's 5.1, 6.0 and 6.1 could not reproduce the issue. ", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-11T17:59:35.000+0000", "updated": "2013-06-11T17:59:35.000+0000" }, { "id": "257238", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~mpmiranda] Please provide some logs and some details on the environment that you where running into this issue", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-11T20:49:37.000+0000", "updated": "2013-06-11T20:49:37.000+0000" }, { "id": "413695", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T16:43:40.000+0000", "updated": "2017-03-20T16:43:40.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }