1. #1
    Ext JS Premium Member tangix's Avatar
    Join Date
    Mar 2010
    Location
    Stockholm, Sweden
    Posts
    548
    Vote Rating
    50
    tangix is a jewel in the rough tangix is a jewel in the rough tangix is a jewel in the rough

      0  

    Default Setting deviceType=iPad makes it impossible to Simulate

    Setting deviceType=iPad makes it impossible to Simulate


    Is this a bug or am I doing something wrong?
    Setting deviceType=iPad in the Simulate options generated the following error in the Terminal that pops up when trying to Simulate:
    Code:
    idun-mac:~ msa$ /var/folders/nk/c69c87r17h3dwj1rzmh6k_2c0000gn/T/temp.sh ; exit;
    cd /Users/msa/Documents/sencha-sandbox/hdpro_touch/
    sencha package run simulator.json
    [INFO] The application was successfully packaged
    [ERROR] [DEBUG] Session could not be started: Error Domain=DTiPhoneSimulatorErrorDomain Code=1 "Unknown error." UserInfo=0x100b43d80 {NSLocalizedDescription=Unknown error., DTiPhoneSimulatorUnderlyingErrorCodeKey=-1}
    logout
    No Simulator opens up.

  2. #2
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,851
    Vote Rating
    58
    Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice

      0  

    Default


    I'm also getting this bug. Looking into it.

    Perhaps the code changed w/ beta3 sdktools?
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

  3. #3
    Sencha Premium Member
    Join Date
    Mar 2012
    Posts
    38
    Vote Rating
    2
    rklowe01 is on a distinguished road

      0  

    Default Error trying to do iPad simulation using Architect

    Error trying to do iPad simulation using Architect


    I'm trying to simulate a sample app using Architect and I get the following error:
    sencha package run simulator.json
    [ERROR] The current working directory (/Users/zachlowe/Sites/sencha_sdk/myprojects/Architect/GameDay) is not a recognized Sencha SDK or application folder
    The application was successfully packaged
    [DEBUG] Session could not be started: Error Domain=DTiPhoneSimulatorErrorDomain Code=1 UserInfo=0x100131660 "Unknown error."
    logout

    Here's what's in my simulator.json file:
    {
    "applicationName": "GameTest",
    "applicationId": "3FYNXD49MV.*",
    "bundleSeedId": "3FYNXD49MV",
    "versionString": "test_05_15_12",
    "iconName": "icon.png",
    "inputPath": "/Users/zachlowe/Sites/sencha_sdk/myprojects/Architect/GameTest",
    "outputPath": "/Users/zachlowe/Sites/sencha_simulator",
    "configuration": "Debug",
    "platform": "iOSSimulator",
    "deviceType": "iPad",
    "certificatePath": "/Users/zachlowe/Sites/sencha_package/P12Certificate.p12",
    "certificateAlias": "",
    "sdkPath": "/Users/zachlowe/Sites/sencha_sdk",
    "androidAPILevel": ""
    }

    Questions:
    (1) What is causing above error?
    (2) Why does an empty iPhone pop up in the simulator instead of iPad?
    (3) How do you specify "orientations" in Architect (my app is landscape only)?

    Thanks in advance - Bob

  4. #4
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,851
    Vote Rating
    58
    Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice

      0  

    Default


    This happens for me as well and I'm required to swich device (Hardware > Device) to iPad and then swipe to the 2nd screen to find my application and open it. I am then presented w/ my application.
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

  5. #5
    Sencha User
    Join Date
    Jan 2012
    Posts
    15
    Vote Rating
    0
    bcichowlas is on a distinguished road

      0  

    Default Where is there more detailed info and examples for porting to IOS and Android?

    Where is there more detailed info and examples for porting to IOS and Android?


    The information you gave above was helpful and I can now see my app on the iPhone and iPad simulator. When I make an "ad hoc" version, though, and try to deploy through Hockey, it goes through the motions of downloading and then says that the app cannot be run "at this time", which is a typical Hockey message if your deployment is not set up correctly. (I've deployed a lot of Objective-C native apps through Hockey and through the iTunes store.)

    When I try to deploy to the simulator on Android, the app never starts. When I build a .apk, copy it to an SD card and then to the Android, it gives me a 'parse error" when I try to run it.

    I'm really hoping to get some Sencha apps that I've built with Architect up for clients soon. My apps run fine on the desktop. What can help me and what should I be reading?

    Thanks,
    Bruce
    508-215-9047

  6. #6
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,851
    Vote Rating
    58
    Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice

      0  
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team