iReSign
iReSign copied to clipboard
This bundle is invalid - Your archive contains paths that are not allowed: ( "entitlements.plist" )
Hello. I used iResign in the past, and successfully submitted apps signed with it to the app store. However, since today I'm going to update one of my apps, I'm getting my app rejected with this reason:
This bundle is invalid - Your archive contains paths that are not allowed: ("entitlements.plist")
Of course I don't have the source code, but only the .ipa.
What can I do?
We just faced this today. We had provided the mobileprovision file to re-sign an already signed app and that caused the code to write an entitlements.plist file. What we did was to not provide a path to the mobileprovision file and that did not write the entitlements.plist file inside the bundle.
@maciekish please look into not writing the entitlements.plist file into the re-signed zip. From what I can see in docs, the file is not to be included in the ipa.
Any updates on this issue? Facing the same issue. Thanks.
I have had this issue as well. I'd love to see the solution
@lyndsey-ferguson are you sure it's not needed? If I leave out the path to the Provisioning Profile, I get: ERROR ITMS-90166: "Missing Code Signing Entitlements. No entitlements found in bundle 'com.example.app' for executable 'Payload/MyApp.app/MyApp'.""
We didn't have any problems sending it to the App store without it. Perhaps your app actually includes its own entitlements file? If so, that seems to mean that resign should point to that file.
I am also getting this issue and do not know how to resign so I can upload via Application Loader. Any ideas?
It is an intermittent bug in iResign which causes it to include entitlments.plist in application bundle. It is not even plist file but a dump of entitlements keys/values.
Here is a workaround, which SHOULD work:
- Extract the ipa into a directory. Assuming your app is named as MyApp.ipa $ mkdir extract $ unzip -qo MyApp.ipa -d extract
- You will notice the entitlements.plist at root of extract directory. $ cd extract $ ls BCSymbolMaps Payload SwiftSupport Symbols entitlements.plist
- Delete the entitlements.plist and repackage your ipa $ rm entitlements.plist $ zip -qry ../MyApp.Fixed.ipa
After this, try submitting the MyApp.Fixed.ipa thru Application Loader. PM me if you have any resigning issues.
I am no longer trying to use iResign, but instead found FastLane, specifically sigh resign
, to be a better and more comprehensive solution.
Thanks for the help however!