Promis icon indicating copy to clipboard operation
Promis copied to clipboard

GettingStarted.playground produces runtime error

Open arielelkin opened this issue 6 years ago • 4 comments

  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 avatar Apr 24 '19 11:04 arielelkin

@albertodebortoli any updates?

arielelkin avatar May 02 '19 15:05 arielelkin

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.

albertodebortoli avatar May 03 '19 12:05 albertodebortoli

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.

arielelkin avatar May 08 '19 10:05 arielelkin

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...

albertodebortoli avatar Nov 18 '19 14:11 albertodebortoli