profile
viewpoint
David Ohayon ohayon @apple Boston, MA https://twitter.com/ohayon . THE ohio state university buckeye.

Anviking/Decodable 1056

[Probably deprecated] Swift 2/3 JSON unmarshalling done (more) right

ohayon/OWUProximityManager 360

iBeacons + CoreBluetooth

pj4533/lightman 4

Node based CLI for the Apple Developer Center

jennyzbrown/freshie 0

Ruby Gem to select random objects in a data set per a time interval

jennyzbrown/rescue_mission 0

Adding Freshie gem to feature a question in a prescribed amount of time

ohayon/fastlane-plugin-github_action 0

A plugin for setting up fastlane on GitHub Actions

taquitos/SwiftRubyRPC 0

Swift and Ruby RPC without dropping into Ruby's C API

issue commentgrpc/grpc-swift

Duplication of library code

Ah got it, thanks for the quick reply!

ohayon

comment created time in 3 months

issue openedgrpc/grpc-swift

Duplication of library code

Describe the bug

Using version 1.0.0-alpha.15, Xcode is not able to build for SwiftUI previews because of what is seemingly a duplicate symbols warning.

The diagnostics messages are:

Swift package target 'CNIODarwin' is linked as a static library by 'NIOTransportServices' and 2 other targets. This will result in duplication of library code.

----------------------------------------

SchemeBuildError: Failed to build the scheme "Example"

Swift package target 'CNIODarwin' is linked as a static library by 'NIOTransportServices' and 2 other targets. This will result in duplication of library code.

Build system information:
error: Swift package target 'CNIODarwin' is linked as a static library by 'NIOTransportServices' and 2 other targets. This will result in duplication of library code.


Build system information:
error: Swift package target 'CNIOAtomics' is linked as a static library by 'NIOTransportServices' and 3 other targets. This will result in duplication of library code.


Build system information:
error: Swift package target 'NIOConcurrencyHelpers' is linked as a static library by 'NIOTransportServices' and 3 other targets. This will result in duplication of library code.


Build system information:
error: Swift package target 'CNIOSHA1' is linked as a static library by 'NIOTransportServices' and 2 other targets. This will result in duplication of library code.


Build system information:
error: Swift package target 'NIO' is linked as a static library by 'NIOTransportServices' and 2 other targets. This will result in duplication of library code.


Build system information:
error: Swift package target 'CNIOLinux' is linked as a static library by 'NIOTransportServices' and 2 other targets. This will result in duplication of library code.


Build system information:
error: Swift package target 'CNIODarwin' is linked as a static library by 'NIOSSL' and 'NIOTLS'. This will result in duplication of library code.


Build system information:
error: Swift package target 'CNIOAtomics' is linked as a static library by 'NIOSSL' and 2 other targets. This will result in duplication of library code.


Build system information:
error: Swift package target 'NIOConcurrencyHelpers' is linked as a static library by 'NIOSSL' and 2 other targets. This will result in duplication of library code.


Build system information:
error: Swift package target 'CNIOSHA1' is linked as a static library by 'NIOSSL' and 'NIOTLS'. This will result in duplication of library code.


Build system information:
error: Swift package target 'NIO' is linked as a static library by 'NIOSSL' and 'NIOTLS'. This will result in duplication of library code.


Build system information:
error: Swift package target 'CNIOLinux' is linked as a static library by 'NIOSSL' and 'NIOTLS'. This will result in duplication of library code.


Build system information:
error: Swift package target 'CNIODarwin' is linked as a static library by 'NIOHTTP2' and 2 other targets. This will result in duplication of library code.


Build system information:
error: Swift package target 'CNIOAtomics' is linked as a static library by 'NIOHTTP2' and 3 other targets. This will result in duplication of library code.


Build system information:
error: Swift package target 'NIOConcurrencyHelpers' is linked as a static library by 'NIOHTTP2' and 3 other targets. This will result in duplication of library code.


Build system information:
error: Swift package target 'CNIOSHA1' is linked as a static library by 'NIOHTTP2' and 2 other targets. This will result in duplication of library code.


Build system information:
error: Swift package target 'NIO' is linked as a static library by 'NIOHTTP2' and 2 other targets. This will result in duplication of library code.


Build system information:
error: Swift package target 'CNIOLinux' is linked as a static library by 'NIOHTTP2' and 2 other targets. This will result in duplication of library code.

To reproduce

Steps to reproduce the bug you've found:

  1. Create a new SwiftUI project for iOS
  2. Include grpc-swift as a dependency via SPM
  3. Attempt to render SwiftUI preview
  4. Observe failure

Expected behaviour

SwiftUI previews work as intended by Xcode

created time in 3 months

issue commentrealm/SwiftLint

Functions w/ Only Multiple Trailing Closures Trigger "No Space in Method Call" (Swift 5.3)

I am seeing this same issue, and getting two warnings:

Button { // No Space in Method Call Violation
    print("Button tapped")
} label: { // Multiple Closures with Trailing Closure Violation
    Text("Button")
}
giladronat

comment created time in 3 months

startedChimeHQ/Meter

started time in 3 months

more