You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Combine @Published could not be found - Xcode11 Beta 5(11M382q)


0



I am trying to run a simple project with the following:

@Published var currentPlacemark: CLPlacemark? = nil

  • XCode11 Beta5(11M382q)
  • iOS13(17A5556d)

Getting the following error: dyld: Symbol not found: _$s7Combine9PublishedV9PublisherCyx_GAadAM

Anyone else encountered this?


Code example:

import SwiftUI
import Combine

class MyFoo {
  @Published var bar: String = ""
}

struct ContentView: View {
    var body: some View {
        Text("Hello World")
    }
}

#if DEBUG
struct ContentView_Previews: PreviewProvider {
    static var previews: some View {
        let foo = MyFoo()
      foo.bar = "asas"
        let barSink = foo.$bar
            .sink() {
                print("bar value: \($0)")
        }
        return ContentView()
    }
}
#endif


I would note that in the simulator everything is working great.


Any idea??

iPhone XS

Posted on Aug 19, 2019 4:47 AM

Reply
Question marked as Top-ranking reply

Posted on Aug 19, 2019 6:04 AM

It is out of scope to discuss Apple beta products in these open, Apple Support Communities, and also a violation of the beta agreement. If you are a paid developer, then you were provided an explicit beta support link to discuss beta issues, and otherwise, there is no support from Apple or your fellow users here regarding beta issues.

1 reply
Question marked as Top-ranking reply

Aug 19, 2019 6:04 AM in response to YanivHas

It is out of scope to discuss Apple beta products in these open, Apple Support Communities, and also a violation of the beta agreement. If you are a paid developer, then you were provided an explicit beta support link to discuss beta issues, and otherwise, there is no support from Apple or your fellow users here regarding beta issues.

Combine @Published could not be found - Xcode11 Beta 5(11M382q)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.