Skip to content

Latest commit

 

History

History
6 lines (6 loc) · 1.08 KB

File metadata and controls

6 lines (6 loc) · 1.08 KB
  • Use Xcode at /Applications/Xcode.app/, if not found, then try /Applications/Xcode-16.4.0.app/
  • Must compile for macOS 12. Use #available / @available to adopt newer APIs (e.g. macOS 13, 14, 26) while maintaining macOS 12 compatibility, with graceful fallbacks for older versions.
  • AI related features debug log planet-ai-debug.log can be found at ~/Library/Containers/xyz.planetable.Planet/Data/tmp/planet-ai-debug.log
  • Sandbox-safe app logs should be written with NSTemporaryDirectory(); in Planet this resolves under ~/Library/Containers/xyz.planetable.Planet/Data/tmp/ (for example planet-ai-debug.log, video.log)
  • For broken SwiftPM/Xcode derived data under /tmp/planet-derived (for example missing Sparkle.xcframework), remove /tmp/planet-derived, run xcodebuild -resolvePackageDependencies -onlyUsePackageVersionsFromResolvedFile -project Planet.xcodeproj -scheme "Planet" -derivedDataPath /tmp/planet-derived, then rebuild
  • When modifying Xcode project files (.xcodeproj/project.pbxproj), use the xcodeproj Ruby gem instead of editing the pbxproj file directly.