💊 steroids for Xcode Playgrounds
Fix bug in nef playground
- the project isn't being generated correctly (solved in https://github.com/bow-swift/nef/pull/63)
1 Fix bug in the nef's compiler using statically linked binaries (not supported in Darwin architectures). Compiles the user dependencies (Playground/Sources/*) together with the page.swift
and using the options
-F
to determinate where Apple frameworks are.-Xlinker
search recursively in the Apple Frameworks for selected SDK.Darwin architectures (iOS, macos) does not allow statically linked binaries (it only allows static libs). You can read more information about it here.
2 In iOS systems updated the architecture used. Migrates from x86_64
to arm*
XCTest
doesn't support x86_64 arch, only arm* (in iOS)
nefc
linker: added supports to use/compile Apple frameworks like XCTest
.XCTest
: now you can import XCTest
and use NefTest
helper to run your test cases. ex. use: Nef.run(testCase: ExampleTests.self)
nefc
. Build project and dependencies using previously cached ouputs - if it is possible. ex. use: nef compile . --use-cache