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

GettingStarted.playground produces runtime error #10

Open
arielelkin opened this issue Apr 24, 2019 · 4 comments
Open

GettingStarted.playground produces runtime error #10

arielelkin opened this issue Apr 24, 2019 · 4 comments

Comments

@arielelkin
Copy link

  1. Using Xcode 10.2.1
  2. cloned repository and ran pod install in /Example.
  3. Open and run GettingStarted.playground
error: GettingStarted.playground:15:5: error: use of unresolved identifier 'getData'
    getData(request: request).thenWithResult { data in
    ^~~~~~~

error: GettingStarted.playground:17:9: error: use of unresolved identifier 'parse'
        parse(data: data)
        ^~~~~

error: GettingStarted.playground:20:13: error: use of unresolved identifier 'map'
            map(data: parsedData)
            ^~~
@arielelkin arielelkin changed the title Error when running GettingStarted.playground error: use of unresolved identifier 'getData' GettingStarted.playground produces runtime error May 2, 2019
@arielelkin
Copy link
Author

arielelkin commented May 2, 2019

@albertodebortoli any updates?

@albertodebortoli
Copy link
Owner

Hi @arielelkin, sorry for the delay.
I cannot see the errors you reported in the playground when using Xcode 10.2.1.
There was another error though, which has now been fixed with #11.

Screenshot 2019-05-03 at 13 41 39

Can you try the latest commit on master please? Make sure you open Promis.xcworkspace first and then the playground file from Xcode.

@arielelkin
Copy link
Author

I pulled the latest commit, 5e9cb5b1e979d0915f154a539619474e3bb3c9ab and I'm using Xcode 10.2.1 too

still getting the same error from a fresh install:

image

This happens if I click on the playground's left gutter, after I build successfully.

@albertodebortoli
Copy link
Owner

I tried cloning the project from scratch, running pod install, opening the workspace, building, running the playground. I'm still getting the same positive outcome from my screenshot above + I'm on Xcode 11.2.1 now. I'm puzzled...

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