Results 1 to 8 of 8

Thread: sencha cmd 5.0.3.324 and remote phonegap build

  1. #1
    Sencha User
    Join Date
    Jan 2013
    Posts
    10

    Default sencha cmd 5.0.3.324 and remote phonegap build

    I tried to made a new sencha touch 2.4 application from scratch with remote phonegap build. I followed instructions here:

    http://docs.sencha.com/cmd/5.x/cordova_phonegap.html

    There are many problems, I hope this will help somebody. This are problems:

    builds object in app.json need to look like this:

    Code:
    "builds": {    "native": {
            "packager": "phonegap",
            "phonegap" : {
                "config": {
                    "platform": "ios",
        "id": "com.mydomain.MyApp",
                    "remote": true
                }
            }
        }
    }
    local.properties file should look like this (You need to have one line prior username or it wouldn't read it and add build after phonegap):

    Code:
    ____<---blank line
    phonegap.build[email protected]
    phonegap.build[email protected]@t
    File \.sencha\app\phonegap-impl.xml have wrong login command:

    Code:
     phonegap ${phonegap.cli.options} remote login --username='${phonegap.build.remote.username}' --password='${phonegap.build.remote.password}'
    Code:
    phonegap remote login --username="${phonegap.build.remote.username}" --password="${phonegap.build.remote.password}"
    If you followed instructions from docs, you wouldn't made phonegap init, but if you did, here is maneljns fix:

    Quote Originally Posted by maneljn View Post

    I have found another problem in the auto-generated file "phonegap.defaults.properties" this line

    Code:
    phonegap.build.remote.password=$phonegap.password}
    must be like this:

    Code:
    phonegap.build.remote.password=${phonegap.password}
    now it works.
    I think that was all...

    Regards,

    Zeljko

  2. #2
    Sencha User
    Join Date
    Feb 2010
    Location
    Figueres (Spain)
    Posts
    370

    Default errors

    I tried your solution but i gave also this errors logs:

    Please look at attached files.
    ErrorBuildNative.zip

    Note: i've changed my password to ******

    Thanks
    Manel
    -------------------
    Manel Juarez

  3. #3
    Sencha User
    Join Date
    Jan 2013
    Posts
    10

    Default

    2, You missed build


    ____<---blank line
    phonegap.
    build[email protected]
    phonegap.build[email protected]@t

  4. #4
    Sencha User
    Join Date
    Feb 2010
    Location
    Figueres (Spain)
    Posts
    370

    Default

    Thanks, i have added the word "build".

    I have found another problem in the auto-generated file "phonegap.defaults.properties" this line

    Code:
    phonegap.build.remote.password=$phonegap.password}
    must be like this:

    Code:
    phonegap.build.remote.password=${phonegap.password}
    now it works.
    -------------------
    Manel Juarez

  5. #5
    Sencha User
    Join Date
    Jan 2013
    Posts
    10

    Default

    Hmh I didnt have that problem. Anyway glad to hear you made it.

    Regards,
    Zeljko

  6. #6
    Sencha User
    Join Date
    Jan 2013
    Posts
    10

    Default

    Ah I just saw your other post. You shouldnt made phonegap init, just follow instructions from docs with this and everthing is ok. But if somebody did it that way, they need to change what maneljn noticed.

  7. #7
    Sencha User
    Join Date
    Nov 2013
    Posts
    27

    Default question

    i try it but nothing different happens.any other tip

  8. #8
    Sencha User
    Join Date
    Jan 2013
    Posts
    10

    Default

    just follow instructions from docs word to word and this fixes and it should be fine.

    If not, please make debug build with sencha -d app build native and see whats the problem.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •