Skip to content

Instantly share code, notes, and snippets.

@rakhimoni
Last active August 29, 2015 14:27
Show Gist options
  • Save rakhimoni/7a4e8594759a14447fc1 to your computer and use it in GitHub Desktop.
Save rakhimoni/7a4e8594759a14447fc1 to your computer and use it in GitHub Desktop.
Report for investigate an issue with the youtube videos
/** Report for investigate an issue with the youtube videos
* Testing Environment:
* CLI Version = 4.0.1
Titanium SDK Version = 4.1.0.GA
Simulator:iPhone 4,
Android: Google Galaxy Nexus - 4.1.1 - API 16 - 720x1280
Appc Studio: Appcelerator Studio, build: 4.1.0.201507140915
*
*/
Test Code:
Titanium.UI.setBackgroundColor('#000');
var win = Titanium.UI.createWindow({
title : 'Youtube Video Check',
backgroundColor : '#fff',
exitOnClose : true
});
var activeMovie = Titanium.Media.createVideoPlayer({
url : "https://www.youtube.com/watch?v=cbFzOqlYVgM",
autoplay : true,
backgroundColor : 'blue',
height : 300,
width : 300,
mediaControlStyle : Titanium.Media.VIDEO_CONTROL_DEFAULT,
scalingMode : Titanium.Media.VIDEO_SCALING_ASPECT_FIT
});
win.add(activeMovie);
win.open();
/**
* APP.JS
Report for investigate an issue with the youtube videos
*
* Ti loggs:
*
*
* Appcelerator Command-Line Interface, version 4.1.2
Copyright (c) 2014-2015, Appcelerator, Inc. All Rights Reserved.
TRACE | __command__ search paths:
[
"/Users/gsl5/.appcelerator/install/4.1.2/package",
"/Users/gsl5/.appcelerator/install/4.1.2/package/node_modules",
"/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS/node_modules",
"/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/node_modules",
"/Applications/Appcelerator Studio/AppceleratorStudio.app/node_modules",
"/Applications/Appcelerator Studio/node_modules",
"/Applications/node_modules",
"/node_modules",
"/Users/gsl5/.appcelerator/.npm/lib/node_modules"
]
DEBUG | [PLUGIN-LOAD] 0ms /Users/gsl5/.appcelerator/install/4.1.2/package/appc.js
DEBUG | [PLUGIN-LOAD] 7914ms /Users/gsl5/.appcelerator/install/4.1.2/package/node_modules/appc-cli-titanium/appc.js
DEBUG | [PLUGIN-LOAD] 25ms /Users/gsl5/.appcelerator/install/4.1.2/package/node_modules/arrow/appc.js
log level set to "trace"
executing command "run"
set environment to {"registry":"https://software.appcelerator.com","security":"https://security.appcelerator.com","baseurl":"https://platform.appcelerator.com"}
checking credentials for existing session
Attempting to load session info from config file
check if session is invalidated
session expiry 1439179678681 false
+---------------------------------------------------------------------------------------+
+ This is a Developer trial account. You may use this software for evaluation purposes. +
+ Once you are ready to go to production, upgrade at https://billing.appcelerator.com +
+---------------------------------------------------------------------------------------+
Arrow Cloud config file: /Users/gsl5/.acs
found Arrow Cloud login { mid: '9d4baaa6a3114e2f00bffb4782677d920396ff53',
publishPort: 443,
publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',
username: '[email protected]',
cookie: [ 'connect.sid=s%3ARKDuB%2Bgtk8MjJFlB4wu1b7Mu.AhKDo61Ol%2FrMTlmYuUkL9uJqrmbdNkoF1NYrCylcF44; Path=/; Expires=Mon, 10 Aug 2015 04:08:07 GMT; HttpOnly' ],
defaultEP:
{ publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',
publishPort: 443 } } , checking nodeACSEndpoint= https://admin.cloudapp-enterprise.appcelerator.com
Arrow Cloud cookie expiry [ 1439179687000 ]
session already loaded in opts.session
getCredentials() session:
{
"ipaddress": "192.168.3.101",
"username": "[email protected]",
"password": "<OMITTED>",
"session": "<OMITTED>",
"nonce": "<OMITTED>",
"environment": {
"name": "production",
"isProduction": true,
"acsBaseUrl": "https://api.cloud.appcelerator.com",
"acsAuthBaseUrl": "https://secure-identity.cloud.appcelerator.com",
"nodeACSEndpoint": "https://admin.cloudapp-enterprise.appcelerator.com"
},
"token": "<OMITTED>",
"fingerprint": "9d4baaa6a3114e2f00bffb4782677d920396ff53",
"fingerprint_description": "Mac OSX Serial Number: C07M84E2DWYL",
"org_id": 100035959,
"expiry": 1439179678681
}
loading plugins for command "run"
run search paths:
[
"/Users/gsl5/.appcelerator/install/4.1.2/package",
"/Users/gsl5/.appcelerator/install/4.1.2/package/node_modules",
"/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS/node_modules",
"/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/node_modules",
"/Applications/Appcelerator Studio/AppceleratorStudio.app/node_modules",
"/Applications/Appcelerator Studio/node_modules",
"/Applications/node_modules",
"/node_modules",
"/Users/gsl5/.appcelerator/.npm/lib/node_modules"
]
[PLUGIN-LOAD] 0ms /Users/gsl5/.appcelerator/install/4.1.2/package/appc.js
[PLUGIN-LOAD] 264ms /Users/gsl5/.appcelerator/install/4.1.2/package/node_modules/appc-cli-titanium/appc.js
run plugin: /Users/gsl5/.appcelerator/install/4.1.2/package/node_modules/appc-cli-titanium
[PLUGIN-LOAD] 1ms /Users/gsl5/.appcelerator/install/4.1.2/package/node_modules/arrow/appc.js
run plugin: /Users/gsl5/.appcelerator/install/4.1.2/package/node_modules/arrow
plugin "arrow" failed its "when" function check, skipping...
loading plugin "titanium" for command "run" CLI options via function
loading plugin "titanium" for command "run" CLI options via array
Duplicate option "colors" for command "run", removing...
executing command "run" with the following plugins:
["titanium"]
TRACE | Attempting to load session info from config file
TRACE | check if session is invalidated
TRACE | session expiry 1439179678681 false
TRACE | session already loaded in opts.session
DEBUG | Titanium Downloads Last Checked: 1439093845489
TRACE | "/usr/local/bin/node" "/Users/gsl5/.appcelerator/install/4.1.2/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium" config -o json-object
TRACE | "/usr/local/bin/node" "/Users/gsl5/.appcelerator/install/4.1.2/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium" sdk -o json
TRACE | checking for titanium, result:
{ activeSDK: '4.1.0.GA',
defaultInstallLocation: '/Users/gsl5/Library/Application Support/Titanium',
installLocations:
[ '/Users/gsl5/Library/Application Support/Titanium',
'/Library/Application Support/Titanium' ],
installed:
{ '4.1.0.GA': '/Users/gsl5/Library/Application Support/Titanium/mobilesdk/osx/4.1.0.GA',
'3.5.0.GA': '/Users/gsl5/Library/Application Support/Titanium/mobilesdk/osx/3.5.0.GA',
'3.4.1.GA': '/Users/gsl5/Library/Application Support/Titanium/mobilesdk/osx/3.4.1.GA' } }
TRACE | /usr/local/bin/node [ '/Users/gsl5/.appcelerator/install/4.1.2/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium',
'build',
'--platform',
'ios',
'--log-level',
'trace',
'--sdk',
'4.1.0.GA',
'--project-dir',
'/Users/gsl5/Documents/Appcelerator_Studio_Workspace/rmm',
'--target',
'simulator',
'--ios-version',
'8.1',
'--device-family',
'universal',
'--deploy-type',
'development',
'--sim-type',
'iphone',
'--sim-version',
'8.1',
'--device-id',
'BAC177C5-0887-41FF-A639-F0FCB018BA1C',
'--skip-js-minify',
'--no-colors',
'--no-progress-bars',
'--no-prompt',
'--prompt-type',
'socket-bundle',
'--prompt-port',
'49435',
'--plugin-paths',
'/Users/gsl5/.appcelerator/install/4.1.2/package/node_modules',
'--config-file',
'/var/folders/th/8zj_1cj56b13k1lxlbr314qh0000gn/T/build-1439094285281.json',
'--no-banner' ]
Sun Aug 09 2015 10:25:13 GMT+0600 (BDT)
Operating System
Name = Mac OS X
Version = 10.10.1
Architecture = 64bit
# CPUs = 4
Memory = 4294967296
Node.js
Node.js Version = 0.10.20
npm Version = 1.3.11
Titanium CLI
CLI Version = 4.0.1
Titanium SDK
SDK Version = 4.1.0.GA
SDK Path = /Users/gsl5/Library/Application Support/Titanium/mobilesdk/osx/4.1.0.GA
Target Platform = iphone
Command
/usr/local/bin/node /Users/gsl5/.appcelerator/install/4.1.2/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium build --platform ios --log-level trace --sdk 4.1.0.GA --project-dir /Users/gsl5/Documents/Appcelerator_Studio_Workspace/rmm --target simulator --ios-version 8.1 --device-family universal --deploy-type development --sim-type iphone --sim-version 8.1 --device-id BAC177C5-0887-41FF-A639-F0FCB018BA1C --skip-js-minify --no-colors --no-progress-bars --no-prompt --prompt-type socket-bundle --prompt-port 49435 --plugin-paths /Users/gsl5/.appcelerator/install/4.1.2/package/node_modules --config-file /var/folders/th/8zj_1cj56b13k1lxlbr314qh0000gn/T/build-1439094285281.json --no-banner
[INFO] : Deploy type: development
[INFO] : Building for target: simulator
[INFO] : Building using iOS SDK: 8.1
[INFO] : Building for iOS Simulator: iPhone 4s
[INFO] : Building for device family: universal
[INFO] : Minimum iOS version: 7.0
[INFO] : Debugging disabled
[INFO] : Profiler disabled
[INFO] : Initiating prepare phase
[INFO] : Cleaning old build directory
[INFO] : Performing full rebuild
[INFO] : Copying Xcode iOS files
[INFO] : Creating Xcode project directory: /Users/gsl5/Documents/Appcelerator_Studio_Workspace/rmm/build/iphone/rmm.xcodeproj
[INFO] : Writing Xcode project data file: Titanium.xcodeproj/project.pbxproj
[INFO] : Writing Xcode module configuration: module.xcconfig
[INFO] : Updating Xcode project configuration: project.xcconfig
[INFO] : Checking for Splash Screen localization
[INFO] : Forcing rebuild: ApplicationDefaults.m has changed since last build
[INFO] : Writing application defaults: /Users/gsl5/Documents/Appcelerator_Studio_Workspace/rmm/build/iphone/Classes/ApplicationDefaults.m
[INFO] : Initiating Xcode pre-compile phase
[INFO] : Processing JavaScript files
[INFO] : Processing Titanium namespace resources
[INFO] : Compiling localization files
[INFO] : Checking for Splash Screen localization
[INFO] : Invoking xcodebuild
[INFO] : Finished building the application in 49s 754ms
[INFO] : Launching iOS Simulator
[INFO] : Project built successfully in 1m 5s 611ms
-- Start simulator log -------------------------------------------------------
[INFO] : Application started
[INFO] : rmm/1.0 (4.1.0.d57aa7d)
*
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment