Bypassing code sign with xcode 4.5 for iOS6

后端 未结 4 1456
一整个雨季
一整个雨季 2020-12-09 07:22

We used to modify the SDKSetting.plist to allow the build of unsigned apps, by setting CODE_SIGNING_REQUIRED to NO.

But since xcode 4.5, th

相关标签:
4条回答
  • 2020-12-09 07:35

    sudo cp /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/SDKSettings.plist ~/Downloads
    
    sudo chmod 777 ~/Downloads/SDKSettings.plist
    
    • open ~/Downloads/SDKSettings.plist

    • Edit in the popup window of XCode

    sudo mv ~/Downloads/SDKSettings.plist /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/SDKSettings.plist
    
    • restart xcode
    0 讨论(0)
  • Rather than editing SDKSettings.plist you can also just pass xcodebuild an argument of CODE_SIGNING_REQUIRED=NO.

    0 讨论(0)
  • 2020-12-09 07:46

    First quit Xcode,

    Then in terminal execute

    sudo vim /Applications/Xcode.app/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/SDKSettings.plist
    

    Navigate using arrow keys (or k and j) then press i to edit. Make your changes, then press escape followed by :wq

    Start Xcode

    0 讨论(0)
  • 2020-12-09 07:47

    I managed to edit the file from another XCode on another computer.

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