Skip to content

Run Sphinx V2 project with a free developer account #189

Description

@tomastiminskas

On free developer accounts some functionalities are restricted so the projects need to be adapted to compile, run and work as expected.

Here is the list of steps to fix those issues:

  • Remove 3 entitlements from the Signing and Capabilities sections of the project configuration: Associated Domains​, ​App Groups​ and Keychain Sharing
  • On ​KeychainManager​.swift remove line 21: ​public static let kKeychainGroup = "8297M44YTW.sphinxV2SharedItems”​
  • On ​KeychainManager​.swift replace these 2 lines:
    let keychain = Keychain(service: "sphinx-app", accessGroup: KeychainManager.kKeychainGroup).synchronizable(true)
    let deleteKeychain = Keychain(service: "sphinx-app", accessGroup: KeychainManager.kKeychainGroup).synchronizable(false)

by these:

  let keychain = Keychain(service: "sphinx-app")
  let deleteKeychain = Keychain(service: "sphinx-app")​​
  • On ​RoomContextView.swift​ replace ​Keychain(service: "group.com.gl.sphinx.v2”)​ by ​Keychain()​ (line 14)
  • On ​ValueStore.swift​ remove ​.synchronizable(true)​ (line 66)
  • Enable Automatically manage signing and set a custom bundle identifier for the app

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions