Skip to content

Build failed on iOS #1

Description

@seongs1024
Undefined symbols for architecture arm64:
  "_ASWebAuthenticationSessionErrorDomain",

build failed for the reason.

Solution 1: How to Fix in Xcode

  1. Open your project in Xcode.
  2. Select your project in the Project Navigator on the left.
  3. Select your application target under the Targets list.
  4. Click on the Build Phases tab at the top.
  5. Expand the Link Binary With Libraries section.
  6. Click the + (Plus) button at the bottom of that section.
  7. Search for AuthenticationServices.framework.
  8. Select it and click Add.
  9. Clean your build folder (Cmd + Shift + K) and rebuild your project.

Solution 2: How to Fix By Tauri cli

  1. Add config to tauri.config.json
{

  "bundle": {

    "iOS": {
        "frameworks": [
          "AuthenticationServices"
        ]
    }

  }
}
  1. recreate the xcode project: pnpm tauri ios init

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions