- About the service
- Changelog
- A/B experiments in Varioqub
- Managing app access
Working with reports Working with the API Support and troubleshooting- How do I update the AppMetrica version in the app?
- Can I download the IDFA/GAID values from AppMetrica in order to use them in future advertising campaigns?
- How can I get all the crash logs without grouping them?
- How do I create a tracking link for tracking installs on channels that aren't related to an advertising network?
- Clicking the tracking link on a mobile device leads to a security certificate error. How can we fix this?
- What is the expected format of the click_id parameter when sending it to the tracker?
- How do I determine the event's source based on raw data?
- My app didn't pass moderation for the App Store. Can I turn off IDFA and AdSupport in AppMetrica?
- What is the difference between tracking pre-installs and separate app builds without additional integration?
- Why do I see more installs in the App Store and Google Play than in AppMetrica?
- Do I need to use different API keys for the same app on different platforms?
- Why are the data in my reports and Logs API different?
- Why does the Organic channel have a Google Play source but no App Store source?
- Does AppMetrica use UTM tags?
- How to enable user location sending
- How retention is calculated?
- New installations are not shown in statistics
- The weekly audience does not match the sum of users for each day of the week
- There are more events in the Events report than in the User Acquisition report
- How to create a remarketing campaign in AppMetrica
- How can I make sure that I have the latest versions of the Android libraries installed?
- Problems when using Swift Package Manager
- Why does appmetrica_device_id change when the app is reinstalled?
- Limiting custom events
- AppMetrica stopped working after Firebase was updated to version 31+
- Will AppMetrica work if my app isn't published in any app store?
- Why was my tracker archived?
- Troubleshooting
- Make a suggestion
Problems when using Swift Package Manager
"Library Not Found" error when you launch the app on your device
The error occurs because Xcode cannot sign the libraries that SPM provides. There is a task to fix in the SPM project, but at the moment it is not solved.
To resolve this problem, follow this sequence of steps:
-
At the build stage of your app, add a step to copy files.
-
For Destination select Frameworks.
-
Add a step to run the script.
-
Add the script. The script will sign the libraries that SPM provides.
find "${CODESIGNING_FOLDER_PATH}" -name '*.framework' -print0 | while read -d $'\0' framework do codesign --force --deep --sign "${EXPANDED_CODE_SIGN_IDENTITY}" --preserve-metadata=identifier,entitlements --timestamp=none "${framework}" done
Error installing library on the device
During library installation, the error specified below may occur (example log). To solve the problem, follow the steps in "Library Not Found" error when launching the app on the device.
Details
Unable to install "Your App"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620395
--
A valid provisioning profile for this executable was not found.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620395
User Info: {
DVTRadarComponentKey = 487925;
MobileDeviceErrorCode = "(0xE8008015)";
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x00000001212d493f DTDKCreateNSErrorFromAMDErrorCode + 220
1 DTDeviceKitBase 0x0000000121313124 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155
2 DVTFoundation 0x000000010576db33 DVTInvokeWithStrongOwnership + 71
3 DTDeviceKitBase 0x0000000121312e65 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1440
4 IDEiOSSupportCore 0x0000000121183d28 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.292 + 3513
5 DVTFoundation 0x000000010589c29a __DVT_CALLING_CLIENT_BLOCK__ + 7
6 DVTFoundation 0x000000010589debc __DVTDispatchAsync_block_invoke + 1191
7 libdispatch.dylib 0x00007fff73c476c4 _dispatch_call_block_and_release + 12
8 libdispatch.dylib 0x00007fff73c48658 _dispatch_client_callout + 8
9 libdispatch.dylib 0x00007fff73c4dc44 _dispatch_lane_serial_drain + 597
10 libdispatch.dylib 0x00007fff73c4e5d6 _dispatch_lane_invoke + 363
11 libdispatch.dylib 0x00007fff73c57c09 _dispatch_workloop_worker_thread + 596
12 libsystem_pthread.dylib 0x00007fff73ea2a3d _pthread_wqthread + 290
13 libsystem_pthread.dylib 0x00007fff73ea1b77 start_wqthread + 15
);
}
--
System Information
macOS Version 10.15.7 (Build 19H15)
Xcode 12.1 (17222)
If you didn't find the answer you were looking for, you can use the feedback form to submit your question. Please describe the problem in as much detail as possible. Attach a screenshot if possible.