Resigning iOS app trouble.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Skoll
    New Member
    • Jun 2011
    • 5
    • 4.1.x

    Resigning iOS app trouble.

    Getting the following output error;

    #############################################################
    # Application name: 233aba61749
    # Application identifier: 92MARD3HFT
    # Distribution certificate: Chris Marshall
    # Provisioning profile ID: VCA_Mobile_Profile.mobileprovision
    #############################################################

    Copying provisioning profile into the bundle...

    Creating the entitlements file...

    Signing the application with the new certificate...
    233aba61749.app: replacing existing signature
    233aba61749.app: cannot find code object on disk

    Operation Done!


    Any ideas what is wrong?
  • Stefano Acerbetti
    Former Lead Mobile Developer
    • Sep 2010
    • 113
    • 4.0.x

    #2
    did you copy the app in the tool folder where the script is unzipped?

    Comment

    • Skoll
      New Member
      • Jun 2011
      • 5
      • 4.1.x

      #3
      This is what the folder looks like right now;

      Click image for larger version

Name:	Screen shot 2011-06-20 at 6.17.23 PM.png
Views:	1
Size:	32.4 KB
ID:	3682619

      Comment

      • SteveLV702
        Senior Member
        • Aug 2009
        • 1466

        #4
        which way did you run it

        ./resign.sh 233aba61749.app 92MARD3HFT "Chris Marshall" VCA_Mobile_Profile.mobileprovision

        or

        ./resign.sh 233aba61749 92MARD3HFT "Chris Marshall" VCA_Mobile_Profile.mobileprovision

        If you did the first one thats wrong do the second one...
        ------------------------------------------
        Steve
        DM Mobile Lite (iTunes)(Android)(Blackberry)
        CN Mobile Lite (iTunes)(Android)(Blackberry)
        TheFaFClan Mobile Lite (iTunes)(Android)(Blackberry)
        Audi Spirit Mobile Lite (iTunes)(Android)(Blackberry)

        Comment

        • Skoll
          New Member
          • Jun 2011
          • 5
          • 4.1.x

          #5
          The second one.

          If you run it as the first one you get 233aba61749.app.app in the output. I made that mistake the first time I ran it.

          Comment

          • Stefano Acerbetti
            Former Lead Mobile Developer
            • Sep 2010
            • 113
            • 4.0.x

            #6
            oh... do you have XCode installed in your system ? you need it because it's also installing the signing tools

            Comment

            • Skoll
              New Member
              • Jun 2011
              • 5
              • 4.1.x

              #7
              Xcode is installed;
              Click image for larger version

Name:	Screen shot 2011-06-21 at 12.42.40 PM.png
Views:	1
Size:	19.7 KB
ID:	3682645

              Comment

              • Stefano Acerbetti
                Former Lead Mobile Developer
                • Sep 2010
                • 113
                • 4.0.x

                #8
                is it installed in the default folder ? Make sure this path exists or you have to change the resign script

                export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate

                Comment

                • Skoll
                  New Member
                  • Jun 2011
                  • 5
                  • 4.1.x

                  #9
                  That was the issue. Well done sir.

                  All I did was re-install xcode. Not sure why it didn't install to the correct directory in the first place.

                  Comment

                  widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                  Working...