How do we manually fix “ResourceRules.plist: cannot read resources” error after xcode 6.1 upgrade?

后端 未结 6 1825
谎友^
谎友^ 2020-12-14 05:21

We are having the same issue found here, here, here and here

Basically we upgraded to xcode 6.1 and our build are getting the \"ResourceRules.plist: cannot read reso

6条回答
  •  南笙
    南笙 (楼主)
    2020-12-14 06:23

    We are using Unity + Jenkins for auto builds.

    You can achieve with post process cs scripts; however; for quick (and dirty fix) you can apply following bash command after Unity but before xcode:

    sed -i '' 's/CONFIGURATION_BUILD_DIR/CODE_SIGN_RESOURCE_RULES_PATH = "\$(SDKROOT)\/ResourceRules\.plist";\'$'\n                CONFIGURATION_BUILD_DIR/g' /Users/admin/Jenkins/workspace/PROJECTNAME/Build/PROJECTNAME/Unity-iPhone.xcodeproj/project.pbxproj
    

提交回复
热议问题