[TIMOB-15973] Unable to create Ad Hoc Packaging - oversized assets
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2016-09-06T23:13:16.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | CLI |
Labels | SupportTeam |
Reporter | Mauro Parra-Miranda |
Assignee | Eric Merriman |
Created | 2013-11-19T12:28:54.000+0000 |
Updated | 2017-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
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
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
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.
Closing ticket as the issue cannot be reproduced.