[_LSDefaults sharedInstance]: unrecognized selector sent to class.
UMCCommon needs to be updated to latest version 2.1.1.
But my POD configuration has always been POD ‘UMCCommon’. No version is specified. This configuration does not update the corresponding library to the latest each time pod install occurs. You only need to specify the following version number: pod ‘UMCCommon’, ‘~> 2.1.1’. Then pod Install is ready
Two. Not suitable for dark mode
If there is no configuration, after upgrade 13, many configurations of the APP will be changed with the modification of dark light mode. But for companies like mine, there aren’t any resources to adapt the darker model. Apple has provided the solution. Essentially masking dark patterns at the code level.
Solution: Add attribute User Interface Style to plist file. Value is set to Light.
1. Of course, change the value to Dark if you want to force Dark mode. If you need to change it according to the user’s Settings, don’t set it and just delete it. 2. When set to Light or Dark, your Status bar text color will change with your Status bar style property. This property can be set in the Plist file or in General as follows:
3. Note that the View Controller-based status bar appearance must be set to NO. If not set or set to YES. Both the User Interface Style and Status bar Style configurations are invalid.
Packet error IPA processing failed
Process and exploration: as shown below:
I haven’t tried it yet other than uploading the AppStore. Any other packing method will report this error. So far the solutions and explanations found on the Internet have failed to solve my problem.
1. Some people say that if the APP does not support iPad, do not check the iPad.
2. Some people say that part of the third-party library is caused by the update. (Hehe, I have so many, I can not be sure which cause)
Familiar with the compiler and system principle of friends, in the face of this problem should be very good to solve, do not go xcode packaging is good. Now the steps are explained as follows:
1. Configure the environment of the project first. For example, if you want to type developer package, configure the corresponding description file and certificate in the project first, and then command +B(compile). Once you’re done compiling, go to the.app file in your project folder.
2. Select the file to show in Finder. And then compress. After the compression is complete, change the package suffix to IPA.
So we’re done, distribution distribution, re-signature re-signature.
Xcode11, by the way:
Xcode11 adds a few things by default, but the most subtle is the dot-dot-dot effect