Xcode 4.1 Code Signing Issue

后端 未结 1 1578
夕颜
夕颜 2021-02-19 17:15

I\'ve read through many threads and can\'t find anything like my issue here. I think that this is a simple fix, but I just can\'t seem to find the answer. I\'m using Xcode 4.1

相关标签:
1条回答
  • 2021-02-19 17:26

    I face the same problem. After reading your message I investigated a little bit.

    It looks like during the building process the .xcent file is generated from the file located at /Developer/Platforms/MacOSX.platform/Entitlements.plist (it may also be located in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Entitlements.plist).

    I edited this file and replaced "application-identifier" by "com.apple.application-identifier". So now the .xcent file contains only:

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
        <key>com.apple.application-identifier</key>
        <string>33R9UFHX3C.com.mycompany.myapp</string>
    </dict>
    </plist>
    

    However I still face a invalid binary error when I build and upload it.

    EDIT: it actually works. (I had another non-related issue)

    0 讨论(0)
提交回复
热议问题