Hacking Book | Free Online Hacking Learning

Home

today's project was submitted, but it was rejected about the use of private api by huanxin sdk

Posted by graebner at 2020-03-29
all

Early in the morning, I was pleasantly surprised by the rejection of the launch. Apple gave me the prompt message com.apple.springboard.lockcomplete

grep -R 'com.apple.springboard.lockcomplete' *

Or it can be done

find . | grep -v .svn | grep ".a" | grep -v ".app" | xargs grep com.apple.springboard.lockcomplete

Design sketch

It turns out that there is a problem with the SDK of Huanxin. We can see from the official website that my SDK needs to be upgraded. Because Apple has made the relevant API private, the SDK naturally needs to be upgraded. However, it is not clear why the technology of Huanxin uses such a painful API to cause troubles. Now you can download a new SDK to replace the old SDK.

Design sketch

Put the deleted SDK into the project. This stage has been completed, but the good news is later.

Be careful

When you have finished the replacement and compilation, no error is reported. I'm glad that you can finally pass the real machine test. I'm sorry. I'm going to crash directly. My heart is cold. But I still need to see what error can be solved.

This is the error of the package. It's that hyphenate.framework can't find the relevant resource file. What's the situation? Searching for the relevant information is not bad for the interested person at last. Find the perfect solution.

Solution 2: you do not need to modify the status of the framework. First, add new copy files phase under build phases;

After setting, the compilation runs through. The real machine test is solved perfectly, and the message can be sent smoothly.

Recommend reading more

When you use the version of Huanxin 2. X in your project, it may be because of the private apicom. Apple. Springboard

Android custom view various postures 1 activity display view rootimpl details activity

The app store audit submission was rejected, saying that the private API was used. “com.apple.springboard.lockco...

Ding Dongqiang reads 141 reviews 0 likes 2

Introduction: Recently, I studied the topic of private API scanning. After reading the relevant articles in the industry, we found that many of them are simple excerpts, and they are not wrong

In the previous version, UDID can be used to obtain the unique identity of IOS devices. However, IOS 5 and later were banned (abandoned) by apple and directly obtained

When you use the version of Huanxin 2. X in your project, it may be because of the private apicom. Apple. Springboard

Android custom view various postures 1 activity display view rootimpl details activity

The app store audit submission was rejected, saying that the private API was used. “com.apple.springboard.lockco...

Ding Dongqiang reads 141 reviews 0 likes 2

Introduction: Recently, I studied the topic of private API scanning. After reading the relevant articles in the industry, we found that many of them are simple excerpts, and they are not wrong

In the previous version, UDID can be used to obtain the unique identity of IOS devices. However, IOS 5 and later were banned (abandoned) by apple and directly obtained