Skip to content
A sample project integrating Go code within Swift
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
go-swift.xcodeproj
go-swift Initial commit. Jan 10, 2019
.gitignore Initial commit. Jan 10, 2019
Makefile
README.md
library.go
module.modulemap

README.md

Embedding Go in a Mac App

This repository is a sample project complementing a blog post on writing Mac apps in Go.

Prerequisites

You should have the latest version of Xcode and Go installed on your Mac.

Known Gotchas

The Go code should build automatically as a dependency within the project. However, often Xcode's cache is too aggressive for external builds and can get out of sync.

If you run into any problems, run make or build the libhtmlescaper target in Xcode manually.

Interestingly enough, building with xcodebuild always works, so it's likely a bug within Xcode.app. 🐛


(c) 2019 Young Dynasty

You can’t perform that action at this time.