Hubstaff's iPhone and Android time tracking app provides you with employee monitoring and mobile time tracking, whether you are using mobile or a Mac, Windows or Linux. Our time logger app is simple to use, lightweight, and runs in the background so you can take care of business without interruption. Printable Sample Letter of Resignation Form. Printable Sample Letter of Resignation Form. Professional Modern Creative Resume Template, MS Word for Mac + Pc, US Letter + A4, Best CV. Bewerbungsdesign: #createresumetemplate. Free Professional Resume Examples. Tools & Tips for internet marketing. Change the behavior of function keys on your Mac You can use the top row of keys on your Apple keyboard as standard function keys or to control built-in Mac features. If your Apple keyboard has icons printed on some of the keys on its top row, these keys can be used to perform the special features shown in each icon. If you are an old-hand at jailbreaking, then you will remember a useful tool named Cydia Impactor.It used to be the tool to use if you wanted to remove a jailbreak without affecting the iOS version you were running on your iOS device, thus allowing you to rejailbreak if you wanted to. AppAddict Tools is a powerful resign tool that runs on OS X. Main features: - Ability to resign cracked apps. - Zero fuss, auto cert & profile install. - Resign multiple apps at same time. - Drag & drop apps to be queued for resign. - Auto add resigned apps to iTunes.
Active3 months ago
I currently build all my applications with hudson using xcodebuild followed by a xcrun without any problems
I've received a couple of IPA files from different people that I would like to re-sign with a enterprise account instead of the corporate account (for the app store, or sometimes ad-hoc distributed).
My problem is that when I try to resign the app, it won't install on my device (and it should since it's a Enterprise build). The error message is on the device (not in iTunes) and it tells me simply that it couldn't install the app. No more information is given.
I've found some information, ( http://www.ketzler.de/2011/01/resign-an-iphone-app-insert-new-bundle-id-and-send-to-xcode-organizer-for-upload/ )
And this might be possible. The problem I'm facing is that it doesn't seem to embed the mobile provisioning profile as I do with my normal builds (using xcrun) is this possible to control with the codesign tool, or is it possible to re-sign with xcrun?
With my resign script i currently do
- unzip app.ipa
- appname=$(ls Payload)
- xcrun -sdk iphoneos PackageApplication -s '$provisioning_profile' '$project_dir/Payload/$appname' -o '$project_dir/app-resigned.ipa' --sign '$provisioning_profile' --embed '$mobileprovision'
I've looked in the resulting ipa file and it seems to be very similar to the original app. What files should really change here? I initially thought the the _CodeSignature/CodeResources would change, but the content looks pretty much exactly the same.
Pointers are much appreciated.
ErikErik4,00044 gold badges2323 silver badges4242 bronze badges
9 Answers
Finally got this working!
Tested with a IPA signed with cert1 for app store submission with no devices added in the provisioning profile. Results in a new IPA signed with a enterprise account and a mobile provisioning profile for in house deployment (the mobile provisioning profile gets embedded to the IPA).
Solution:
Unzip the IPA
Remove old CodeSignature
Replace embedded mobile provisioning profile
Re-sign
Re-package
Edit: Removed the Entitlement part (see alleys comment, thanks)
ErikErik4,00044 gold badges2323 silver badges4242 bronze badges
The answers to this question are a little out of date and missing potentially key steps, so this is an updated guide for installing an app from an external developer.
----- How to Resign an iOS App -----
Let's say you receive an app (e.g. MyApp.ipa) from another developer, and you want to be able to install and run it on your devices (by using ideviceinstaller, for example).
Prepare New Signing Assets
The first step is to attain a Provisioning Profile which includes all of the devices you wish to install and run on. Ensure that the profile contains a certificate that you have installed in your Keychain Access (e.g. iPhone Developer: Some Body (XXXXXXXXXX) ). Download the profile (MyProfile.mobileprovision) so you can replace the profile embedded in the app.
Next, we are going to prepare an entitlements file to include in the signing. Open up your terminal and run the following.
This will create an xml file describing your Provisioning Profile. Next, we want to extract the entitlements into a file.
Replace The Provisioning Profile and Resign App
If you are working with a .ipa file, first, unzip the app (if you have a .app instead, you can skip this step).
Your working directory will now contain
Payload/
and Payload/MyApp.app/
. Next, remove the old code signature files.Replace the existing provisioning profile (i.e. embedded.mobileprovision) with your own.
Now sign the app with the certificate included in your provisioning profile and the entitlements.plist that you created earlier.
IMPORTANT: You must also resign all frameworks included in the app. You will find these in
Payload/MyApp.app/Frameworks
. If the app is written in Swift or if it includes any additional frameworks these must be resigned or the app will install but not run.Snipping tool for macbook. How can the answer be improved?
You can now rezip the app.
Done
You may now remove the
grezPayload
directory since you have your original app (MyApp.ipa) and your resigned version (MyApp-resigned.ipa). You can now install MyApp-resigned.ipa on any device included in your provisioning profile.![Paint Paint](/uploads/1/2/4/8/124847503/949734848.jpg)
1,05811 gold badge1313 silver badges1919 bronze badges
I successfully followed this answer, but since entitlements have changed, I simply removed the
alleusalleus--entitlements 'Payload/Application.app/Entitlements.plist'
part of the second to last statement, and it worked like a charm.6,00722 gold badges1919 silver badges2121 bronze badges
Checked with Mac OS High Sierra and Xcode 10
Itool For Mac
You can simply implement the same using the application iResign.
Give path of 1).ipa
2) New provision profile
3) Entitlement file (Optional, add only if you have entitlement)
4) Bundle id
5) Distribution Certificate
You can see output .ipa file saved after re-sign
Simple and powerful tool
SaranjithSaranjith5,53811 gold badge3636 silver badges7777 bronze badges
None of these resigning approaches were working for me, so I had to work out something else.
In my case, I had an IPA with an expired certificate. I could have rebuilt the app, but because we wanted to ensure we were distributing exactly the same version (just with a new certificate), we did not want to rebuild it.
Instead of the ways of resigning mentioned in the other answers, I turned to Xcode’s method of creating an IPA, which starts with an .xcarchive from a build.
Paint Tool For Mac
- I duplicated an existing .xcarchive and started replacing the contents. (I ignored the .dSYM file.)
- I extracted the old app from the old IPA file (via unzipping; the app is the only thing in the Payload folder)
- I moved this app into the new .xcarchive, under
Products/Applications
replacing the app that was there. - I edited
Info.plist
, editingApplicationProperties/ApplicationPath
ApplicationProperties/CFBundleIdentifier
ApplicationProperties/CFBundleShortVersionString
ApplicationProperties/CFBundleVersion
Name
- I moved the .xcarchive into Xcode’s archive folder, usually
/Users/xxxx/Library/Developer/Xcode/Archives
. - In Xcode, I opened the Organiser window, picked this new archive and did a regular (in this case Enterprise) export.
The result was a good IPA that works.
Gary MakinGary Makin2,66411 gold badge1313 silver badges2424 bronze badges
With Fastlane sigh's resign option you can do this very easily.
You can download the profile using sigh also, just before the command.
VineethVineeth
Thank you, Erik, for posting this. This worked for me. I'd like to add a note about an extra step I needed. Within 'Payload/Application.app/' there was a directory named 'CACertChains' that contained a file named 'cacert.pem'. I had to remove the directory and the .pem to complete these steps. Thanks again! –
William PowerWilliam Power
Marián ČernýMarián Černý9,90122 gold badges4848 silver badges6565 bronze badges
If you have an app with extensions and/or a watch app and you have multiple provisioning profiles for each extension/watch app then you should use this script to re-sign the ipa file.
Here is an example of how to use this script:
You can include other extension provisioning profiles too by adding it with yet another -p option.
For me - all the provisioning profiles were signed by the same certificate/signing identity.
RPMRPM2,87311 gold badge2222 silver badges3434 bronze badges
protected by Community♦Nov 19 '13 at 13:56
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
Would you like to answer one of these unanswered questions instead?
Not the answer you're looking for? Browse other questions tagged iphonebuildcodesignipa or ask your own question.
Join the Apple Developer Program to reach customers around the world on the App Store for iPhone, iPad, Mac, Apple Watch, Apple TV, and iMessage, and on the Safari Extensions Gallery. You’ll also get access to beta software, advanced app capabilities, extensive beta testing tools, and app analytics.
Distribute your apps worldwide.
The App Store for iPhone, iPad, Mac, Apple Watch, Apple TV, and iMessage, makes it easy for over a billion customers around the world to discover and download your apps. There are no hosting fees and Apple handles all payment processing.
Get the latest betas.
The incredibly rapid adoption rate of new software by Apple customers means you’ll want to integrate the latest innovative Apple technologies into your apps quickly, so they will seamlessly integrate with the latest advances in macOS, iOS, watchOS, and tvOS. You’ll always be ready for what’s coming next as you create your most innovative apps ever.
Utilize advanced app capabilities.
Get access to cutting-edge Apple technologies that help you create useful and engaging user experiences. Integrate with Siri to let users can get things done using just their voice, use Apple Pay to sell a variety of items directly from within your app, enable your apps to store app data in iCloud, and much more.
Test Your Apps with TestFlight.
Invite users to test your iOS, watchOS, and tvOS apps before you release them on the App Store. With TestFlight Beta Testing in App Store Connect, you can share your beta builds with up to 10,000 external testers using just their email address or by sharing a public link.
Access App Analytics.
Measure user engagement, marketing campaigns, and monetization for your iOS apps and tvOS apps with App Analytics in App Store Connect. App Analytics has data you won’t find anywhere else and requires no technical implementation.
Learn more about App Analytics