Skip to content

Commit d4e395f

Browse files
🚀 Version 25.10
2 parents fd24e81 + b8266b6 commit d4e395f

File tree

164 files changed

+3275
-1826
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

164 files changed

+3275
-1826
lines changed

DEVELOPER.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,11 @@ You can enable marketing mode by setting the `PHPMON_MARKETING_MODE` environment
7979

8080
## 🐛 Symbolication of crashes
8181

82-
If you have an archived build of the app and exported the DSYM, it is possible to symbolicate .ips crash logs.
82+
The easiest way to symbolicate crashes is to simply rename the file to `.crash`, and drag it into Xcode.
83+
84+
Starting with PHP Monitor 25.10, opt-in automatic crash reporting is now included with `PLCrashReporter` and a custom API endpoint. These crash logs can also be symbolicated in exactly the same way.
85+
86+
If you have an archived build of the app and exported the DSYM, it is possible to manually symbolicate `.ips` crash logs.
8387

8488
For example, given the following crash (from an .ips file):
8589

PHP Monitor.xcodeproj/project.pbxproj

Lines changed: 181 additions & 68 deletions
Large diffs are not rendered by default.

PHP Monitor.xcodeproj/xcshareddata/xcschemes/PHP Monitor EAP.xcscheme

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "2600"
3+
LastUpgradeVersion = "2610"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -30,7 +30,7 @@
3030
codeCoverageEnabled = "YES">
3131
<Testables>
3232
<TestableReference
33-
skipped = "NO"
33+
skipped = "YES"
3434
parallelizable = "NO"
3535
testExecutionOrdering = "random">
3636
<BuildableReference
@@ -53,7 +53,7 @@
5353
</BuildableReference>
5454
</TestableReference>
5555
<TestableReference
56-
skipped = "NO"
56+
skipped = "YES"
5757
parallelizable = "NO">
5858
<BuildableReference
5959
BuildableIdentifier = "primary"
@@ -67,8 +67,8 @@
6767
</TestAction>
6868
<LaunchAction
6969
buildConfiguration = "Debug.EA"
70-
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
71-
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
70+
selectedDebuggerIdentifier = ""
71+
selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"
7272
launchStyle = "0"
7373
useCustomWorkingDirectory = "NO"
7474
ignoresPersistentStateOnLaunch = "NO"

PHP Monitor.xcodeproj/xcshareddata/xcschemes/PHP Monitor Self-Updater.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 = "2600"
3+
LastUpgradeVersion = "2610"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

PHP Monitor.xcodeproj/xcshareddata/xcschemes/PHP Monitor.xcscheme

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "2600"
3+
LastUpgradeVersion = "2610"
44
version = "1.7">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -26,11 +26,16 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29-
shouldUseLaunchSchemeArgsEnv = "YES"
30-
shouldAutocreateTestPlan = "YES">
29+
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<TestPlans>
31+
<TestPlanReference
32+
reference = "container:tests/PHP Monitor.xctestplan"
33+
default = "YES">
34+
</TestPlanReference>
35+
</TestPlans>
3136
<Testables>
3237
<TestableReference
33-
skipped = "NO">
38+
skipped = "YES">
3439
<BuildableReference
3540
BuildableIdentifier = "primary"
3641
BlueprintIdentifier = "C4F7807825D7F84B000DBC97"
@@ -40,7 +45,7 @@
4045
</BuildableReference>
4146
</TestableReference>
4247
<TestableReference
43-
skipped = "NO"
48+
skipped = "YES"
4449
parallelizable = "YES">
4550
<BuildableReference
4651
BuildableIdentifier = "primary"
@@ -65,8 +70,8 @@
6570
</TestAction>
6671
<LaunchAction
6772
buildConfiguration = "Debug"
68-
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
69-
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
73+
selectedDebuggerIdentifier = ""
74+
selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"
7075
launchStyle = "0"
7176
useCustomWorkingDirectory = "NO"
7277
ignoresPersistentStateOnLaunch = "NO"
@@ -111,6 +116,11 @@
111116
value = ""
112117
isEnabled = "NO">
113118
</EnvironmentVariable>
119+
<EnvironmentVariable
120+
key = "SKIP_UPDATE_CHECK"
121+
value = ""
122+
isEnabled = "YES">
123+
</EnvironmentVariable>
114124
</EnvironmentVariables>
115125
</LaunchAction>
116126
<ProfileAction

PHP Monitor.xcodeproj/xcshareddata/xcschemes/Unit Tests.xcscheme

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "2600"
3+
LastUpgradeVersion = "2610"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -10,7 +10,8 @@
1010
buildConfiguration = "Debug"
1111
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
1212
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
13-
shouldUseLaunchSchemeArgsEnv = "YES">
13+
shouldUseLaunchSchemeArgsEnv = "YES"
14+
disableMainThreadChecker = "YES">
1415
<Testables>
1516
<TestableReference
1617
skipped = "NO">

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -593,15 +593,17 @@ If you would like to know more, consult [this issue](https://github.com/nicoverb
593593
<details>
594594
<summary><strong>The app has crashed!</strong></summary>
595595

596-
Please get in touch and open an issue. PHP Monitor shouldn't crash... (unless you are actually removing PHP *while* the app is running, that’s considered normal behaviour!)
596+
When you launch PHP Monitor again, a crash report can be submitted automatically. This is really helpful, please consider doing this!
597597

598-
If you would like to report a crash, please include the associated **log files** so I can find out what exactly went wrong.
598+
However, if you'd like to help out more, you can. You can also get in touch and open an issue with additional info.
599599

600-
To find the logs, take a look in `~/Library/Logs/DiagnosticReports` (in Finder) and see if there's any (log) files that start with "PHP Monitor".
600+
- First, you need the **crash report**. To find the crash report, take a look in `~/Library/Logs/DiagnosticReports` (in Finder) and see if there's any (log) files that start with "PHP Monitor". If you've accepted the automatic crash report, I should already have received this, but if you want to report a bug, please include it again.
601601

602-
Additionally, you can help me figure out even more information by sending me your verbose log for your latest session of PHP Monitor. Logging is disabled by default.
602+
- Additionally, you can help me figure out even more information by sending me your **verbose log for your latest session of PHP Monitor**. Since logging is disabled by default, you will need to turn it on. You can start extra verbose logging by running: `touch ~/.config/phpmon/verbose` and restarting PHP Monitor. You can find the latest log in: `~/.config/phpmon/last_session.log`. (This is only relevant if you have something crash that you can reliably reproduce.)
603603

604-
You can start extra verbose logging by running: `touch ~/.config/phpmon/verbose` and restarting PHP Monitor. You can find the latest log in: `~/.config/phpmon/last_session.log`. Please attach it to the relevant bug report.
604+
- If you can, in fact, easily reproduce the issue, providing me the **reproduction steps** is very helpful. I may ask you additional questions to help resolve the issue.
605+
606+
Any further information besides the crash report may help shed light on what's causing things to go wrong.
605607

606608
</details>
607609

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"colors" : [
3+
{
4+
"color" : {
5+
"color-space" : "srgb",
6+
"components" : {
7+
"alpha" : "1.000",
8+
"blue" : "0.362",
9+
"green" : "0.371",
10+
"red" : "0.362"
11+
}
12+
},
13+
"idiom" : "universal"
14+
},
15+
{
16+
"appearances" : [
17+
{
18+
"appearance" : "luminosity",
19+
"value" : "dark"
20+
}
21+
],
22+
"color" : {
23+
"color-space" : "extended-gray",
24+
"components" : {
25+
"alpha" : "1.000",
26+
"white" : "0.792"
27+
}
28+
},
29+
"idiom" : "universal"
30+
}
31+
],
32+
"info" : {
33+
"author" : "xcode",
34+
"version" : 1
35+
}
36+
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"colors" : [
3+
{
4+
"color" : {
5+
"color-space" : "srgb",
6+
"components" : {
7+
"alpha" : "1.000",
8+
"blue" : "0.180",
9+
"green" : "0.500",
10+
"red" : "1.000"
11+
}
12+
},
13+
"idiom" : "universal"
14+
},
15+
{
16+
"appearances" : [
17+
{
18+
"appearance" : "luminosity",
19+
"value" : "dark"
20+
}
21+
],
22+
"color" : {
23+
"color-space" : "srgb",
24+
"components" : {
25+
"alpha" : "1.000",
26+
"blue" : "0.426",
27+
"green" : "0.655",
28+
"red" : "1.000"
29+
}
30+
},
31+
"idiom" : "universal"
32+
}
33+
],
34+
"info" : {
35+
"author" : "xcode",
36+
"version" : 1
37+
}
38+
}

phpmon/Common/Command/ActiveCommand.swift

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)