bow-swift/nef

Creating and compiling default Playground works but inform that "fails" in macOS 10.14

dfreniche opened this issue · 3 comments

I'm in macOS 10.14.6. Don't ask coughAppceleratorcough

To replicate:

$ nef playground --name test                                   
Installing Playground (test)... ✅
Set test target to iOS ✅
Updating version (0.7.0)... ✅
Installing Pods ... ✅
$ nef compile test.app              
Installing Pods ... ✅
Building test (test) ... ✅
Copy frameworks ✅
Found 1 playgrounds
   Compiling page.xcplaygroundpage ...<unknown>:0: error: Swift does not support the SDK 'MacOSX10.14.sdk'

If you open test.app and compile, all is OK.

So although we get that error message, seems like it's compiling OK and also can generate markdown fine.

Nice! Thanks for testing nef - the best QA!!

In fact, nef is compatible with macos 10.14+. Could you attach the log?

  1. test.app/nef/log/page.log to get more information about the page compilation
  2. test.app/nef/log/test.log to get more information about the project compilation
  3. you can find the file used to build in test.app/nef/build/page/main.swift

Thanks! ^^

And about the render mode: jekyll, carbon, markdown... works independently the compilation step. You can generate code without verifying it before.

Compile step let you in CI (for example) keeps aligned the documentation into your lib, or post...

It'll be solved in this PR