Try the app locally

Fixes #793
This commit is contained in:
Davide 2025-01-13 12:32:47 +01:00
parent a37075279d
commit 7841a2c4e4
No known key found for this signature in database
GPG Key ID: A48836171C759F5E
2 changed files with 7 additions and 4 deletions

View File

@ -4,8 +4,8 @@
import PackageDescription
let environment: Environment
//environment = .production
environment = .onlineDevelopment
environment = .production
//environment = .onlineDevelopment
enum Environment {
case localDevelopment

View File

@ -50,9 +50,12 @@ Download the app codebase locally:
For everything to work properly, you must comply with all the capabilities and entitlements in the main app and the tunnel extension target. Therefore, you must update the `Config.xcconfig` file according to your developer account.
To eventually test the app, open `Passepartout.xcodeproj` in Xcode and run the `Passepartout` target.
To test the app on your Mac or iOS/tvOS Simulator:
**WARNING: SwiftPM package resolution will fail because PassepartoutKit is a private repository, as it's not ready for public use yet.** [Follow updates here](https://github.com/passepartoutvpn/passepartout/issues/793).
- Open `Passepartout.xcodeproj` in Xcode
- Edit `Packages/PassepartoutKit-Framework/Package.swift`
- Set `environment = .onlineDevelopment`
- Run the `Passepartout` target
## License