Skip to content

[WIP] Fixed automatic view capture bugs #270

[WIP] Fixed automatic view capture bugs

[WIP] Fixed automatic view capture bugs #270

GitHub Actions / Test Results failed Dec 27, 2024 in 0s

Xcode test results

Build Summary

Emitting module for EmbraceCoreTests
error: Swift Compiler Error: Method does not override any method from its superclass
error: Swift Compiler Error: Method does not override any method from its superclass
error: Swift Compiler Error: Method does not override any method from its superclass
error: Swift Compiler Error: Method does not override any method from its superclass
error: Swift Compiler Error: Method does not override any method from its superclass
error: Swift Compiler Error: Method does not override any method from its superclass

embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/MockUIViewControllerHandler.swift:22:19: error: method does not override any method from its superclass
    override func onViewDidLoadStart(_ vc: UIViewController) {
    ~~~~~~~~      ^
embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/MockUIViewControllerHandler.swift:27:19: error: method does not override any method from its superclass
    override func onViewDidLoadEnd(_ vc: UIViewController) {
    ~~~~~~~~      ^
embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/MockUIViewControllerHandler.swift:32:19: error: method does not override any method from its superclass
    override func onViewWillAppearStart(_ vc: UIViewController) {
    ~~~~~~~~      ^
embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/MockUIViewControllerHandler.swift:37:19: error: method does not override any method from its superclass
    override func onViewWillAppearEnd(_ vc: UIViewController) {
    ~~~~~~~~      ^
embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/MockUIViewControllerHandler.swift:42:19: error: method does not override any method from its superclass
    override func onViewDidAppearStart(_ vc: UIViewController) {
    ~~~~~~~~      ^
embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/MockUIViewControllerHandler.swift:47:19: error: method does not override any method from its superclass
    override func onViewDidAppearEnd(_ vc: UIViewController) {
    ~~~~~~~~      ^

Unblock downstream dependents of EmbraceCoreTests (arm64)
Compile UploadTaskWithRequestFromDataAndCompletionSwizzlerTests.swift (arm64)
Compile UploadTaskWithRequestFromDataSwizzlerTests.swift (arm64)
Compile UploadTaskWithRequestFromFileSwizzlerTests.swift (arm64)
Compile UploadTaskWithRequestFromFileWithCompletionSwizzlerTests.swift (arm64)
Compile UploadTaskWithStreamedRequestSwizzlerTests.swift (arm64)
Compile AppInfoCaptureServiceTests.swift (arm64)
Compile DeviceInfoCaptureServiceTests.swift (arm64)
Compile ResourceCaptureServiceTests.swift (arm64)
Compile LowMemoryWarningCaptureServiceTests.swift (arm64)
Compile LowPowerModeCaptureServiceTests.swift (arm64)
Compile TapCaptureServiceTests.swift (arm64)
Compile CaptureServicesUIViewControllerTests.swift (arm64)
error: Swift Compiler Error: Argument 'handler' must precede argument 'lock'
error: Swift Compiler Error: Argument 'handler' must precede argument 'lock'
error: Swift Compiler Error: Argument 'handler' must precede argument 'lock'

embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/CaptureServicesUIViewControllerTests.swift:53:83: error: argument 'handler' must precede argument 'lock'
        let service = ViewCaptureService(options: enabledOptions, lock: NSLock(), handler: handler)
                                                                  ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
                                                                  handler: handler,  
embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/CaptureServicesUIViewControllerTests.swift:105:83: error: argument 'handler' must precede argument 'lock'
        let service = ViewCaptureService(options: enabledOptions, lock: NSLock(), handler: handler)
                                                                  ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
                                                                  handler: handler,  
embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/CaptureServicesUIViewControllerTests.swift:166:83: error: argument 'handler' must precede argument 'lock'
        let service = ViewCaptureService(options: enabledOptions, lock: NSLock(), handler: handler)
                                                                  ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
                                                                  handler: handler,  

Compile MockUIViewControllerHandler.swift (arm64)
error: Swift Compiler Error: Method does not override any method from its superclass
error: Swift Compiler Error: Method does not override any method from its superclass
error: Swift Compiler Error: Method does not override any method from its superclass
error: Swift Compiler Error: Method does not override any method from its superclass
error: Swift Compiler Error: Method does not override any method from its superclass
error: Swift Compiler Error: Method does not override any method from its superclass

embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/MockUIViewControllerHandler.swift:22:19: error: method does not override any method from its superclass
    override func onViewDidLoadStart(_ vc: UIViewController) {
    ~~~~~~~~      ^
embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/MockUIViewControllerHandler.swift:27:19: error: method does not override any method from its superclass
    override func onViewDidLoadEnd(_ vc: UIViewController) {
    ~~~~~~~~      ^
embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/MockUIViewControllerHandler.swift:32:19: error: method does not override any method from its superclass
    override func onViewWillAppearStart(_ vc: UIViewController) {
    ~~~~~~~~      ^
embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/MockUIViewControllerHandler.swift:37:19: error: method does not override any method from its superclass
    override func onViewWillAppearEnd(_ vc: UIViewController) {
    ~~~~~~~~      ^
embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/MockUIViewControllerHandler.swift:42:19: error: method does not override any method from its superclass
    override func onViewDidAppearStart(_ vc: UIViewController) {
    ~~~~~~~~      ^
embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/MockUIViewControllerHandler.swift:47:19: error: method does not override any method from its superclass
    override func onViewDidAppearEnd(_ vc: UIViewController) {
    ~~~~~~~~      ^

Compile MockUIViewControllerHandlerDataSource.swift (arm64)
Compile UIViewControllerHandlerTests.swift (arm64)
error: Swift Compiler Error: Value of type 'MockViewController' has no member 'emb_identifier'
error: Swift Compiler Error: Value of type 'MockViewController' has no member 'emb_identifier'

embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/UIViewControllerHandlerTests.swift:37:12: error: value of type 'MockViewController' has no member 'emb_identifier'
        vc.emb_identifier = id
        ~~ ^~~~~~~~~~~~~~
embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/UIViewControllerHandlerTests.swift:50:12: error: value of type 'MockViewController' has no member 'emb_identifier'
        vc.emb_identifier = "test"
        ~~ ^~~~~~~~~~~~~~

Compile ViewCaptureServiceTests.swift (arm64)
error: Swift Compiler Error: Argument 'handler' must precede argument 'lock'

embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/ViewCaptureServiceTests.swift:20:93: error: argument 'handler' must precede argument 'lock'
        service = ViewCaptureService(options: ViewCaptureService.Options(), lock: NSLock(), handler: handler)
                                                                            ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
                                                                            handler: handler,  

Compile MockWKNavigationDelegate.swift (arm64)
Compile WKNavigationDelegateProxyTests.swift (arm64)
Compile WebViewCaptureServiceTests.swift (arm64)
Compile Embrace+OTelIntegrationTests.swift (arm64)
Compile EmbraceIntegrationTests.swift (arm64)
Compile SpanStorageIntegrationTests.swift (arm64)
Compile DefaultInternalLoggerTests.swift (arm64)
Compile EmbraceMeta+UserAgentTests.swift (arm64)
Compile resource_bundle_accessor.swift (arm64)
Compile CaptureServiceFactoryTests.swift (arm64)
Compile EmbraceSetupCaptureServicesTests.swift (arm64)
Compile DataTaskWithURLAndCompletionSwizzlerTests.swift (arm64)
Compile DataTaskWithURLRequestAndCompletionSwizzlerTests.swift (arm64)
Compile DataTaskWithURLRequestSwizzlerTests.swift (arm64)
Compile DataTaskWithURLSwizzlerTests.swift (arm64)
Compile DefaultURLSessionSwizzlerProviderTests.swift (arm64)
Compile DefaultURLSessionTaskHandlerTests.swift (arm64)
Compile DownloadTaskWithURLRequestSwizzlerTests.swift (arm64)
Compile DownloadTaskWithURLRequestWithCompletionSwizzler.swift (arm64)
Compile EmbraceURLRequestTests.swift (arm64)
Compile EncryptedNetworkPayloadTests.swift (arm64)
Compile EncryptionHelperTests.swift (arm64)
Compile NetworkPayloadCaptureHandlerTests.swift (arm64)
Compile URLSessionTaskCaptureRuleTests.swift (arm64)
Compile URLSessionDelegateProxyAsTaskDelegateTests.swift (arm64)
Compile URLSessionDelegateProxyForwardingTests.swift (arm64)
Compile URLSessionDelegateProxyTests.swift (arm64)
Compile URLSessionDelegateProxyToNonConformantTests.swift (arm64)
Compile URLSessionTask+ExtensionTests.swift (arm64)
Compile SessionTaskResumeSwizzlerTests.swift (arm64)
Compile URLSessionCaptureServiceTests.swift (arm64)
Compile URLSessionInitWithDelegateSwizzlerTests.swift (arm64)
Copy EmbraceCoreTests.swiftmodule (arm64)
error: Error: /Users/runner/work/embrace-apple-sdk/embrace-apple-sdk/.build/DerivedData/Build/Intermediates.noindex/EmbraceIO.build/Debug-iphonesimulator/EmbraceCoreTests.build/Objects-normal/arm64/EmbraceCoreTests.swiftmodule: No such file or directory

error: embrace-apple-sdk/.build/DerivedData/Build/Intermediates.noindex/EmbraceIO.build/Debug-iphonesimulator/EmbraceCoreTests.build/Objects-normal/arm64/EmbraceCoreTests.swiftmodule: No such file or directory (in target 'EmbraceCoreTests' from project 'EmbraceIO')

Copy EmbraceCoreTests.swiftdoc (arm64)
error: Error: /Users/runner/work/embrace-apple-sdk/embrace-apple-sdk/.build/DerivedData/Build/Intermediates.noindex/EmbraceIO.build/Debug-iphonesimulator/EmbraceCoreTests.build/Objects-normal/arm64/EmbraceCoreTests.swiftdoc: No such file or directory

error: embrace-apple-sdk/.build/DerivedData/Build/Intermediates.noindex/EmbraceIO.build/Debug-iphonesimulator/EmbraceCoreTests.build/Objects-normal/arm64/EmbraceCoreTests.swiftdoc: No such file or directory (in target 'EmbraceCoreTests' from project 'EmbraceIO')

Annotations

Check failure on line 22 in embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/MockUIViewControllerHandler.swift

See this annotation in the file changed.

@github-actions github-actions / Test Results

error

Method does not override any method from its superclass

Check failure on line 27 in embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/MockUIViewControllerHandler.swift

See this annotation in the file changed.

@github-actions github-actions / Test Results

error

Method does not override any method from its superclass

Check failure on line 32 in embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/MockUIViewControllerHandler.swift

See this annotation in the file changed.

@github-actions github-actions / Test Results

error

Method does not override any method from its superclass

Check failure on line 37 in embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/MockUIViewControllerHandler.swift

See this annotation in the file changed.

@github-actions github-actions / Test Results

error

Method does not override any method from its superclass

Check failure on line 42 in embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/MockUIViewControllerHandler.swift

See this annotation in the file changed.

@github-actions github-actions / Test Results

error

Method does not override any method from its superclass

Check failure on line 47 in embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/MockUIViewControllerHandler.swift

See this annotation in the file changed.

@github-actions github-actions / Test Results

error

Method does not override any method from its superclass

Check failure on line 53 in embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/CaptureServicesUIViewControllerTests.swift

See this annotation in the file changed.

@github-actions github-actions / Test Results

error

Argument 'handler' must precede argument 'lock'

Check failure on line 105 in embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/CaptureServicesUIViewControllerTests.swift

See this annotation in the file changed.

@github-actions github-actions / Test Results

error

Argument 'handler' must precede argument 'lock'

Check failure on line 166 in embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/CaptureServicesUIViewControllerTests.swift

See this annotation in the file changed.

@github-actions github-actions / Test Results

error

Argument 'handler' must precede argument 'lock'

Check failure on line 22 in embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/MockUIViewControllerHandler.swift

See this annotation in the file changed.

@github-actions github-actions / Test Results

error

Method does not override any method from its superclass

Check failure on line 27 in embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/MockUIViewControllerHandler.swift

See this annotation in the file changed.

@github-actions github-actions / Test Results

error

Method does not override any method from its superclass

Check failure on line 32 in embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/MockUIViewControllerHandler.swift

See this annotation in the file changed.

@github-actions github-actions / Test Results

error

Method does not override any method from its superclass

Check failure on line 37 in embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/MockUIViewControllerHandler.swift

See this annotation in the file changed.

@github-actions github-actions / Test Results

error

Method does not override any method from its superclass

Check failure on line 42 in embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/MockUIViewControllerHandler.swift

See this annotation in the file changed.

@github-actions github-actions / Test Results

error

Method does not override any method from its superclass

Check failure on line 47 in embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/MockUIViewControllerHandler.swift

See this annotation in the file changed.

@github-actions github-actions / Test Results

error

Method does not override any method from its superclass

Check failure on line 37 in embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/UIViewControllerHandlerTests.swift

See this annotation in the file changed.

@github-actions github-actions / Test Results

error

Value of type 'MockViewController' has no member 'emb_identifier'

Check failure on line 50 in embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/UIViewControllerHandlerTests.swift

See this annotation in the file changed.

@github-actions github-actions / Test Results

error

Value of type 'MockViewController' has no member 'emb_identifier'

Check failure on line 20 in embrace-apple-sdk/Tests/EmbraceCoreTests/Capture/UX/View/ViewCaptureServiceTests.swift

See this annotation in the file changed.

@github-actions github-actions / Test Results

error

Argument 'handler' must precede argument 'lock'