Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

GT mobile phone performance testing tool 2: configuration in the project

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

GT demo official sample document http://gt.qq.com/docs/i/GTiOSUserGuide.pdf

Practice the GT process in cloud notes

Embed GT framework in the cloud note project:

Step1 download framework SDK

Download address http://gt.qq.com/download.html

IOS platform

The latest release version is v2.2.3, and the release date is August 26th, 2015.

GT SDK: GT.embeddedframework_v2.2.3.tar.gz

Download framework to a local directory and save it

Step2 configuration frameword project

Add GT.embeddedframework to the code of the project to be tested

In the cloud note project, drag and drop the GT.embeddedframework to the location shown below (the third-party SDK in the cloud note project are all placed under the SDKExport)

Location as shown (open the project in xcode)

Step3 add the system framework referenced by GT.embeddedframework

10 as shown in the following list

Libz.dylib

Libsqlite3.dylib

Security.framework

CoreTelephony.framework

AdSupport.framework

AudioToolbox.framework

SystemConfiguration.framework

QuartzCore.framework

CoreGraphics.framework

UIKit.framework

The method to add is as follows: first, open the following interface:

After opening it, look for the 10 framework required above. If it already exists, do not add it again. If it does not exist, click on the following + to add it.

Make sure that the 10 framework required above are on the list!

= GT framework is embedded in the cloud note project =

Next:

Initialize GT in the project

Step1 references the header file in the project startup file

Add in YNoteAppDelegate.m

# include

Step2 in YNoteAppDelegate.m

-(BOOL) application: (UIApplication *) application didFinishLaunchingWithOptions: (NSDictionary *) the call to the GT initialization method is added at the end of the launchOptions method

GT_DEBUG_INIT; # initialize GT

Return YES

After the simple operation of the above two steps, the GT initialization code is added

Re-build-run the project to be tested, and you can use GT!

GT will exist as part of the project under test. When the GT version project starts, GT also starts. When the project under test exits, GT also exits.

Run the project (real machine or simulator). After the project starts, as shown in the following figure, the GT interface is displayed, and the parameters can be set and counted:

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report