Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15973] Unable to create Ad Hoc Packaging - oversized assets

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionCannot Reproduce
Resolution Date2016-09-06T23:13:16.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsCLI
LabelsSupportTeam
ReporterMauro Parra-Miranda
AssigneeEric Merriman
Created2013-11-19T12:28:54.000+0000
Updated2017-03-24T21:52:45.000+0000

Description

Unable to create Ad Hoc Packaging. My assets folder contains some huge amount off files and some big video files. Total assest size : 1,15Go I can get the project to compile if I remove one off the video file or by compiling in devlopment mode. I suspect some projet size limitation issue. /usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:184 throw e; ^ RangeError: length > kMaxLength at new Buffer (buffer.js:194:21) at fs.readFileSync (fs.js:302:14) at exports.copyFileSync (/Users/botmaster/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/node_modules/node-appc/lib/fs.js:136:28) at /Users/botmaster/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/iphone/cli/hooks/package.js:124:12 at exithandler (child_process.js:635:7) at EventEmitter.emit (events.js:98:17) at maybeClose (child_process.js:735:16) at Socket. (child_process.js:948:11) --------------------------------------------- at exports.execFile (child_process.js:691:9) at exports.exec (child_process.js:578:18) at cli.addHook.post (/Users/botmaster/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/iphone/cli/hooks/package.js:111:6) at /usr/local/lib/node_modules/titanium/lib/cli.js:110:12 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:486:21 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:185:13 at iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:108:13) at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:119:25

Comments

  1. Mauro Parra-Miranda 2013-11-20

    Hello, can you please share the command that you used to compile the app? Being this in Mavericks, did you installed the latest ti studio? http://www.appcelerator.com/blog/2013/10/studio-3-1-4-for-os-x-mavericks/ Best, Mauro
  2. Pascal 2013-11-20

    Hello, The compilation process doesn't work as fine in Titanium Studio as with command line. Titanium Studio, build: 3.1.4.201310171935 Command line: clear && titanium build --platform ios --target dist-adhoc --distribution-name 'distname' --pp-uuid 'uuid' --device-family ipad --output-dir './dist/adhoc/' --force I hope this will help. Pascal Achard
  3. Chris Barber 2016-09-06

    Unable to reproduce with Ti SDK master (6.1.0) and Node.js 6.5.0. I was successfully able to package an iOS app with 7 x 137MB txt files as well as a single 1.38GB txt file without issue.
  4. Lee Morris 2017-03-24

    Closing ticket as the issue cannot be reproduced.

JSON Source