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

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容