In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
2020 what is the process of debugging and testing the latest Apple App? aiming at this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible method.
Real machine debugging is introduced in 5 steps!
(be sure to test the APP before putting it on the shelf, or app a bunch of bug, but it will be a waste of time.)
1. Install the auxiliary software Appuploader of iOS.
2. Log in to Appuploader to apply for iOS development certificate file p12
3. Log in to Appuploader to apply for iOS development certificate description file mobileprovision
4. Use iOS certificate file to package Apple APP
5. Install the packaged APP to iPhone for testing
Download and install the auxiliary software Appuploader of iOS
Appuploader download link
After downloading the package, decompress it and use it directly without installation.
If the win 32-bit system clicks the appuploader.exe startup prompt (shown in the following figure), the 32-bit system needs to click appuploader.jar or start.bat to start
For Windows 32 system, please install the java environment before starting the software.
Java environment installation tutorial
Log in to Appuploader to apply for iOS certificate document p12
2.1Open Appuploader and log in with your Apple developer account.
2.2. Select the certificate project to enter
Click on the lower right corner + ADD to select
Type: select the development certificate (the development certificate package can be installed to the mobile phone)
Enter the name of the certificate: do not use Chinese, set it at will
Mailbox: (random)
Password: the password of the certificate, not the password of the developer's account, such as 123, which is not very complicated. It is important to remember and package well.
Apply id: there is no need to choose here!
Click ok to create.
Note: a maximum of 2 iOS development certificates can be applied for. If the account already has 2 development certificates, an error will be reported (as shown below).
A development certificate can be used for multiple APP tests. There is no need for each app to apply for a development certificate p12. Development certificate p12 can be common. Just distinguish the description files applied for in the following steps. A P12 can correspond to numerous description files.
Of course, you can also delete the previous reapplication.
2.4.After successful creation, find the newly created iOS development certificate (the type of iOS Development is the development certificate, if you have seen the expiration time before, you will know which one is newly created), click on the p12 file, download and save the .p12 certificate file to your computer.
Apply for iOS development certificate description file mobileprovision
Click BACK in the lower right corner, return to the home page of Appuploader, and select the description file to enter.
There are two iOS certificate files, just applied for p12 file, then apply for mobileprovision description file
Before applying for the ios description file, add two pieces of basic information, apply id and iPhone device number udid
Click + ADD in the lower right corner. If you have previously added application id and devices, click on the triangle symbol drop-down of the application id to see the previous addition, and select the development version profile option to see the previous addition.
If you have previously added to use the previously added application id and test equipment, skip this step.
For the first time or need to put on another project app, you need to create an application id and add related developer and tester equipment.
First introduce adding App ID, click add App id! (different APP needs to write different applications id is equivalent to app ID card)
Application id: three-stage format, such as app name is Taobao, can be written as com.app.taobao, free to write! Can't repeat it! With uniqueness @
Name: numbers or letters, free to write, not in Chinese, can not be repeated.
The application id added to AU software only has the default permission. If you need to activate push notification, Apple pay and other permissions, you need to configure it in Apple developer Center!
Apple developer Center add Application id configuration related permissions tutorial
If you add an error report, the solution is to modify the application id and recompile it.
Click ok as long as it does not pop up and report that the error has been added successfully. Close the window first, and then click + ADD in the lower right corner to enter the drop-down application id to check whether the newly added application id exists.
Fill in the application id and next add the setting udid
3.2Adding test equipment udid
Add udid to which iPhone you want to test. Only phones with udid can be installed, up to a maximum of 100!
If you have added udid before, you do not need to add a new test iPhone, skip this step and apply for a certificate directly!
Let's get udid first.
Udid if your phone is connected to the computer and the relevant drivers are installed, the AU software will be obtained automatically. Just click ok to add it.
The other two ways to get udid
3.3.The iPhone assistant gets UDID
For example, aids assistant, computer download aids assistant, connected to the iPhone, the device logo in the device information is udid.
3. Scan the code to get iPhone udid
Use iPhone or iPad Wechat scan code to choose your own browser safari browser to open the link in the QR code to quickly get UDID
This long list is the Udid of the device.
04bff1010f1656cde7d60g560d7d897e2821dc88
Udid instance: 2D4B87350609342980CB144F72FD2E66B66AEF6C
Get udid input
Name name: numbers or names, freely written, can not be repeated, can not be in Chinese.
Click ok without prompting to add successfully.
Devices can also be added in the Apple Development Center, and devices added in the AU software will also be displayed in the developer Center.
Apple developer Center add udid device tutorial
If an error is reported when adding an udid to an Apple device (as shown below), check that the udid is correct or has been added before!
Type can see the device you just added by selecting the development version.
3.5. check the relevant information to generate ios development certificate description file
Type: select the development version of profile (development certificate is required to install it for testing on mobile phones)
Apply id: select the added corresponding application id
Devices: check the box to test the iPhone
Name: numbers or letters, enter at will, be careful not to repeat.
Click ok to create
Select the newly created iOS development version description file (the type of iOS Developer is the development description file, find the name of the input you just created), click Download to download and save to your computer
After applying for two iOS certificate files, p12 and. Mobileholder, you can package ipa.
4. IOS package IPA
Each developer tool packages the tutorials according to the platform they use, and the certificates are all used the same.
Here are several platform packaging tutorials, corresponding to their own use of the platform to see, not written platform if you can not ask for technical support.
Happy App platform package website tutorial
HBuilder Packaging tutorial
APICloud Packaging tutorial
Phonegap Packaging tutorial
Xcode Packaging tutorial
APPcan Packaging tutorial
Chameleon Packaging ipa tutorial
Here, take the HBuilder platform as an example
Open the HBuilder tool, select the developed project, click release, and select release as the native installation package.
4.2.Select iOS packaging, supported device types (you can choose to support iPhone and ipad), and choose to use Apple certificate
AppID: consistent with the description selected when applying for the certificate. Mobilization (also known as package id,appid,BundleID, Application id, package name)
Profile file: choose to upload configuration file. Mobileprovision
Private key certificate: uploading .p12 file
Private key password: enter the password to create the p12 setting.
Then click package.
4.3. after the package is successful, download and save ipa, and the ipa package can be installed for testing on the phone.
Install IPA to the phone for testing
Special note: unlike Android, ios cannot send ipa files directly to the phone for installation, it needs to be installed through the mobile assistant, or upload and distribution platform scan the QR code to install, such as dandelion, fir distribution platform. If you are a free Apple developer, you must provide an Aixian assistant installation, which cannot be scanned!
QR code scan code download sample link
Https://fir.im/j7su
It is recommended to use the IceAssistant installation.
Connect to the phone, click on the app game, click Import and install, select the ipa package that has just been packaged, or directly select the ipa package and right-click to install it through the Esther Assistant.
4.5ipa will be installed automatically
4.6. The following prompt appears when you start the application for the first time after a successful installation, as is the case with ipa packaged with test certificate or enterprise certificate, which needs to be set up.
Click Settings, enter General, and select description File and device Management from the drop-down.
4.7. Click the account that appears under the developer application, trust, and then you can start the application. The prompt will not appear next time.
After testing and debugging, the app can be put on the shelf.
This is the answer to the question about the debugging and testing process of the latest Apple App in 2020. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel for more related knowledge.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.