Troubleshoot Appxiom iOS Integration Issues
This guide provides a step-by-step process to quickly resolve common Appxiom iOS framework integration issues and ensure your test issues are reflected in the Appxiom dashboard.
Need help? Raise a ticket at: support.appxiom.com
Quick Steps to Fix Appxiom Integration Issues
If your test issue is not appearing in the Appxiom dashboard, follow these steps:
- Objective C
- Swift
#import <AppxiomCore/Ax.h>
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[Ax log];
[Ax initialize:application];
[Ax test];
}
import AppxiomCore
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
Ax.log()
Ax.initialize(application)
Ax.test()
}
Step 1: Basic Checks
- Ensure you are using the latest Appxiom framework version.
- Confirm the Appxiom log API is called.
Step 2: Uninstall the App
- Uninstall any existing instance from the simulator or device, then reinstall the application.
Step 3: Verify Framework Activation
- Look for the log message: 'Registering device'
- If missing, ensure Ax.initialize is called in your AppDelegate class.
- If the log is still missing, contact Appxiom support for assistance.
Step 4: Check for Error Logs
- After seeing 'Registering device', check for errors:
- 'Device registration failed'
- 'Status code 401'
- If you see these errors, verify your app's bundle identifier matches the one registered in your Appxiom dashboard.
- For other status codes, contact Appxiom support.
Step 5: Network Troubleshooting
- If the issue is still not synced, check your network connection.
- On WiFi, ensure there are no restrictions (especially on public or workplace networks).
- Try switching to a mobile data connection (3G/4G), uninstall, and reinstall the app.
If none of the above steps work, contact Appxiom support for direct assistance: support.appxiom.com