美文网首页
uniapp iOS 原生离线打包踩坑记录

uniapp iOS 原生离线打包踩坑记录

作者: 乌云735 | 来源:发表于2021-07-27 08:29 被阅读0次

    一.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 原生离线打包踩坑记录

          本文链接:https://www.haomeiwen.com/subject/twmnmltx.html