--resource-rules has been deprecated in mac os x >= 10.10

后端 未结 8 705
执笔经年
执笔经年 2020-12-07 14:19

I tried to resign my ipa file with new provisioning profile on Mac Os 10.10 with iResign app but I got this warning: \"Warning: --resource-rules has been deprecated in Mac O

8条回答
  •  感动是毒
    2020-12-07 15:15

    Since Xcode 7, the Code Signing Resource Rules Path build setting must be left empty or else this warning is produced.

    Technical Note TN2206 provides the details:

    Resource Rules

    Systems before OS X Mavericks v10.9 documented a signing feature (--resource-rules) to control which files in a bundle should be sealed by a code signature. This feature has been obsoleted for Mavericks. Code signatures made in Mavericks and later always seal all files in a bundle; there is no need to specify this explicitly any more. This also means that the Code Signing Resource Rules Path build setting in Xcode should no longer be used and should be left blank.

    It is thus no longer possible to exclude parts of a bundle from the signature. Bundles should be treated as read-only once they have been signed.

提交回复
热议问题