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

How to package the real machine installation process for ios

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

This article mainly introduces ios how to package the real machine installation process, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.

Ios packaging real machine installation process 1. Configure Certificate 1.1 the process of obtaining and configuring certificates

Refer to the 03.iOS certificate configuration process

1.2 configure the certificate to the Xcode project. Install the certificate of the project in the local keychain, and click the description file (flash) to configure in Xcode mark in the Xcode project configure the certificate and description file markmark2 installed in the previous step. Install the packaging tool fastlane

2.1 install fastlane using RubyGems

$sudo gem install fastlane-NV

2.2 initialize after installation

$fastlane init Note: if Catton closes the current process, then execute $bundle update fastlane in the project root directory

2.3Packaging app with fastlane

a. Compile the package fastlane ios devb for dev environment. Compile the package fastlane ios uatc for uat environment. Compile the production environment package fastlane ios pord_adhocd. Compile the package fastlane ios pord_store on the Apple Store

Mark

Note: if you encounter an installation error

(1) install brew first

$/ usr/bin/ruby-e "$(curl-fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

If you wait for a while and encounter the following prompt, you cannot access the official script address:

Curl: (7) Failed to connect to raw.githubusercontent.com port 443: Operation

Use the following script

$/ usr/bin/ruby-e "$(curl-fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install)"

If you encounter problems along the way:

= > Tapping homebrew/coreCloning into'/ usr/local/Homebrew/Library/Taps/homebrew/homebrew-core'...

Solution:

Interrupt the process to do the following: $cd "$(brew--repo) / Library/Taps/" $mkdir homebrew$ cd homebrew$ git clone git://mirrors.ustc.edu.cn/homebrew-core.git

If cask also has problems with installation failure or jam, the solution is the same: $cd "$(brew-- repo) / Library/Taps/" $cd homebrew$ git clone https://mirrors.ustc.edu.cn/homebrew-cask.git

After successful execution, continue to execute the previous installation command:

$/ usr/bin/ruby-e "$(curl-fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install)"

Last time I saw Installation successful! The following prompts indicate that the installation is successful.

(2) install ImageMagick or GraphicsMagick

$brew install graphicsmagick

2.4Packaging with build.sh scripts

Execute a. Compile the package for the dev environment. / build.sh dev b. Compile the package for the uat environment. / build.sh uat c. Compile the package for the production environment. / build.sh pord_adhoc d. Compile the package on the Apple Store. / build.sh pord_store

Mark3. Connect to Mobile phone installation markmarkmark Thank you for reading this article carefully. I hope the article "how to package the real machine installation process of ios" shared by the editor will be helpful to everyone. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

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