Skip to content

XCode ​

应用上架流程 ​

XCode 每次构建新版本应用时,需要修改

XCode - Targets - General - Identity

  • version
  • build

两个值,其中 build 只能递增。

increase build value in releasing app SOP

Custom Xcode file template header ​

Test environment xcodebuild -version

txt
Xcode 26.2
Build version 17C52

Create or update $HOME/Library/Developer/Xcode/UserData/IDETemplateMacros.plist

xml
<?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>FILEHEADER</key>
      <string> </string>
   </dict>
</plist>

See also: https://stackoverflow.com/a/67137013

Swift Package Manager(SPM) is too slow ​

Use Tuist to create project and manage swift package dependencies.

NOTICE:

  • Xcode does not apply default proxy by default, use Tailscale enable global proxy for whole system.

Remove .xcodeproj folder from version control ​

Use Tuist to create project and manage swift package dependencies.

Released under the CC-BY-NC-4.0