1. After packing successfully, post to dandelion and say “unsigned, jailbroken phone only can install”.

This problem occurs because the signature was not obtained during packaging. The following are the general steps for configuring signatures.

When packing, click on the upper left corner to select the device:

Then select Product= Archive to generate the installation package

And then Development

All you have to do is click next. However, when I upload it to dandelion, I still get an unsigned message that I need to install my jailbroken phone.

In this case, perform the following three steps to solve the problem:

Step 1: Click Xcode = “Preferences to reinstall the certificate

Step 2: Clean up the project by clicking Product = “Clean”

Step 3: Exit Xcode (exit is not close) and restart Xcode. Then run Product= Archive. You’ll see that there’s no problem.

2.bitcode

While packing, there was a problem

error: Invalid bitcode signature
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Copy the code

If this error is reported, just adjust the Settings here. Below is a screenshot

After performing the three steps above, you realize that the one not mentioned is wrong.

However, there is a new issue that reminds me that the ios version supported by Xcode is a little low. The plugin needs to be 12.2 or higher, so you upgrade your macOs, install the latest Xcode, and everything will be fine

3.run

I executed run while debugging the real machine and reported an error.

Install claimed to have succeeded, but application could not be found on device. bundleId = xxxxxxx
Copy the code

In this case, modify the compilation system environment is good.

Click File = workspace Setting. Then make adjustments as shown below

Recently, I am working on a public account related to front-end programmers. In addition to technology sharing, I have also added articles about career development and life records. Welcome to pay attention to, chat and ridicule together, work hard together and live seriously!