Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4937] iOS: require() has regressed in master 1.8.x

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-01-09T13:31:47.000+0000
Affected Version/sRelease 1.8.0
Fix Version/sSprint 2011-43, Release 1.8.0
ComponentsiOS
Labelsmodule_module, qe-testadded, regression
ReporterRick Blalock
AssigneeBlain Hamon
Created2011-08-08T09:31:55.000+0000
Updated2012-01-09T13:31:47.000+0000

Description

When using require() from master the following is placed in the log and in the console. Project attached. Same project works in 1.7.2.
[INFO] Launching application in Simulator
[INFO] Launched application in Simulator (24.85 seconds)
[DEBUG] executing command: xcodebuild -version
[DEBUG] Xcode 4.1
[DEBUG] Build version 4B110
[INFO] Found 4.3.2 patch installed
[INFO] Application started

[DEBUG] reading stylesheet from: /Users/rickblalock/Library/Application Support/iPhone Simulator/4.3.2/Applications/624CA347-7394-49D1-A2B7-6DAC3666B181/testrequire.app/stylesheet.plist

[INFO] testrequire/1.0 (1.8.0.6230bfe)

[DEBUG] Analytics is enabled = YES

[DEBUG] loading: /Users/rickblalock/Library/Application Support/iPhone Simulator/4.3.2/Applications/624CA347-7394-49D1-A2B7-6DAC3666B181/testrequire.app/app.js, resource: app_js

[DEBUG] loading: /Users/rickblalock/Library/Application Support/iPhone Simulator/4.3.2/Applications/624CA347-7394-49D1-A2B7-6DAC3666B181/testrequire.app/modules/core.js, resource: modules/core_js

[ERROR] Script Error = Couldn't find module: modules/core.

Attachments

FileDateSize
requiretest.zip2011-08-08T09:31:55.000+00002311019

Comments

  1. Wilson Luu 2011-12-07

    Closing bug. Verified fix on: OS: Mac OS X Lion Titanium Studio, build: 1.0.7.201112061404 SDK build: 1.8.0.1.v20111207151125 Device: iphone 4S Sprint (5.0.1)
  2. Dustin Hyde 2012-01-09

    Added label qe-testadded.

JSON Source