Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (device)
Viewing all articles
Browse latest Browse all 250

App works great in simulator, freezing on deployment to device

$
0
0

Application type: mobile Titanium SDK: Titanium Command-Line Interface, CLI version 3.1.2, Titanium SDK version 3.1.2.GA Platform & version: iOS 6.1 Device: iPad simulator Host Operating System: OSX 10.8.4

It seems that I am having some sort of packaging issue when deploying to a device. The two services I use are appSendr and Diawi, and I still get the same problem no matter which one I use. I launch the application in the iPad simulator, and it functions like it's supposed to. As soon as I deploy to an iPad 2 device, the application freezes on the splash screen. There must be some bug in my packaging process that is causing this or a "ghost image" of the .ipa file. I feel like I've tried everything which is why I'm finally posting this in the forum. Below I've included what is logged to the console, when I build this app to device…

Thank you in advance for any suggestions!

Titanium Command-Line Interface, CLI version 3.1.2, Titanium SDK version 3.1.2.GA
Copyright (c) 2012-2013, Appcelerator, Inc.  All Rights Reserved.
Please report bugs to http://jira.appcelerator.org/
[INFO] :   Deploy type: test
[INFO] :   Building for target: device
[INFO] :   Building using iOS SDK: 6.1
[INFO] :   Building for device family: ipad
[INFO] :   iOS Development Certificate: *** ******* (************)
[INFO] :   Minimum iOS version: 5.0
[INFO] :   Using default keychain
[INFO] :   Debugging disabled
[INFO] :   Profiler disabled
[INFO] :   Initiating prepare phase
[INFO] :   Forcing rebuild: target changed since last build
[INFO] :     Was: simulator
[INFO] :     Now: device
[INFO] :   Found Alloy app in /Users/Admin/Documents/Titanium_Studio_Workspace/OnePager Lite/app
[INFO] :   Executing Alloy compile: /usr/local/bin/node /usr/local/bin/alloy compile /Users/Admin/Documents/Titanium_Studio_Workspace/OnePager Lite/app --config platform=ios,version=0,simtype=none,devicefamily=ipad,deploytype=test
[INFO] :   ----- MVC GENERATION -----
[INFO] :   [global style] loading from cache...
[INFO] :   [congrats_8.xml] view processing...
[INFO] :     style:      "congrats_8.tss"
[INFO] :     view:       "congrats_8.xml"
[INFO] :     controller: "congrats_8.js"
[INFO] :     created:    "Resources/iphone/alloy/controllers/congrats_8.js"
[INFO] :     created:     "Resources/iphone/alloy/styles/congrats_8.js"
[INFO] :   [dashboard.xml] view processing...
[INFO] :     style:      "dashboard.tss"
[INFO] :     view:       "dashboard.xml"
[INFO] :     controller: "dashboard.js"
[INFO] :     created:    "Resources/iphone/alloy/controllers/dashboard.js"
[INFO] :     created:     "Resources/iphone/alloy/styles/dashboard.js"
[INFO] :   [final_preview.xml] view processing...
[INFO] :     style:      "final_preview.tss"
[INFO] :     view:       "final_preview.xml"
[INFO] :     controller: "final_preview.js"
[INFO] :     created:    "Resources/iphone/alloy/controllers/final_preview.js"
[INFO] :     created:     "Resources/iphone/alloy/styles/final_preview.js"
[INFO] :   [home.xml] view processing...
[INFO] :     style:      "home.tss"
[INFO] :     view:       "home.xml"
[INFO] :     controller: "home.js"
[INFO] :     created:    "Resources/iphone/alloy/controllers/home.js"
[INFO] :     created:     "Resources/iphone/alloy/styles/home.js"
[INFO] :   [index.xml] view processing...
[INFO] :     style:      "index.tss"
[INFO] :     view:       "index.xml"
[INFO] :     controller: "index.js"
[INFO] :     created:    "Resources/iphone/alloy/controllers/index.js"
[INFO] :     created:     "Resources/iphone/alloy/styles/index.js"
[INFO] :   [interests_4.xml] view processing...
[INFO] :     style:      "interests_4.tss"
[INFO] :     view:       "interests_4.xml"
[INFO] :     controller: "interests_4.js"
[INFO] :     created:    "Resources/iphone/alloy/controllers/interests_4.js"
[INFO] :     created:     "Resources/iphone/alloy/styles/interests_4.js"
[INFO] :   [needs_6.xml] view processing...
[INFO] :     style:      "needs_6.tss"
[INFO] :     view:       "needs_6.xml"
[INFO] :     controller: "needs_6.js"
[INFO] :     created:    "Resources/iphone/alloy/controllers/needs_6.js"
[INFO] :     created:     "Resources/iphone/alloy/styles/needs_6.js"
[INFO] :   [popover.xml] view processing...
[INFO] :     view:       "popover.xml"
[INFO] :     created:    "Resources/iphone/alloy/controllers/popover.js"
[INFO] :     created:     "Resources/iphone/alloy/styles/popover.js"
[INFO] :   [preference_5.xml] view processing...
[INFO] :     style:      "preference_5.tss"
[INFO] :     view:       "preference_5.xml"
[INFO] :     controller: "preference_5.js"
[INFO] :     created:    "Resources/iphone/alloy/controllers/preference_5.js"
[INFO] :     created:     "Resources/iphone/alloy/styles/preference_5.js"
[INFO] :   [strengths_3.xml] view processing...
[INFO] :     style:      "strengths_3.tss"
[INFO] :     view:       "strengths_3.xml"
[INFO] :     controller: "strengths_3.js"
[INFO] :     created:    "Resources/iphone/alloy/controllers/strengths_3.js"
[INFO] :     created:     "Resources/iphone/alloy/styles/strengths_3.js"
[INFO] :   [student_login.xml] view processing...
[INFO] :     style:      "student_login.tss"
[INFO] :     view:       "student_login.xml"
[INFO] :     controller: "student_login.js"
[INFO] :     created:    "Resources/iphone/alloy/controllers/student_login.js"
[INFO] :     created:     "Resources/iphone/alloy/styles/student_login.js"
[INFO] :   [teacher_intro.xml] view processing...
[INFO] :     style:      "teacher_intro.tss"
[INFO] :     view:       "teacher_intro.xml"
[INFO] :     controller: "teacher_intro.js"
[INFO] :     created:    "Resources/iphone/alloy/controllers/teacher_intro.js"
[INFO] :     created:     "Resources/iphone/alloy/styles/teacher_intro.js"
[INFO] :   [teacher_login.xml] view processing...
[INFO] :     style:      "teacher_login.tss"
[INFO] :     view:       "teacher_login.xml"
[INFO] :     controller: "teacher_login.js"
[INFO] :     created:    "Resources/iphone/alloy/controllers/teacher_login.js"
[INFO] :     created:     "Resources/iphone/alloy/styles/teacher_login.js"
[INFO] :   [teacher_welcome.xml] view processing...
[INFO] :     style:      "teacher_welcome.tss"
[INFO] :     view:       "teacher_welcome.xml"
[INFO] :     controller: "teacher_welcome.js"
[INFO] :     created:    "Resources/iphone/alloy/controllers/teacher_welcome.js"
[INFO] :     created:     "Resources/iphone/alloy/styles/teacher_welcome.js"
[INFO] :   
[INFO] :   [app.js] using cached app.js...
[INFO] :

[INFO] :   ----- OPTIMIZING -----
[INFO] :   - iphone/HelperFunctions.js
[INFO] :   - iphone/MemoryPool.js
[INFO] :   - iphone/NavigationController.js
[INFO] :   - iphone/alloy.js
[INFO] :   - iphone/gridlines.js
[INFO] :   - iphone/icons.js
[INFO] :   - iphone/textFieldHelper.js
[INFO] :   - iphone/alloy/sync/localStorage.js
[INFO] :   - iphone/alloy/sync/properties.js
[INFO] :   - iphone/alloy/sync/sql.js
[INFO] :   
[INFO] :   Alloy compiled in 3.58282s
[INFO] :   Alloy compiler completed successfully
[INFO] :   Found Titanium module id=ti.airprint version=1.3.1 platform=iphone deploy-type=test
[INFO] :   Detected third-party native iOS module: ti.airprint version 1.3.1
[INFO] :   Cleaning old build directory
[INFO] :   Performing full rebuild
[INFO] :   Copying Xcode iOS files
[INFO] :   Creating Xcode project directory: /Users/Admin/Documents/Titanium_Studio_Workspace/OnePager Lite/build/iphone/OnePager Lite.xcodeproj
[INFO] :   Writing Xcode project data file: Titanium.xcodeproj/project.pbxproj
[INFO] :   Writing Xcode project configuration: project.xcconfig
[INFO] :   Writing Xcode module configuration: module.xcconfig
[INFO] :   Injecting native libraries into Xcode project file
[INFO] :   Forcing rebuild: ApplicationDefaults.m has changed since last build
[INFO] :   Writing properties to ApplicationDefaults.m
[INFO] :   No module resources to copy
[INFO] :   No CommonJS modules to copy
[INFO] :   Copying iTunes artwork
[INFO] :   Invoking xcodebuild
[INFO] :   Finished building the application in 1m 26s 439ms
[INFO] :   Installing application into iTunes
[INFO] :   Initiating iTunes sync
 
[INFO] :   Project built successfully in 1m 52s 124ms

Viewing all articles
Browse latest Browse all 250

Latest Images

Trending Articles



Latest Images