Xcode can run on the real machine, but it crashes after being packaged and installed on the real machine. Copying the program to another computer is normal.

The strange problem encountered is: I have completed the project, connected it to the computer, tested it on the real machine, and it can be run, but after packaging it and installing it on the real machine, it crashes, and what is even more strange is to copy the project to someone else's computer, and let it run. Others help to pack, the package can be installed. After two days, I have been tangled in the static library and dynamic library. I didn’t expect it to be a certificate problem. I’m really drunk. The following connection is the solution. The certificate received is changed from the trust in the keychain to the system default!



Inspiration link:
http://www.jianshu.com/p/b6b2fc31eb2a


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325528177&siteId=291194637