Install CocoaPods:
# sudo gem install cocoapods
To install dependencies, please run this in the main project directory:
# pod install
(or # /usr/local/bin/pod install
if the $PATH does not include pod
)
Before building the project, please replace empty "gu-provider-ui/gu-provider" file with the Golem Unlimited Provider server (macOS binary named "gu-provider"; it can be build from https://github.com/golemfactory/golem-unlimited).
You can replace empty files in "gu-provider-ui/plugins/" with Wasm plugin files built from https://github.com/golemfactory/gu-exec-env-driver-wasm.
# xcodebuild -workspace gu-provider-ui.xcworkspace -scheme gu-provider-ui archive -archivePath gu-provider-ui
The "Golem Unlimited Provider.app" directory will be located in "gu-provider-ui.xcarchive/Products/Applications/".
Create a link to the /Applications folder, so that the user can drag the app there:
# ln -s /Applications/ gu-provider-ui.xcarchive/Products/Applications/Applications
Create DMG:
# hdiutil create -volname "Golem Unlimited Provider" -srcfolder gu-provider-ui.xcarchive/Products/Applications/ -ov gu-provider.dmg
# open gu-provider-ui.xcworkspace
(not xcodeproj)