uniapp iOS 原生離線打包踩坑記錄

一.position:fixed/absolute出現隨屏幕滾動情況
在position:fixed/absolute內加入

-webkit-transform: translateZ(0);

假如有遮罩情況則在內容區域,加入 :

margin-bottom:20px;//margin-top:20px;

抖動情況,加入 :

overflow-y: auto;

二.下載iOS離線sdk后簽名問題
報錯:

HBuilder has conflicting provisioning settings.

HBuilder is automatically signed for development, but a conflicting code signing identity Apple Distribution has been manually specified. Set the code signing identity value to "Apple Development" in the build settings editor, or switch to manual signing in the Signing & Capabilities editor.

解決方法:
Build Settings 搜索 provisioning 刪除 PROVISIONING_PROFILE
Build Settings 搜索


image.png

圖中改為“Apple Development”

三.上傳App Store問題

could not find the service with interface (com.apple.transporter.osgi.TransporterService)
Resolver: Install error - com.fasterxml.jackson.module.jackson-module-jaxb-annotations Exception's name: java.io.IOException, Exception's message: Error accessing file:/Users/XXX/Library/Caches/com.apple.amp.itmstransporter/obr/2.1.0/com.fasterxml.jackson.module.jackson-module-jaxb-annotations-2.9.8.jar
image.png

解決方法:
刪除 /Users/XXX/Library/Caches/com.apple.amp.itmstransporter/ 文件夾
命令行輸入

/Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/itms/bin/iTMSTransporter

下載完了后重啟Xcode,搞定!

最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內容