iOS开发遇到的问题及解决记录

iOS开发遇到的问题及解决记录

  • Xcode 12.5 “code signature version is no longer supported”
    Apple has changed the codesign signature to include DER encoded entitlements in addition to the plist encoded entitlements. This additional DER encoded entitlements section is required in iOS 15 and becomes the default behavior of codesign in the latest Xcode. To use codesign on an older machines with an older version of Xcode add the --generate-entitlement-der flag to your call to codesign. If signing through Xcode, you can add this flag to the OTHER_CODE_SIGN_FLAGS setting in the Build Settings tab.
    from here: Stack Overflow

  • Skipping duplicate build file
    解决办法:How to fix “Skipping duplicate build file” warning in Xcode

  • Xcode 12 Error - Failed to install one or more provisioning profiles on the device
    解决办法:Open Devices and Simulators and unpair all paired devices, thats it.

你可能感兴趣的:(iOS开发,ios,xcode)