Skip to content

Add iOS scaffold option#30

Open
Unknownamae wants to merge 1 commit into
bigearth:masterfrom
Unknownamae:add-ios-scaffold
Open

Add iOS scaffold option#30
Unknownamae wants to merge 1 commit into
bigearth:masterfrom
Unknownamae:add-ios-scaffold

Conversation

@Unknownamae
Copy link
Copy Markdown

@Unknownamae Unknownamae commented May 11, 2026

Summary

  • Adds ios to the bitbox new --scaffold option description.
  • Maps --scaffold ios to https://github.com/Unknownamae/bitbox-scaffold-ios.git.
  • The scaffold repo is a minimal native iOS WKWebView project that loads local web assets and displays Hello BITBOX with a generated 128-bit mnemonic using bitbox-cli/lib/bitbox-cli.
  • The scaffold now includes the generated browser bundle and package lock, so the Xcode project can run immediately after cloning.

Fixes #13.

Scaffold repo

https://github.com/Unknownamae/bitbox-scaffold-ios

Verification

  • node -c index.js
  • In scaffold repo: node -c BitboxScaffoldIOS/www/app.js
  • In scaffold repo: npm install
  • In scaffold repo: npm run build:web
  • In scaffold repo: plutil -lint BitboxScaffoldIOS/Info.plist
  • In scaffold repo: xcodebuild -list -project BitboxScaffoldIOS.xcodeproj lists the BitboxScaffoldIOS target and scheme.
  • In scaffold repo: xcodebuild -project BitboxScaffoldIOS.xcodeproj -scheme BitboxScaffoldIOS -configuration Debug -sdk iphonesimulator -derivedDataPath /tmp/BitboxScaffoldIOSDerivedData build succeeds.

Bounty

This is for the $100 BCH bounty in #13.

Payment details:

  • BCH: 1NtNxkDuVNcmZhUXAwtm6ZrXvNNB1AqZFp
  • Bitcoin: 3DcAQScPshdPCCPRXFjKUjyPFXHpWWpmWp
  • Solana: HaCY1XatuyPB5Nrp95pGcRPjdm9SRVr4SEzLQeNZ5h4T
  • PayPal fallback if acceptable: yacinemeskpro@gmail.com

@Unknownamae
Copy link
Copy Markdown
Author

Small scaffold hardening update: the iOS scaffold repo now includes the generated Browserify bundle and package-lock, fixes the BITBOX import path to match the published npm package, and passes a full iOS simulator Debug build with xcodebuild. Commit: Unknownamae/bitbox-scaffold-ios@72b4283

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create iOS Scaffold

1 participant