richardbronosky / ota-tools Goto Github PK
View Code? Open in Web Editor NEWA burgeoning collection of tools for Over-The-Air distribution of mobile applications.
A burgeoning collection of tools for Over-The-Air distribution of mobile applications.
Getting this message when I use ipa_sign ...
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!
Please add BundleShortVersionString to plist file in ipa_ota, currently it is always 2.0
I have an IPA which was signed by a developer certificate. I wish to resign and update the bundle ID using the ipa_sign tool. Is that possible?
Thanks
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.
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.
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.”
Any ideas for this error?
$ ~/ota-tools/ipa_ota app.ipa http://domain.com/path1/path2/
BASE $BASE
Print: Entry, ":CFBundleDisplayName", Does Not Exist
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.