Solutions for common issues with the Para Swift SDK integration
This guide helps you identify and resolve common issues encountered while integrating the Para Swift SDK into your iOS application.
Using an LLM (ChatGPT, Claude) or Coding Assistant (Cursor, Github Copilot)? Here are a few tips:
Before diving into specific issues, try these basic troubleshooting steps:
Clean Build Folder
In Xcode, go to Product → Clean Build Folder (Option + Shift + Command + K).
Update Dependencies
For Swift Package Manager: File → Packages → Update to Latest Package Versions
For CocoaPods: Run pod update
in your terminal.
Verify SDK Version
Ensure you are using the latest Para SDK compatible with your minimum deployment target (iOS 13.0+).
Check Configuration
Confirm your API key, Associated Domains, custom URL scheme, Team ID, and Bundle ID are correctly configured.
Passkey Generation Failure
Error: ParaError.bridgeError
or system authentication errors
Solution: Verify Associated Domains, Team ID, Bundle ID, and domain setup.
Biometric Authentication Failure
Solution: Confirm biometric setup on the device and check permissions in app settings.
Make sure your app includes the necessary privacy descriptions in Info.plist:
NSFaceIDUsageDescription
for Face IDUser Cancellation
Error: ASAuthorizationError.canceled
or similar system errors
Solution: Catch authentication cancellation errors and offer a retry option to the user. This error occurs when the user cancels a biometric prompt.
Email/Phone Verification Failure
Solution: Verify:
Invalid Transaction Format
Error: ParaError.bridgeError
or ParaError.error
Solution: Verify transaction parameters, proper encoding (Base64), and integration with web3 libraries.
Signer Errors
Error: ParaSolanaSignerError
for Solana operations
Solution: Handle specific signer errors appropriately:
Gas Estimation Issues
Solution:
Connection Problems
Error: ParaError.bridgeError
or ParaError.bridgeTimeoutError
Solution: Check network connectivity, implement retry logic, and use network monitoring tools.
Timeout Issues
Error: ParaError.bridgeTimeoutError
Solution:
MetaMask Connection Issues
Error: MetaMaskError
or ParaError.bridgeError
Solution: Check MetaMask installation and connection flow.
External Wallet Login Failure
Solution: Confirm wallet address and type are correct for external wallet login.
Deep Link Failures
Solution:
Info.plist
Enable Debug Mode
Enable debug mode in the Para SDK (if available) to get more detailed logging information.
Network Debugging
Utilize network debugging tools like Charles Proxy or Xcode’s network debugger to inspect API calls.
Xcode Debugging
Leverage Xcode’s built-in debugging features:
If you’re still experiencing issues after trying the solutions above, you can get additional help:
Solutions for common issues with the Para Swift SDK integration
This guide helps you identify and resolve common issues encountered while integrating the Para Swift SDK into your iOS application.
Using an LLM (ChatGPT, Claude) or Coding Assistant (Cursor, Github Copilot)? Here are a few tips:
Before diving into specific issues, try these basic troubleshooting steps:
Clean Build Folder
In Xcode, go to Product → Clean Build Folder (Option + Shift + Command + K).
Update Dependencies
For Swift Package Manager: File → Packages → Update to Latest Package Versions
For CocoaPods: Run pod update
in your terminal.
Verify SDK Version
Ensure you are using the latest Para SDK compatible with your minimum deployment target (iOS 13.0+).
Check Configuration
Confirm your API key, Associated Domains, custom URL scheme, Team ID, and Bundle ID are correctly configured.
Passkey Generation Failure
Error: ParaError.bridgeError
or system authentication errors
Solution: Verify Associated Domains, Team ID, Bundle ID, and domain setup.
Biometric Authentication Failure
Solution: Confirm biometric setup on the device and check permissions in app settings.
Make sure your app includes the necessary privacy descriptions in Info.plist:
NSFaceIDUsageDescription
for Face IDUser Cancellation
Error: ASAuthorizationError.canceled
or similar system errors
Solution: Catch authentication cancellation errors and offer a retry option to the user. This error occurs when the user cancels a biometric prompt.
Email/Phone Verification Failure
Solution: Verify:
Invalid Transaction Format
Error: ParaError.bridgeError
or ParaError.error
Solution: Verify transaction parameters, proper encoding (Base64), and integration with web3 libraries.
Signer Errors
Error: ParaSolanaSignerError
for Solana operations
Solution: Handle specific signer errors appropriately:
Gas Estimation Issues
Solution:
Connection Problems
Error: ParaError.bridgeError
or ParaError.bridgeTimeoutError
Solution: Check network connectivity, implement retry logic, and use network monitoring tools.
Timeout Issues
Error: ParaError.bridgeTimeoutError
Solution:
MetaMask Connection Issues
Error: MetaMaskError
or ParaError.bridgeError
Solution: Check MetaMask installation and connection flow.
External Wallet Login Failure
Solution: Confirm wallet address and type are correct for external wallet login.
Deep Link Failures
Solution:
Info.plist
Enable Debug Mode
Enable debug mode in the Para SDK (if available) to get more detailed logging information.
Network Debugging
Utilize network debugging tools like Charles Proxy or Xcode’s network debugger to inspect API calls.
Xcode Debugging
Leverage Xcode’s built-in debugging features:
If you’re still experiencing issues after trying the solutions above, you can get additional help: