Help Center/ Application Performance Management/ Getting Started(2.0)/ Monitoring iOS Applications/ Connecting Agents
Updated on 2025-12-29 GMT+08:00
Connecting Agents
Procedure
- Log in to the APM console.
- Click
on the left and choose Management & Governance > Application Performance Management. - In the navigation tree on the left, choose App Monitoring > App List. On the displayed page, click Connect Mobile App.
- Select iOS for App Type. Select an application from the drop-down list and enter a mobile app name.
- Select one or more SDK extended configuration items. You can also select no items. The data of unselected items will not be displayed.
- Click Create Mobile App.
- Track the service.
- iOS SDK access
- Click Download to download the configuration file.
- Place the downloaded file in the root directory of the project, as shown in the following figure. Figure 1 Root directory of the iOS project
- Add SDK dependencies.
- Add the source to Podfile.
source 'https://github.com/CocoaPods/Specs.git'
- Add dependencies to Podfile.
pod 'APMSDK'
- Open the terminal, run the cd command to go to the directory where Podfile is stored, and then run the following command:
pod install --repo-update
- Add the source to Podfile.
- Flutter access
- Click Download to download the configuration file. If the mobile app fails to be created, the Download button is grayed.
- Use Xcode to open flutter_app/ios/Runner.xcworkspace, as shown in the following figure. Figure 2 Root directory of the Flutter project
- Drag the downloaded file to the root directory of Runner, as shown in the following figure. Figure 3 Root directory of Runner
- Add SDK dependencies.
- Add the APM Flutter SDK to flutter_app/pubspec.yaml.
dependencies: ... apm_flutter_plugin: {apm_flutter_sdk_version} - Add the APM iOS SDK to flutter_app/ios/Podfile.
pod 'APMSDK', '{apm_ios_sdk_version}'
- Add the APM Flutter SDK to flutter_app/pubspec.yaml.
- iOS SDK access
Parent topic: Monitoring iOS Applications
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot