skip to Main Content

We have an enterprise account, and till iOS 14 there were no issues, but as soon as user update their phones to iOS 15, they are getting this alert.

The Developer of this app needs to update it to work with this version of iOS

Now, this issue is coming only for enterprise apps running on iOS 15. I have done some research and found this article. https://developer.apple.com/documentation/xcode/using-the-latest-code-signature-format.

In here it states that

To check whether an app called MyApp.app has the new signature, you
can use the

codesign utility:
% codesign -dv /path/to/MyApp.app

Look in the output for a string such as CodeDirectory v=20500. For any
value of v less than 20400, you need to re-sign your app.

I did that and my output was indeed v=20400. I have signed the app using Xcode 12.5 running on Mac OS 11.2.3. I don’t think Apple documents are correct for this. (I could be wrong)

Can anyone please help and let me know, what exactly we need to do to get this issue fixed?

EDIT:
I was able to solve this issue by upgrading OS to Big Sur. Xcode version was 12.5.

6

Answers


  1. When you run codesign -d --verbose=5 your_app.app, how many lines do you see in the "page size" block? Do you see a -7= line? If so, does it contain no value (or 0)?

    If there is no -7= line (or it has no value) then your app does not include the DER entitlements and you will need to re-sign. You might need a new provisioning profile.

    Login or Signup to reply.
  2. I had same issue, use xcode 13.0 to build the ipa. It should work.

    Login or Signup to reply.
  3. Facing same issue, I have also go through using this and found helpful, read each and every steps carefully one of the solutions given on link will definitely work for you

    https://wilbertech.com/blog/index.php/2021/10/03/ios-app-needs-to-be-updated/

    Login or Signup to reply.
  4. I got same issue in my app and followed below step to resolve it.
    Xcode : 12.4
    Mac OS : 10.15.7

    In terminal run below command

    % codesign -s "Your Codesign Identity" -f –preserve-metadata –generate-entitlement-der /path/to/MyApp.app

    Also,Follow this link to get brief idea about this iOS related issue.
    % codesign -s "Your Codesign Identity" -f –preserve-metadata –generate-entitlement-der /path/to/MyApp.app

    https://developer.apple.com/documentation/xcode/using-the-latest-code-signature-format

    Login or Signup to reply.
  5. You must be getting a popup like this for your App.

    There may be two reasons for this.

    1:You are getting this error bcoz you are using old provisional profile, just need to regenerate the provisional profile and your app will work fine.

    2: You have added the arm64 in excluded architecture in build setting, architecture just remove arm64 from the excluded architecture and do it only for simulator.
    you can further check this link for 2nd reason.

    Xcode building for iOS Simulator, but linking in an object file built for iOS, for architecture 'arm64'

    Login or Signup to reply.
  6. In my case, I had this issue for iOS 15 and 16, no problem with iOS 13, we had not iOS 14 devices for testing. The problem appeared after implement a Framework, it was fixed by changing the embed option to Do Not Embed on General -> Frameworks, Libraries and Embedded Content

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search