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,搞定!

你可能感兴趣的:(uniapp iOS 原生离线打包踩坑记录)