Build automation tools for creating ePost iOS XCFrameworks.
# Build for simulator (fast, for local development)
make debug-simulator
# Build for device only
make debug-device
# Build for device + simulator
make debug-all
# Release build + publish to Artifactory
make release
# Clean all build artifacts
make cleanAll paths and settings are centralized in config.sh. Scripts automatically source this file.
Debug configuration:
DEBUG_CONFIG=1 make debug-simulatorconfig.sh- Centralized configuration (paths, framework names, helpers)create-xcframework.sh- Core XCFramework builderrelease.sh- Release workflow (build + publish)debug.sh- Debug builds with platform optionspublish_to_artifactory.sh- Artifactory publishingcopy-resource-bundle.sh- Resource bundle managementinject-resource-accessor.sh- Resource accessor injectionsetup.sh- Initial setup script
build/
├── DerivedData/ # Xcode build artifacts
└── logs/ # Build logs
../ePostSDK/
├── ePostSDK/
│ └── ePostSDK.xcframework
└── ePostPushNotificationSDK/
└── ePostPushNotificationSDK.xcframework
- Xcode 14.0+
- iOS 13.0+ deployment target
- Optional: xcbeautify or xcpretty for formatted output
#!/usr/bin/env bash
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "${SCRIPT_DIR}/config.sh"
# Now use centralized config
echo "Building to: ${BUILD_DIR}"
echo "XCFramework output: ${XCFRAMEWORK_OUTPUT_DIR}"