Skip to content

feat: Support Apple push live activity notifications #702

feat: Support Apple push live activity notifications

feat: Support Apple push live activity notifications #702

Triggered via pull request October 2, 2024 23:56
Status Failure
Total duration 4m 15s
Artifacts

ci.yml

on: pull_request
Matrix: test
xcode-test-5_7
0s
xcode-test-5_7
docs
0s
docs
cocoapods
0s
cocoapods
Fit to window
Zoom out
Zoom in

Annotations

39 errors and 16 warnings
test (platform=iOS\ Simulator,OS=17.5,name=iPhone\ 15\ Pro\ Max, test): ParseSwift.playground/Pages/9 - Files.xcplaygroundpage/Contents.swift#L197
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
test (platform=iOS\ Simulator,OS=17.5,name=iPhone\ 15\ Pro\ Max, test): Tests/ParseSwiftTests/ParseRelationTests.swift#L115
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
test (platform=iOS\ Simulator,OS=17.5,name=iPhone\ 15\ Pro\ Max, test): Tests/ParseSwiftTests/ParseRelationTests.swift#L150
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
test (platform=iOS\ Simulator,OS=17.5,name=iPhone\ 15\ Pro\ Max, test): Tests/ParseSwiftTests/ParseRelationTests.swift#L168
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
test (platform=iOS\ Simulator,OS=17.5,name=iPhone\ 15\ Pro\ Max, test): Tests/ParseSwiftTests/ParseRelationTests.swift#L200
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
test (platform=iOS\ Simulator,OS=17.5,name=iPhone\ 15\ Pro\ Max, test): Tests/ParseSwiftTests/ParseRelationTests.swift#L309
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
test (platform=iOS\ Simulator,OS=17.5,name=iPhone\ 15\ Pro\ Max, test): Tests/ParseSwiftTests/ParseRelationTests.swift#L428
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
test (platform=iOS\ Simulator,OS=17.5,name=iPhone\ 15\ Pro\ Max, test): Tests/ParseSwiftTests/ParseRelationTests.swift#L491
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
test (platform=iOS\ Simulator,OS=17.5,name=iPhone\ 15\ Pro\ Max, test): Tests/ParseSwiftTests/ParseRelationTests.swift#L584
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
test (platform=iOS\ Simulator,OS=17.5,name=iPhone\ 15\ Pro\ Max, test): Tests/ParseSwiftTests/IOS13Tests.swift#L126
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
test (platform=watchOS\ Simulator,name=Apple\ Watch\ Series\ 9\ \(41mm\), build)
The job was canceled because "platform_iOS__Simulator_O" failed.
test (platform\=tvOS\ Simulator,OS=17.5,name\=Apple\ TV, test)
The job was canceled because "platform_iOS__Simulator_O" failed.
test (platform\=tvOS\ Simulator,OS=17.5,name\=Apple\ TV, test): ParseSwift.playground/Pages/9 - Files.xcplaygroundpage/Contents.swift#L197
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
test (platform\=tvOS\ Simulator,OS=17.5,name\=Apple\ TV, test): Tests/ParseSwiftTests/ParseRelationTests.swift#L115
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
test (platform\=tvOS\ Simulator,OS=17.5,name\=Apple\ TV, test): Tests/ParseSwiftTests/ParseRelationTests.swift#L150
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
test (platform\=tvOS\ Simulator,OS=17.5,name\=Apple\ TV, test): Tests/ParseSwiftTests/ParseRelationTests.swift#L168
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
test (platform\=tvOS\ Simulator,OS=17.5,name\=Apple\ TV, test): Tests/ParseSwiftTests/ParseRelationTests.swift#L200
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
test (platform\=tvOS\ Simulator,OS=17.5,name\=Apple\ TV, test): Tests/ParseSwiftTests/ParseRelationTests.swift#L309
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
test (platform\=tvOS\ Simulator,OS=17.5,name\=Apple\ TV, test): Tests/ParseSwiftTests/ParseRelationTests.swift#L428
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
test (platform\=tvOS\ Simulator,OS=17.5,name\=Apple\ TV, test): Tests/ParseSwiftTests/ParseRelationTests.swift#L491
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
test (platform\=tvOS\ Simulator,OS=17.5,name\=Apple\ TV, test): Tests/ParseSwiftTests/ParseRelationTests.swift#L584
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
test (platform\=tvOS\ Simulator,OS=17.5,name\=Apple\ TV, test): Tests/ParseSwiftTests/IOS13Tests.swift#L126
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
test (platform=visionOS\ Simulator,OS=1.2,name=Apple\ Vision\ Pro, build)
The job was canceled because "platform_iOS__Simulator_O" failed.
test (platform=visionOS\ Simulator,OS=1.2,name=Apple\ Vision\ Pro, build): ParseSwift.playground/Pages/9 - Files.xcplaygroundpage/Contents.swift#L197
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
test (platform=visionOS\ Simulator,OS=1.2,name=Apple\ Vision\ Pro, build): Tests/ParseSwiftTests/ParseRelationTests.swift#L115
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
test (platform=macOS, test)
The job was canceled because "platform_iOS__Simulator_O" failed.
test (platform=macOS, test)
The operation was canceled.
linux
Process completed with exit code 1.
spm-test: Tests/ParseSwiftTests/ParsePushAsyncTests.swift#L329
testFetchBrokenServerResponse, XCTAssertEqual failed: ("Optional({"alert":{"body":"hello world"}})") is not equal to ("Optional({"alert":{"body":"hello world"}})")
spm-test: Tests/ParseSwiftTests/ParsePushAsyncTests.swift#L298
testFetch, XCTAssertEqual failed: ("Optional({"alert":{"body":"hello world"}})") is not equal to ("Optional({"alert":{"body":"hello world"}})")
spm-test: Tests/ParseSwiftTests/ParsePushCombineTests.swift#L341
testFetch, XCTAssertEqual failed: ("Optional({"alert":{"body":"hello world"}})") is not equal to ("Optional({"alert":{"body":"hello world"}})")
spm-test: Tests/ParseSwiftTests/ParsePushPayloadAnyTests.swift#L103
testCoding, XCTAssertEqual failed: ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"content-available":1,"interruption-level":"yolo","mutable-content":1,"relevance-score":2,"sound":{"critical":true,"name":"hello","volume":7},"target-content-id":"press","thread-id":"yep","topic":"naw","url-args":["help"]}") is not equal to ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"content-available":1,"interruption-level":"yolo","mutable-content":1,"relevance-score":2,"sound":{"critical":true,"name":"hello","volume":7},"target-content-id":"press","thread-id":"yep","topic":"naw","url-args":["help"]}")
spm-test: Tests/ParseSwiftTests/ParsePushPayloadAnyTests.swift#L104
testCoding, XCTAssertEqual failed: ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"content-available":1,"interruption-level":"yolo","mutable-content":1,"relevance-score":2,"sound":{"critical":true,"name":"hello","volume":7},"target-content-id":"press","thread-id":"yep","topic":"naw","url-args":["help"]}") is not equal to ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"collapse_id":"nope","content-available":1,"interruptionLevel":"yolo","mutable-content":1,"priority":6,"push_type":"background","relevance-score":2,"sound":{"critical":true,"name":"hello","volume":7},"targetContentIdentifier":"press","threadId":"yep","topic":"naw","urlArgs":["help"]}")
spm-test: Tests/ParseSwiftTests/ParsePushPayloadAnyTests.swift#L107
testCoding, XCTAssertEqual failed: ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"content-available":1,"mutable-content":1,"relevance-score":2,"sound":{"critical":true,"name":"hello","volume":7},"topic":"naw"}") is not equal to ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"content-available":1,"interruption-level":"yolo","mutable-content":1,"relevance-score":2,"sound":{"critical":true,"name":"hello","volume":7},"target-content-id":"press","thread-id":"yep","topic":"naw","url-args":["help"]}")
spm-test: Tests/ParseSwiftTests/ParsePushPayloadAnyTests.swift#L115
testCoding, XCTAssertEqual failed: ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"content-available":1,"mutable-content":1,"relevance-score":2,"sound":{"critical":true,"name":"hello","volume":7},"topic":"naw"}") is not equal to ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"content-available":1,"interruption-level":"yolo","mutable-content":1,"relevance-score":2,"sound":{"critical":true,"name":"hello","volume":7},"target-content-id":"press","thread-id":"yep","topic":"naw","url-args":["help"]}")
spm-test: Tests/ParseSwiftTests/ParsePushPayloadAnyTests.swift#L185
testConvertToApple, XCTAssertEqual failed: ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"content-available":1,"interruption-level":"yolo","mutable-content":1,"relevance-score":2,"sound":{"critical":true,"name":"hello","volume":7},"target-content-id":"press","thread-id":"yep","topic":"naw","url-args":["help"]}") is not equal to ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"content-available":1,"interruption-level":"yolo","mutable-content":1,"relevance-score":2,"sound":{"critical":true,"name":"hello","volume":7},"target-content-id":"press","thread-id":"yep","topic":"naw","url-args":["help"]}")
spm-test: Tests/ParseSwiftTests/ParsePushPayloadAnyTests.swift#L186
testConvertToApple, XCTAssertEqual failed: ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"content-available":1,"interruption-level":"yolo","mutable-content":1,"relevance-score":2,"sound":{"critical":true,"name":"hello","volume":7},"target-content-id":"press","thread-id":"yep","topic":"naw","url-args":["help"]}") is not equal to ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"collapse_id":"nope","content-available":1,"interruptionLevel":"yolo","mutable-content":1,"priority":6,"push_type":"background","relevance-score":2,"sound":{"critical":true,"name":"hello","volume":7},"targetContentIdentifier":"press","threadId":"yep","topic":"naw","urlArgs":["help"]}")
spm-test: Tests/ParseSwiftTests/ParsePushPayloadAnyTests.swift#L189
testConvertToApple, XCTAssertEqual failed: ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"content-available":1,"mutable-content":1,"relevance-score":2,"sound":{"critical":true,"name":"hello","volume":7},"topic":"naw"}") is not equal to ("{"alert":{"action":"to","action-loc-key":"icon","body":"pull up","launch-image":"it","loc-args":["mother"],"loc-key":"cousin","subtitle":"trip","subtitle-loc-args":["gone"],"subtitle-loc-key":"far","title":"you","title-loc-args":["arg"],"title-loc-key":"it"},"badge":1,"content-available":1,"interruption-level":"yolo","mutable-content":1,"relevance-score":2,"sound":{"critical":true,"name":"hello","volume":7},"target-content-id":"press","thread-id":"yep","topic":"naw","url-args":["help"]}")
test (platform=iOS\ Simulator,OS=17.5,name=iPhone\ 15\ Pro\ Max, test): --- xcodebuild#L1
Using the first of multiple matching destinations:
test (platform\=tvOS\ Simulator,OS=17.5,name\=Apple\ TV, test): --- xcodebuild#L1
Using the first of multiple matching destinations:
test (platform\=tvOS\ Simulator,OS=17.5,name\=Apple\ TV, test)
None of the input catalogs contained a matching App Icon & Top Shelf Image brand assets collection named "AppIcon"
test (platform\=tvOS\ Simulator,OS=17.5,name\=Apple\ TV, test)
TARGETED_DEVICE_FAMILY value (1,2) does not contain any device family values compatible with the tvOS platform. Please add the value '3' to the TARGETED_DEVICE_FAMILY build setting to indicate that this target supports the 'Apple TV' device family. (in target 'TestHost' from project 'ParseSwift')
test (platform=visionOS\ Simulator,OS=1.2,name=Apple\ Vision\ Pro, build): --- xcodebuild#L1
Using the first of multiple matching destinations:
windows
Codecov: Failed to properly upload report: The process 'D:\a\_actions\codecov\codecov-action\v4\dist\codecov.exe' failed with exit code 1
spm-test: Tests/ParseSwiftTests/ParseObjectAsyncTests.swift#L159
stored property 'objectId' of 'Sendable'-conforming class 'GameScoreClass' is mutable
spm-test: Tests/ParseSwiftTests/ParseObjectAsyncTests.swift#L200
stored property 'objectId' of 'Sendable'-conforming class 'GameClass' is mutable
spm-test: Tests/ParseSwiftTests/ParseObjectTests.swift#L144
stored property 'objectId' of 'Sendable'-conforming class 'GameScoreClass' is mutable
spm-test: Tests/ParseSwiftTests/ParseObjectTests.swift#L185
stored property 'objectId' of 'Sendable'-conforming class 'GameClass' is mutable
spm-test: Tests/ParseSwiftTests/ParseHookTriggerRequestTests.swift#L86
'triggerName' is deprecated: Use "trigger" instead.
spm-test: Tests/ParseSwiftTests/ParseHookTriggerRequestTests.swift#L99
'triggerName' is deprecated: Use "trigger" instead.
spm-test: Tests/ParseSwiftTests/ParseHookTriggerTests.swift#L214
'init(className:triggerName:url:)' is deprecated: Change "triggerName" to "trigger"
spm-test: Tests/ParseSwiftTests/ParseHookTriggerTests.swift#L221
'init(object:triggerName:url:)' is deprecated: Change "triggerName" to "trigger"
spm-test: Tests/ParseSwiftTests/ParseHookTriggerTests.swift#L227
'init(triggerName:url:)' is deprecated: Change "triggerName" to "trigger"
spm-test: Tests/ParseSwiftTests/ParseHookTriggerTests.swift#L232
'init(trigger:url:)' is deprecated: Add "object" as the first argument