Using a custom version of noosphere with XCode - subconsciousnetwork/subconscious GitHub Wiki
-
Checkout noosphere
-
Download a
LibNoosphere.xcframework
and place in checkout directory- From a Github Actions run, e.g. https://github.com/subconsciousnetwork/noosphere/actions/runs/6150808837?pr=623
- Github Actions produce a
libnoosphere_apple_framework.zip
. Unzip the contents, containing onlylibnoosphere-apple-xcframework.zip
. TheLibNoosphere.xcframework
is inside here.
- Github Actions produce a
- From a Github Actions run, e.g. https://github.com/subconsciousnetwork/noosphere/actions/runs/6150808837?pr=623
-
In your
noosphere
checkout, updatePackage.swift
to changeLibNoosphere
's binaryTarget- remove the
"checksum"
and"url"
entries. - add a
"path"
entry to either the zip containing the xcframework, or the xcframework itself:"path": "libnoosphere-apple-xcframework.zip"
"path": "LibNoosphere.xcframework"
- remove the
-
Remove the remote source for noosphere
- edit the
project.pbxproj
- edit the
-
Add your local checkout as a local package
-
Go to the Subconscious target -> Build Phases -> Link Binary with Libraries and add SwiftNoosphere to that list