{ "id": "83826", "key": "TIMOB-6673", "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": "2014-03-26T20:22:08.000+0000", "created": "2011-12-14T15:59:27.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core", "supportTeam" ], "versions": [ { "id": "12570", "name": "Release 1.7.5", "archived": true, "released": true, "releaseDate": "2011-11-02" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T21:18:24.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": "h3.Problem\r\nWhen trying to do the usual 1st step after creating the template, i.e. open the newly created, UNTOUCHED, module in the xcode (i.e. \"open .xcodeproj\") - xcode hangs with the message \"running 1 of 1 custom scripts\" (please see 1st attached screen shot).\r\n\r\nIf trying to close xcode without it finishing - titanium studio gives an error when i'm trying to use the module on the device (please see 2nd attached screen shot). the code of the app.js is just a copy of automatically created app.js from the example folder of the module.\r\n\r\nThat appears only on SDK 1.7.5. With SDK 1.7.3 it works as expected.\r\n\r\nThe customer has lion with the change inside the titanium.xcconfig (Other Sources folder) the TITANIUM_SDK variable. TITANIUM_SDK = ~/Library/Application Support/Titanium/mobilesdk/osx/$(TITANIUM_SDK_VERSION)\r\n\r\nTried recreating the module probably about 100 times with different combinations of Titanium SDK version and test app SDK versions.\r\n\r\nSome more information about the process:\r\n- he always delete Build forlder of the app before re-compiling;\r\n- When re-building a module, he always removes the previous version of that module from \"modules\" folder and place a newly created zip file into \"modules\" folder to make sure that Titanium build process pucks it up and installs it;\r\n- he always trying to build newly created module in xCode to make sure everything goes smoothly (this step, just to remind you, did not work for Ti SDK 1.7.5: xCode hangs with the message regarding customs scripts - see my 1st post);\r\n\r\nI believe this situation has something to do with the target platforms being armv7 and armv6 by default in Titanium, while xCode expects only armv7.\r\n\r\nWe have got his project.pbxproj http://support-admin.appcelerator.com/files/f2fb47e6-205d-11e1-935c-12313819f1f3/mdb.xcodeproj.zip and updated it with armv6. The updated file looks like the one attached to JIRA. The problem still appears and the Xcode hangs.\r\n\r\nCustomer has already reinstalled the XCode.\r\n\r\nh3.Customers Workaround\r\nHe has discovered that the problem is in the presence of armv6 in the xcode project's targets.\r\n\r\nonce he has removed armv6 from the builder.py, and re-generated his module - it started working.\r\n\r\nhere is what he has done:\r\n\r\n-- copied 1.7.5 sdk to the new folder 1.7.5.1, effectively creating new sdk version - 1.7.5.1;\r\n\r\n-- modified line 1108 in builder.py from the floder .../1.7.5.1/iphone by removing armv6, i.e.:\r\n\r\nwas: extra_args = [\"VALID_ARCHS=armv6 armv7 i386\"]\r\n\r\nnow: extra_args = [\"VALID_ARCHS=armv7 i386\"]\r\n\r\n-- set the current sdk to 1.7.5.1 by executing the following command in the terminal:\r\n\r\nalias titanium='/Library/Application\\ Support/Titanium/mobilesdk/osx/1.7.5.1/titanium.py'\r\n\r\n-- re-generated a module:\r\n\r\ntitanium create --type=module --platform=iphone --name=testmod --id=com.mod.testmod\r\n\r\nthis newly created module works, xcode does not hang when trying to \"open testmod.xcodeproj\", and when this module is included into an app - app compiles OK and works on a real device.\r\n\r\nRemining the initial problem:\r\n\r\nUnder 1.7.5 xcode was hanging on \"open .xcodeproj\", was never finishing whatever it has been doing, so i had to close it. the resulting module was build by ./build.py with success and worked in simulator, but when i was trying to compile it for a real device (ipad 2 and iphone 4s in my case), compilation was failing (i've attached images of ti studio screen).", "attachment": [ { "id": "24663", "filename": "mdb.xcodeproj.zip", "author": { "name": "kpomaski", "key": "kpomaski", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-14T15:59:27.000+0000", "size": 37269, "mimeType": "application/zip" }, { "id": "24664", "filename": "moddeverr.PNG", "author": { "name": "kpomaski", "key": "kpomaski", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-14T15:59:27.000+0000", "size": 671085, "mimeType": "image/png" }, { "id": "24665", "filename": "Screen Shot 2011-12-04 at 10.42.48 AM.png", "author": { "name": "kpomaski", "key": "kpomaski", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-14T15:59:27.000+0000", "size": 785836, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: module creation - after creating template and opening it xcode hangs with the message \"running 1 of 1 custom scripts\" ", "creator": { "name": "kpomaski", "key": "kpomaski", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kpomaski", "key": "kpomaski", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "XCode 4.2 Build 4D199, mobile SDK 1.7.5, Max OS X Lion Version 10.7.2 on Mac Mini 2.3 GHz Intel Core i5 with 8GB 1333 MHz DDR3 Ram", "comment": { "comments": [ { "id": "298851", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolving as cannot reproduce. Needs confirmation by QE before closing.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-26T20:22:08.000+0000", "updated": "2014-03-26T20:22:21.000+0000" }, { "id": "414433", "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-21T21:18:24.000+0000", "updated": "2017-03-21T21:18:24.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }