hane
v1.0.0
Published
```ts import { sign } from "hane";
Downloads
6
Readme
Hane
import { sign } from "hane";
await sign({
input: "/path/to/MyApp.ipa",
privateKey: "/path/to/key.p12",
provisioningProfile: "/path/to/profile.mobileprovision",
password: process.env.P12_PASSWORD,
output: "/tmp/MyApp-signed.ipa",
force: true,
});Build prerequisites
- A C++17 compiler toolchain compatible with Node.js
- OpenSSL headers and libraries discoverable via
pkg-config - zlib (normally available on macOS and Linux)
Run bun install to compile. To rebuild only the native target use:
bun build:nativeWindows (x64) notes
- Install the Visual Studio 2022 Build Tools with the “Desktop development with C++” workload.
- Use Node.js 20+ and run installs from a Developer PowerShell so MSVC is on
PATH. - The repository bundles the required OpenSSL static libraries under
vendor/[lib]/build/windows/vs2022/lib(currently x64 only).
