MihailPreis / xcpnc

A small command-line tool for get files not contained in an xcode project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xcpnc

A small command-line tool for get files not contained in an xcode project.

Support .swift, .h, .m and .c source files.

Instalation

Requires Xcode 11.4+

curl -Ls https://raw.githubusercontent.com/MihailPreis/xcpnc/main/Scripts/install | bash

Example

find Sources \
    \( -name "*.swift" -o -name "*.h" -o -name "*.m" -o -name "*.c" \) \
    -a ! -path "*/Dependencies/*" \
    -a ! -path "*/Resources/*" \
    -print0 | \
    xcpnc -0 "Some.xcodeproj" | \
    xargs -I {} rm -f {}

About

A small command-line tool for get files not contained in an xcode project.


Languages

Language:Swift 57.9%Language:Shell 42.1%