Results 1 to 8 of 8

Thread: Application does not have a valid signature Sencha App inwindows 7

  1. #1
    Sencha User
    Join Date
    Jun 2013
    Posts
    64
    Answers
    1

    Default Application does not have a valid signature Sencha App inwindows 7

    I'm having an issue on deploying Sencha App to iOS device.
    The error is : "Application does not have a valid signature" when I'm trying to install sample generated sencha app eg: Sencha.app using iPhone configuration utility in Windows 7.
    Below are the things that I have done already:
    iOS Member Center (Enterprise Program) Setup:
    1. Created CSR on open sll and submitted to Member Center
    2. Downloaded dev cer file and created p12 file using open ssl
    3. Added device (ipad ,iphone)
    4. Created Provisioning profile and added certificate and device and used Xcode: iOS Wildcard AppID (*).
    5. Download Provisioning Profile
    Packager.json

    { "applicationName":"Sencha", "applicationId":"com.company.Sencha", "bundleSeedId":"KPXFEPZ6EF", "versionString":"1.0", "versionCode":"1", "icon": { "36":"resources/icons/Icon_Android36.png", "48":"resources/icons/Icon_Android48.png", "57":"resources/icons/Icon.png", "72":"resources/icons/Icon~ipad.png", "114":"resources/icons/[email protected]", "144":"resources/icons/[email protected]" }, "inputPath":"./", "outputPath":"../build/", "configuration":"Debug", "platform":"iOS", "deviceType":"Universal", "certificatePath":"ios_development.p12", "certificateAlias":"iPhone Developer", "certificatePassword":"test", "provisionProfile":"Provisioning_Profile.mobileprovision", "notificationConfiguration":"", "permissions":[ "INTERNET", "ACCESS_NETWORK_STATE", "CAMERA", "VIBRATE", "ACCESS_FINE_LOCATION", "ACCESS_COARSE_LOCATION", "CALL_PHONE" ], "orientations": [ "portrait", "landscapeLeft", "landscapeRight", "portraitUpsideDown" ]}

    Am I missing something?

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    4,108
    Answers
    342

    Default

    I came across this I hope it helps:
    http://lalexgraham.wordpress.com/201...g-windows-7-2/

  3. #3
    Sencha User
    Join Date
    Jun 2013
    Posts
    64
    Answers
    1

    Default

    Thanks but still i got no luck. There error still occurs.

    Itunes: Appname failed to install
    iPhone Con. Utility : Application does not have a valid signature

    even though i added the correct prov. profile and certificate.. on my packager,json

    Below is my packager.json

    Code:
    {
    
    	"applicationName":"TestApp",
    
    
    	"applicationId":"com.xxxx.TestApp",
    
    
    	"bundleSeedId":"xxxxxxxxxx",
    
    
    	"versionString":"1.0",
    
    
    	"versionCode":"1",
    
    
     "iconName":"icon.png",
        "icon": {
            "36":"resources/icons/Icon_Android36.png",
            "48":"resources/icons/Icon_Android48.png",
            "57":"resources/icons/Icon.png",
            "72":"resources/icons/Icon~ipad.png",
            "114":"resources/icons/[email protected]",
            "144":"resources/icons/[email protected]"
        },
    
    
    
    
    	"inputPath":"./build/TestApp/production",
    
    
    	"outputPath":"../build/",
    
    
    	"configuration":"Debug",
    
    
    	"platform":"iOS",
    
    
    	"deviceType":"Universal",
    
    
    	"certificatePath":"ios_development.p12",
        "certificatePassword":"xxxxx",
    	"certificateAlias":"iPhone Developer",
        "provisionProfile":"xxxxx.mobileprovision",
    	"notificationConfiguration":"",
    
    
    	"orientations": [
    		"portrait",
    		"landscapeLeft",
    		"landscapeRight",
    		"portraitUpsideDown"
    	]
    }
    what did you do on your side sir? have you make this working on your ios device in Windows?

    Thanks and Regards

  4. #4
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    4,108
    Answers
    342

    Default

    Try to run the following command from your xxxxx.app directory level
    Code:
    codesign -f -dvvv -s "iPhone Developer" xxxxx.app

  5. #5
    Sencha User
    Join Date
    Jun 2013
    Posts
    64
    Answers
    1

    Default

    Thanks , maybe that's the solution but we are using Windows 7 OS.

  6. #6
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    4,108
    Answers
    342

    Default

    Cue palm plant to forehead. Sorry about that.
    I have heard that their maybe a problem with the current version of Cmd
    Try updating to the current beta.
    sencha upgrade -b

  7. #7
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    4,108
    Answers
    342

    Default

    Any success with Cmd 4.0? I also came across the following on code signing on windows. I would suggest trying the windows equivalent of the command I posted earlier.
    http://langui.sh/2009/02/22/code-sig...x-and-windows/

  8. #8
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    4,108
    Answers
    342

    Default

    My colleague and I were able to successfully build a native iOS app on windows using Cmd 4.0. There was an issue with Cmd 3.1.2 creating signature files on both Mac and Windows.

Tags for this Thread

Posting Permissions

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