* Extract Tor into a separate module
* Add Tor package as a dependency for iOS & macOS targets
* Move `tor-nolzma.xcframework` inside Tor
* Remove `libz` from Frameworks as its linked in Tor
* Remove stray `.gitkeep` from macOS target membership
* Fix missing import and access control for modularized Tor
- Add import Tor to NetworkActivationService
- Make TorManager.shutdownCompletely() public for external access
* Fix tor-nolzma.xcframework structure for Xcode builds
- Add missing Info.plist files to all framework slices
- Restructure macOS framework to use deep bundle format (Versions/)
- Keep iOS frameworks as shallow bundles (standard for iOS)
This fixes the Xcode build errors while maintaining SPM compatibility.
* Remove stale xcframework references from Xcode project
Xcode cleaned up old direct references to tor-nolzma.xcframework
since it's now managed internally by the Tor Swift package.
---------
Co-authored-by: jack <jackjackbits@users.noreply.github.com>
* Update .gitignore to not ignored shared settings
`xcshareddata/` should be added to the repo to sync the scheme settings (like running parallel tests or turning on code coverage…)
* Add `bitchat (iOS)` shared scheme
* Parallelized and randomized test execution
* Gather code coverage for `bitchat_iOS` target
* Move LocalizationCatalogTests out of Localization/
SPM is treating all the files under Localization as a resource as per the Package.swift, hence it’s not even building it
* Use a class object vs struct to fix build issue
* Explicitly check that the output is not a l10n key
* Remove skipped test
* Extract `processNostrMessage` into a function
* `updateChannelActivityTimeThenSend` function
* Break down / flatten `beginGeohashSampling`
* Extract `subscribeNostrEvent` into a function
* Break down / flatten `resubscribeCurrentGeohash`
* Extract BitchatMessage into a separate file
* Convert `fromBinaryPayload` to `convenience init?`
* Extract message dedup into an extension
* Remove dead `formatMessageContent`
* Minor refactor of timestamp and username formatting
* Remove dead `getSenderColor`
* Extract MessagePadding into a separate file
* Extract BitchatPacket into a separate file
* Extract ReadReceipt into a separate file
* Extract NoisePayload into a separate file
* Remove unnecessary import
* Extract peer-seed color calculation out
* Extract `handleDeliveredReadReceipt` to a new function
* Extract `handlePrivateMessage` to a new function
* Separate `delivered` and `readReceipt` functions
* Extract `handleGiftWrap` into a function
* Extract `subscribeToGeoChat` into a function
* Minor cleanup
* Extract `handleNostrEvent` into a function
* Minor cleanup
* Create `sendGeohash` function + minor cleanup
* Extract sending geohash dm into a function
* Check for blocks before trying to send a DM
* Extract BitchatMessage into a separate file
* Convert `fromBinaryPayload` to `convenience init?`
* Extract message dedup into an extension
* Remove dead `formatMessageContent`
* Minor refactor of timestamp and username formatting
* Remove dead `getSenderColor`
* Extract MessagePadding into a separate file
* Extract BitchatPacket into a separate file
* Extract ReadReceipt into a separate file
* Extract NoisePayload into a separate file
* Remove unnecessary import
* Extract BitchatMessage into a separate file
* Convert `fromBinaryPayload` to `convenience init?`
* Extract message dedup into an extension
* Remove dead `formatMessageContent`
* Minor refactor of timestamp and username formatting
* Remove dead `getSenderColor`
* Create configs files with basic settings populated
* Add Configs and set the global Debug/Release settings
* Update build settings to be read from the configs
* Remove `xcodegen`’s `project.yml`
* Configurable and dynamic bundle and group ids
* Simplified local development with custom Team IDs
* Remove unused LocationNotesSheet.swift
* Add README.md to bitchatTest group to mirror the folder
* Convert bitchat, Tests, ShareExtension to folders
* Update Project Format to Xcode 16.3 (latest)
* SPM Test target + Github Action to build and test
Because the tests are XCTests `swift test` runs them first and then runs another batch of empty tests which results in "0 tests" at the end of the report - https://github.com/swiftlang/swift-package-manager/issues/8529#issuecomment-2815711345
* Fix dependency and library issues + handle mixed languages
`include` folder has to be next to the `*.c` file for it to work