xcode打包报Could not inspect the application package

Recently engaged in migration projects, everything from scratch, I shall also examine ios and android developed, which when packaged with xcode encountered a lot of pit. Now I Let us focus Could not inspect the application package this error.
First introduce the project background, frame by Cordova7.0 + ionic4.0 + angular5.0 built.
Because the project which used the micro-channel sharing, QQ share, Baidu maps, the corresponding account and appId have to apply it, so you need to install cordova-plugin-wechat, cordova- plugin-qqsdk, cordova-plugin-baidumaplocation , etc., I installed cordova-plugin-wechat and cordova-plugin-baidumaplocation when they are no problem, packaging is also not being given, but after installing cordova-plugin-qqsdk started being given as:
Pictures error
Could not the Inspect the Application package Penalty for ----- at the translation : can not detect application package

Why does this error report, Baidu method to find information, and then one by one to try, but have not entered into force, Chousi me. How to do it? Then I stop and go after contrast, I installed cordova-plugin-qqsdk, xcode which has added what configuration items, I found General-> Embedded Binaries which adds TencentOpenAPI.framework this one, this turned out to be no, it is not because of this reason. So I'll remove it, and then build the results directly when incorrect report, said TencentOpenAPI.framework not find this file, this one appears to be TencentOpenAPI.framework time to delete the file out, we can only and then reinstall the cordova-plugin-qqsdk, and then the results will be reported or when packaged Could not inspect the application package, and then after a good several attempts, I found time to install cordova-plugin- this plug-in plug-in which final installation of, General-> Embedded the Binaries which will add the final installation of the plug-in. Framework document. Then checked online, said to be in Build Phases-> Embed Frameworks can delete General-> Embedded Binaries inside the item , but does not delete the corresponding .framework file. Tried it, it really is deleted, and then build a successful, packaged successfully, no longer being given. After several days of exploration before we can solve this problem, it is not easy, record, hoping to help people experiencing the same problem.

Published 130 original articles · won praise 103 · views 260 000 +

Guess you like

Origin blog.csdn.net/xiaolinlife/article/details/103103760