Skip to content

Commit e8e5586

Browse files
committed
2 parents d6b4801 + d56e9f1 commit e8e5586

File tree

4 files changed

+27
-5
lines changed

4 files changed

+27
-5
lines changed

CanaryiOS/CanaryiOS.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@
2424
/* End PBXBuildFile section */
2525

2626
/* Begin PBXCopyFilesBuildPhase section */
27-
E15FA8A1288748BC002E5E04 /* Embed App Extensions */ = {
27+
E15FA8A1288748BC002E5E04 /* Embed Foundation Extensions */ = {
2828
isa = PBXCopyFilesBuildPhase;
2929
buildActionMask = 2147483647;
3030
dstPath = "";
3131
dstSubfolderSpec = 13;
3232
files = (
3333
);
34-
name = "Embed App Extensions";
34+
name = "Embed Foundation Extensions";
3535
runOnlyForDeploymentPostprocessing = 0;
3636
};
3737
/* End PBXCopyFilesBuildPhase section */
@@ -137,7 +137,7 @@
137137
E19C17142835826100B29794 /* Sources */,
138138
E19C17152835826100B29794 /* Frameworks */,
139139
E19C17162835826100B29794 /* Resources */,
140-
E15FA8A1288748BC002E5E04 /* Embed App Extensions */,
140+
E15FA8A1288748BC002E5E04 /* Embed Foundation Extensions */,
141141
);
142142
buildRules = (
143143
);
@@ -161,7 +161,7 @@
161161
attributes = {
162162
BuildIndependentTargetsInParallel = 1;
163163
LastSwiftUpdateCheck = 1340;
164-
LastUpgradeCheck = 1340;
164+
LastUpgradeCheck = 1400;
165165
TargetAttributes = {
166166
E19C17172835826100B29794 = {
167167
CreatedOnToolsVersion = 13.4;

CanaryiOS/CanaryiOS.xcodeproj/xcshareddata/xcschemes/CanaryiOS.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1340"
3+
LastUpgradeVersion = "1400"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

CanaryiOS/CanaryiOS/Models/CanaryResults.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ struct ResultDocument: Transferable
3838
}
3939
}
4040

41+
42+
// MARK: In an actual app you should not use this to display results as the backing library could change the way the results file is formatted in the future which would break this struct and any views using it to display results.
4143
struct Results: Identifiable
4244
{
4345
let id: UUID

readme.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
# CanaryiOS
2+
3+
An iOS library designed to power iOS apps. Based on the [original project](https://github.com/OperatorFoundation/CanaryLibrary.git) written in Swift.
4+
5+
Canary is a tool for testing transport connections and gathering the packets for analysis.
6+
7+
Canary will run a series of transport tests based on the configs that you provide. It is possible to test each transport on a different transport server based on what host information is provided in the transport config files.
8+
9+
Currently only [Shadow](https://github.com/OperatorFoundation/ShapeshifterAndroidKotlin.git) tests are supported. Replicant support is underway, and will be capable of mimicking other transports when it is complete.
10+
11+
## Generate Shadow config files
12+
-Go to: [ShadowSwift](https://github.com/OperatorFoundation/ShadowSwift.git).
13+
14+
## Running Canary
15+
- Transport configs should include their transport server IP and port, and should include the transport name in the name of the file.
16+
- Canary client config files must be saved in the file management system of the device. Config files must conform to the following convention:
17+
18+
{"serverIP":"127.0.0.1","password":"enterYourClientConfigPassword","cipherName":"DarkStar","port":1234}
19+
20+
-Once configured, Canary iOS allows users to run tests, view results, and share results.
121

222
Dependencies:
323
https://github.com/marmelroy/FileBrowser

0 commit comments

Comments
 (0)