Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No such module 'Burritos' when installing via SPM #15

Open
whoyawn opened this issue Nov 15, 2019 · 2 comments
Open

No such module 'Burritos' when installing via SPM #15

whoyawn opened this issue Nov 15, 2019 · 2 comments

Comments

@whoyawn
Copy link

whoyawn commented Nov 15, 2019

Version 11.2.1 (11B53)
Device: iPhone 11 and iPhone Pro Max Simulator
Version: 0.0.3
image

image

//
//  ContentView.swift

import Burritos // No such module 'Burritos'
import SwiftUI

struct ContentView: View {
    @LateInit test: String
    var body: some View {
        Text("Hello, World!")
    }
}

struct ContentView_Previews: PreviewProvider {
    static var previews: some View {
        ContentView()
    }
}

The module does not load and I cannot use any of the features.

@whoyawn
Copy link
Author

whoyawn commented Nov 15, 2019

Steps to reproduce:

  1. Create new project
  2. Install Burritos via SPM.
  3. Replace ContentView.swift with the one above.

@dsabanin
Copy link

You need to import the particular wrapper you're interested in, like import LateInit instead of import Burritos. I bet that confuses everyone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants