Giter VIP home page Giter VIP logo

ota-tools's People

Contributors

fadookie avatar longwei avatar maitreyabuddha avatar mrkd avatar navanchauhan avatar nhelke avatar richardbronosky avatar someposer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ota-tools's Issues

Payload/MyApp.app: object file format unrecognized, invalid, or unsuitable

The first time I used your script, I got the following error:

Payload/MyApp.app: object file format unrecognized, invalid, or unsuitable

Googling, I discovered that on Mountain Lion, users had to set CODESIGN_ALLOCATE before executing codesign like so:

export CODESIGN_ALLOCATE="/Applications/Xcode.app/Contents/Developer/usr/bin/codesign_allocate"

I added this to your script, just before codesign is executed and it worked great!

Thanks so much for this script, it really saved me a lot of time!

Relative paths in arguments

Just in case anyone runs into this, ipasign seems to require absolute paths in arguments, and fails silently if relative path is supplied.

e.g.

./ipa_sign ./Downloads/app.ipa ./provisions/Huge_Enterprises.mobileprovision "iPhone Distribution: Huge Enterprises Inc."

does not work for me, but

./ipa_sign ~/Downloads/app.ipa ~/provisions/Huge_Enterprises.mobileprovision "iPhone Distribution: Huge Enterprises Inc."

does.

Simple fix but took me a little bit to figure out what was going on.

Security: unable to open / No such file or directory

I am getting the below error when running the script:

security: unable to open "/tmp/resign.com.name.apps.blah.0YZ7t/DistributionProfile.mobileprovision" for reading: No such file or directory

I'd read a comment on stack overflow where someone mentioned moving the cp line up earlier in the code, but brief experiments on that front didn't pay off.

Resigning for App Store distribution not working, get three errors when uploading

ERROR ITMS-90035: “Invalid Signature. The binary with bundle identifier ‘...’ at path [....app] contains an invalid signature. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). If you are certain your code signing settings are correct, choose “Clean All” in Xcode, delete the “build” directory in the Finder, and rebuild your release target.”
ERROR ITMS-90046: “Invalid Code Signing Entitlements. Your application bundle’s signature contains code signing entitlements that are not supported on iOS. Specifically, value ‘*’ for key ‘com.apple.developer.associated-domains’ in ‘Payload/....app/...’ is not supported.”
ERROR ITMS-90179: “Invalid Code Signing. The executable ‘Payload/....app/...’ must be signed with the certificate that is contained in the provisioning profile.”

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.