Undefined symbols for architecture arm64:
"_ASWebAuthenticationSessionErrorDomain",
build failed for the reason.
Solution 1: How to Fix in Xcode
- Open your project in Xcode.
- Select your project in the Project Navigator on the left.
- Select your application target under the Targets list.
- Click on the Build Phases tab at the top.
- Expand the Link Binary With Libraries section.
- Click the + (Plus) button at the bottom of that section.
- Search for AuthenticationServices.framework.
- Select it and click Add.
- Clean your build folder (Cmd + Shift + K) and rebuild your project.
Solution 2: How to Fix By Tauri cli
- Add config to
tauri.config.json
{
"bundle": {
"iOS": {
"frameworks": [
"AuthenticationServices"
]
}
}
}
- recreate the xcode project:
pnpm tauri ios init
build failed for the reason.
Solution 1: How to Fix in Xcode
Solution 2: How to Fix By Tauri cli
tauri.config.jsonpnpm tauri ios init