-
Notifications
You must be signed in to change notification settings - Fork 0
Building from Source
Ade Ramdani edited this page May 26, 2026
·
1 revision
| Tool | Version |
|---|---|
| macOS | 15 Sequoia or later |
| Xcode | 16.0+ |
| Swift | 6.0 |
An Apple Developer account is required for code signing (free tier works for local development).
git clone https://github.com/aderamdani/NetUtil.git
cd NetUtil
open NetUtil.xcodeproj- Open
NetUtil.xcodeprojin Xcode - Select the NetUtil target
- Go to Signing & Capabilities
- Set Team to your Apple Developer account
- Bundle identifier can stay as
com.aderamdani.NetUtilor change it
Required for Network.framework and CoreWLAN entitlements.
Press ⌘R or select Product → Run.
The app launches as a standard macOS window app. First launch may trigger a network permission prompt.
xcodebuild \
-scheme NetUtil \
-configuration Release \
-destination 'platform=macOS' \
buildOutput in ~/Library/Developer/Xcode/DerivedData/.
Requires create-dmg:
brew install create-dmgBuild the app archive first:
xcodebuild \
-scheme NetUtil \
-configuration Release \
-archivePath build/NetUtil.xcarchive \
archiveExport the app:
xcodebuild \
-exportArchive \
-archivePath build/NetUtil.xcarchive \
-exportPath build/export \
-exportOptionsPlist ExportOptions.plistCreate DMG:
mkdir -p dist
create-dmg build/export/NetUtil.app dist/ 2>/dev/null || true
mv dist/*.dmg dist/NetUtil-$(git describe --tags --abbrev=0).dmgswift generate_icon.swiftOutputs all required icon sizes (16–1024 px) to NetUtil/Assets.xcassets/AppIcon.appiconset/.
NetUtil.entitlements:
<key>com.apple.security.app-sandbox</key><true/>
<key>com.apple.security.network.client</key><true/>com.apple.security.network.client is required for all outbound connections. App Sandbox is required for Mac App Store distribution.