vi4m / calendarsync

OSX calendar synchronization script
3 stars 0 forks source link

brew install vi4m/repo/calendarsync results in error without xcode #1

Open simonkotwicz opened 2 years ago

simonkotwicz commented 2 years ago
warning: Failed creating default configuration location, Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “configuration” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/user/Library/org.swift.swiftpm/configuration, NSUnderlyingError=0x600001d29ce0 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
warning: Failed creating default cache location, Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “org.swift.swiftpm” in the folder “Caches”." UserInfo={NSFilePath=/Users/user/Library/Caches/org.swift.swiftpm, NSUnderlyingError=0x600001d2a910 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
error: terminated(72): /usr/bin/xcrun --sdk macosx --find xctest output:
    xcrun: error: unable to find utility "xctest", not a developer tool or in PATH

Shouldn't this script be usable without xcode?

vi4m commented 1 year ago

Unfortunately, the newer version of XCode requires entitlements, which are not supported in Swift Package Manager.

You can copy over this script, create new XCode project, and compile it.

Note: I will check if the newer swift package manager allows for that.