j***@empower.cn
j***@empower.cn
  • 发布:2022-12-14 11:12
  • 更新:2024-02-20 11:45
  • 阅读:2897

【报Bug】最新正式版ios打包失败,日志看不明白

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: window11

HBuilderX类型: 正式

HBuilderX版本号: 3.6.13

手机系统: iOS

手机系统版本号: iOS 16

手机厂商: 苹果

手机机型: iphone12

页面类型: vue

vue版本: vue2

打包方式: 云端

项目创建方式: HBuilderX

操作步骤:

打包ios

预期结果:

打包正常

实际结果:

打包失败

bug描述:

ios打包失败,安卓打包成功,用了支付宝原生扫码插件
两次打包ios都报错了,看不太明白日志是什么意思
第一次打包报错日志https://ide.dcloud.net.cn/build/errorLog/988b75c0-7b59-11ed-8300-052e93814e68
第二次打包报错日志https://ide.dcloud.net.cn/build/errorLog/88ed2320-7b5b-11ed-9782-d99a683aad3f

2022-12-14 11:12 负责人:无 分享
已邀请:

最佳回复

DCloud_App_Array

DCloud_App_Array

这是因为HBuilderX3.6.11+版本 调整 Camera&Gallery、Barcode、Orientation、Record等模块从引擎内置调整为独立模块,解决iOS平台隐私合规检测可能报包含麦克风、相机/相册、运动等权限的问题。云端打包默认不再包含以上模块,如需要请手动在 manifest.json -> 模块配置 中勾选详情
支付宝原生扫码(Mpaas-Scan)插件依赖了Camera&Gallery、Orientation模块中配置的系统库AssetsLibrary.framework、CoreMotion.framework,没有勾选以上模块则缺少系统库配置,所以打包失败,可以通过以下解决方案处理:
方案一. 在manifest.json的源码视图(可视化界面中没有使用Orientation模块配置)中配置以下模块:

"app-plus" : {  
    "modules" : {  
        "Camera": {},  
        "Orientation": {}  
    }  
}

方案二. 在manifest.json中配置依赖的系统库,如下:

"app-plus" : {  
    "distribute" : {  
        "ios": {  
            "frameworks": [  
                "AssetsLibrary.framework",  
                "CoreMotion.framework"  
            ]  
        }  
    }  
}

我们也会联系插件作者尽快更新插件配置,避免依赖其它模块

  • t***@126.com

    方案二可以,方案一影响安卓,安卓失败了

    2023-02-07 18:01

  • x***@163.com

    回复 t***@126.com: 我试了方法1,安卓也能成功打包

    2023-03-07 21:07

  • 7***@qq.com

    https://ide.dcloud.net.cn/build/errorLog/6452f9e0-0050-11ee-b66a-3f061a6d24a8 这个是什么情况,求求了,超限打包了5次了

    2023-06-01 16:05

9***@qq.com

9***@qq.com

同样的问题,上一个版本还好,更新后 直接打包失败。

9***@qq.com

9***@qq.com

同样的问题,上一个版本还好,更新后 直接打包失败。

  • BoredApe

    请上传您的错误日志

    2022-12-14 11:35

j***@empower.cn

j***@empower.cn (作者)

又打了一次包还是失败了,错误日志https://ide.dcloud.net.cn/build/errorLog/d734e810-7b5d-11ed-94c3-f3e9d11623c4

9***@qq.com

9***@qq.com

能不能测试好了 在发布,浪费时间。

BoredApe

BoredApe - 有问题就会有答案。

Undefined symbols for architecture arm64:  
\"_OBJC_CLASS_$_CMMotionManager\", referenced from:  
objc-class-ref in TBScanSDK(TBScanViewController.o)

为了避免App隐私合规检测报包含麦克风、相机/相册、运动等敏感权限,从HBuilderX3.6.11版本开始,将App打包默认包含的Barcode(扫码)、Camera&Gallery(相机和相册)、Orientation(传感器)、Record(录音)等调整为独立功能模块。
请参考:注意事项

  • j***@empower.cn (作者)

    你好,我只勾选了扫码和相机这两个模块,这样有什么问题吗

    2022-12-14 11:39

  • j***@empower.cn (作者)

    你好,你的意思是不是有可能插件里用到了传感器这个模块,所以要手动加上传感器模块

    2022-12-14 11:46

  • BoredApe

    回复 j***@empower.cn: 应该是用到了 Camera 模块。可以添加试试

    2022-12-14 12:10

  • j***@empower.cn (作者)

    回复 BoredApe: 相机和扫码这两个模块我一开始就加上的,打包就是报错了,我现在吧传感器加上了,但是打包次数超了,我明天打包再试一下

    2022-12-14 13:04

  • f***@163.com

    IOS打包就出这个东西怎么解决? https://ide.dcloud.net.cn/build/errorLog/5abf4f40-471f-11ee-b05c-edb27478d086

    2023-08-30 18:30

  • BoredApe

    回复 f***@163.com: [PackagePath]/HBuilder.xcodeproj: error: Signing certificate is invalid. Signing certificate \"iPhone Distribution: Ning ren (54LDHR5L73)\", serial number \"1A0F4AF7805E964525627CBA1AA20BDC\", is not valid for code signing. It may have been revoked or expired. (in target 'HBuilder' from project 'HBuilder') 证书过期了或者被注销了

    2023-08-31 08:37

j***@empower.cn

j***@empower.cn (作者)

还有打包失败能不能不要算到打包次数里,失败了几次今天打包都打不了了……

  • DCloud_App_Array

    临时解决方案:源码视图中配置Orientation,参考最佳回复说明

    2022-12-14 18:09

3***@qq.com

3***@qq.com

你们到现在还没意识到更新的太随意,基本每次更新必定出大问题!

杨涛5201314

杨涛5201314 - 热爱前端,喜欢研究前沿技术

https://ide.dcloud.net.cn/build/errorLog/4905e520-cecf-11ed-943e-d9f61bdd7365 这是我的错误日志请问怎么解决大佬们

  • DCloud_App_Array

    插件Tuoyun-OpenIMSDK依赖的库不正确或配置不全,核心错误信息示例如下:


    \"_Open_im_sdkSetGroupListener\", referenced from:  
    -[OpenIMModule setGroupListener] in OpenIMUniPlugin(OpenIMModule.o)

    2023-03-30 17:31

艾盾

艾盾

错误日志: https://ide.dcloud.net.cn/build/errorLog/c5e94860-f2d3-11ed-9822-9b2f66241a48。大佬们,这个怎么解决啊

  • BoredApe

    [PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"com.wjjzp.app_dev\" doesn't support the Associated Domains capability. (in target 'HBuilder' from project 'HBuilder')  
    [PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"com.wjjzp.app_dev\" doesn't include the com.apple.developer.associated-domains entitlement. Profile qualification is using entitlement definitions that may be out of date. Connect to network to update. (in target 'HBuilder' from project 'HBuilder')

    参考文档:iOS云打包如何设置通用链接等Capabilities配置

    开启Associated Domains服务后需要重新生成profile文件

    2023-05-15 13:55

5***@qq.com

5***@qq.com

https://ide.dcloud.net.cn/build/errorLog/dfee8ca0-f463-11ed-834b-31fbcc831916. 大佬们,这个怎么解决啊

  • BoredApe

    Undefined symbols for architecture arm64:  
    \"_OBJC_CLASS_$_SendMessageToWXReq\", referenced from:
    objc-class-ref in FileShare(FileShareModule.o)
    \"_OBJC_CLASS_$_WXApi\", referenced from:
    objc-class-ref in FileShare(FileShareModule.o)
    \"_OBJC_CLASS_$_WXFileObject\", referenced from:
    objc-class-ref in FileShare(FileShareModule.o)
    \"_OBJC_CLASS_$_WXMediaMessage\", referenced from:
    objc-class-ref in FileShare(FileShareModule.o)

    使用的插件安卓ios分享任意类型文件依赖丢失。请联系插件作者解决。@lifejwang11

    2023-05-17 17:29

BoredApe

BoredApe - 有问题就会有答案。

@lifejwang11

5***@qq.com

5***@qq.com

model 可以oc和swift混编吗 为什么我加入swift文件后 会报 Could not build Objective-C module 这个错呢

乔乔不想上班

乔乔不想上班

https://ide.dcloud.net.cn/build/errorLog/1d1acb40-f880-11ed-af94-f5d8e815979a ,大佬们,帮我看一下我这个吧

  • BoredApe

    [PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"云汽修\" doesn't support the Associated Domains capability. (in target 'HBuilder' from project 'HBuilder')  
    [PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"云汽修\" doesn't include the com.apple.developer.associated-domains entitlement. Profile qualification is using entitlement definitions that may be out of date. Connect to network to update. (in target 'HBuilder' from project 'HBuilder')

    参考文档:iOS云打包如何设置通用链接等Capabilities配置

    开启Associated Domains服务后需要重新生成profile文件

    2023-05-22 17:35

  • 乔乔不想上班

    回复 BoredApe:解决了,感谢大神

    2023-05-22 17:45

5***@qq.com

5***@qq.com

https://ide.dcloud.net.cn/build/errorLog/c9de7560-f9fa-11ed-952b-53afe81fb31f. 大佬们,这个怎么解决啊

5***@qq.com

5***@qq.com

https://ide.dcloud.net.cn/build/errorLog/9938b1e0-fb69-11ed-9f75-d509ec087a4c 有大佬知道这是什么问题吗

  • BoredApe

    duplicate symbol '_OBJC_CLASS_$_AidManager' in:  
    [SourcePath]/libs/Universal/AlipaySDK.framework/AlipaySDK
    [PackagePath]/wgtRoot/__UNI__54EC104/nativeplugins/Aliyun-Push/ios//UTDID.framework/UTDID(AidManager.o)
    duplicate symbol '_OBJC_METACLASS_$_AidManager' in:
    [SourcePath]/libs/Universal/AlipaySDK.framework/AlipaySDK
    [PackagePath]/wgtRoot/__UNI__54EC104/nativeplugins/Aliyun-Push/ios//UTDID.framework/UTDID(AidManager.o)
    duplicate symbol '_OBJC_CLASS_$_AidRequester' in:
    [SourcePath]/libs/Universal/AlipaySDK.framework/AlipaySDK

    【Aliyun-ThirdPush】、【Aliyun-Push】这两个插件重复引用依赖库。请确认。

    2023-05-26 10:52

  • 5***@qq.com

    回复 BoredApe: 解决了谢谢大佬

    2023-05-26 17:09

9***@qq.com

9***@qq.com - 我最帅

https://ide.dcloud.net.cn/build/errorLog/2a6960d0-00f0-11ee-bafc-d7d3bffc3a34
https://ide.dcloud.net.cn/build/errorLog/2a7c8e20-00f0-11ee-8c09-4911f6de5efc
求助,这个打包失败是因为什么呢?在windows电脑可以,在mac电脑打ios自定义基座不行。

  • DCloud_App_Array

    错误信息:[PackagePath]/HBuilder/Base.lproj/LaunchScreen.storyboard:7oK-KB-4EC: error: Named colors do not work prior to iOS 11.0. [12]

    storyboard文件中配置name="Named colors"引起的编译错误

    2023-06-02 11:53

d***@vip.qq.com

d***@vip.qq.com

https://ide.dcloud.net.cn/build/errorLog/288e78d0-08c4-11ee-bbdb-0bf0e9e86cc6

求助大佬们帮忙看一下,这个打包失败是因为什么呢?怎么解决呢

  • BoredApe

    Undefined symbols for architecture arm64:  
    \"_OBJC_CLASS_$_UTDevice\", referenced from:
    objc-class-ref in AlicloudUtils(EMASDeviceId.o)
    objc-class-ref in AlicloudUtils(AlicloudReport.o)
    objc-class-ref in AlicloudUtils(EMASBeaconStore.o)
    ld: symbol(s) not found for architecture arm64

    打包引用原生插件报错。请确认

    2023-06-12 13:52

  • d***@vip.qq.com

    回复 BoredApe: 好的感谢,打包成功了

    2023-06-12 13:59

carfi

carfi

https://ide.dcloud.net.cn/build/errorLog/3b28bde0-09b5-11ee-b2f2-11a98223afdd 大佬麻烦看下这怎么处理

  • BoredApe

    Undefined symbols for architecture arm64:  
    \"_OBJC_CLASS_$_CMMotionManager\", referenced from:
    objc-class-ref in TBScanSDK(TBScanViewController.o)
    ld: symbol(s) not found for architecture arm64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    为了避免App隐私合规检测报包含麦克风、相机/相册、运动等敏感权限,从HBuilderX3.6.11版本开始,将App打包默认包含的Barcode(扫码)、Camera&Gallery(相机和相册)、Orientation(传感器)、Record(录音)等调整为独立功能模块。

    请参考:注意事项

    2023-06-13 15:12

carfi

carfi

https://ide.dcloud.net.cn/build/errorLog/257f9dc0-09bc-11ee-8476-eb7af4a4c907 麻烦再看一下这是什么问题呢

  • BoredApe

    PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"chuanxiaoyi_captain\" doesn't support the Associated Domains capability. (in target 'HBuilder' from project 'HBuilder')  
    [PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"chuanxiaoyi_captain\" doesn't include the com.apple.developer.associated-domains entitlement. Profile qualification is using entitlement definitions that may be out of date. Connect to network to update. (in target 'HBuilder' from project 'HBuilder')

    请参考:参考文档:iOS云打包如何设置通用链接等Capabilities配置

    开启Associated Domains服务后需要重新生成profile文件

    2023-06-13 15:44

  • l***@163.com

    回复 BoredApe: 您好,我使用了腾讯云的人脸识别插件后,无法ios打包了,我已经加上您说的Associated Domains了,还是没用

    2023-07-10 11:29

  • BoredApe

    回复 l***@163.com: 请发失败日志链接

    2023-07-10 13:52

5***@qq.com

5***@qq.com

https://ide.dcloud.net.cn/build/errorLog/f7892a40-0c59-11ee-988c-690312c109cd 大佬,麻烦看下这个是什么原因,怎么处理呢,谢谢

  • BoredApe

    duplicate symbol '_OBJC_IVAR_$_BDSBuiltInPlayer._audioSessionCategory' in:  
    [UniPluginPath]sunny-BDTTSPlugin/ios//libBaiduSpeechSDK1.a(BDSBuiltInPlayer.o)
    [UniPluginPath]sunny-BDTTSPlugin/ios//BDTTSPlugin.framework/BDTTSPlugin(BDSBuiltInPlayer.o)
    duplicate symbol '_OBJC_IVAR_$_BDSBuiltInPlayer._avAudioPlayer' in:
    [UniPluginPath]sunny-BDTTSPlugin/ios//libBaiduSpeechSDK1.a(BDSBuiltInPlayer.o)
    [UniPluginPath]sunny-BDTTSPlugin/ios//BDTTSPlugin.framework/BDTTSPlugin(BDSBuiltInPlayer.o)

    集成的原生插件【sunny-BDTTSPlugin】依赖库重复。请检查原生插件,如果是插件使用着请将问题反馈给插件开发者,如果是插件开发者本人请在原生开发群中反馈问题

    2023-06-17 08:55

  • 5***@qq.com

    回复 BoredApe: 谢谢,已经解决了【抱拳】

    2023-06-19 17:46

1***@qq.com

1***@qq.com

https://ide.dcloud.net.cn/build/errorLog/f6303840-12f6-11ee-bb9f-8d2967647d55 大佬麻烦看下这是什么问题怎么解决 谢谢

  • BoredApe

    [PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"huaxianonggong2023\" doesn't support the Sign in with Apple capability. (in target 'HBuilder' from project 'HBuilder')  
    [PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"huaxianonggong2023\" doesn't include the com.apple.developer.applesignin entitlement. Profile qualification is using entitlement definitions that may be out of date. Connect to network to update. (in target 'HBuilder' from project 'HBuilder')

    如果使用第三方登录或者苹果登录需要在Apple开发者中心中开启Sign In with Apple 参考文档:https://uniapp.dcloud.net.cn/tutorial/app-oauth-apple

    2023-06-25 09:43

  • 1***@qq.com

    回复 BoredApe: 已解决 谢谢谢谢

    2023-06-25 09:48

5***@qq.com

5***@qq.com

问下Compiled module was created by a different version of the compiler这是什么问题 之前是好着的 但是换了新的包后会报这个错

  • BoredApe

    请发完整日志

    2023-06-28 08:50

8***@qq.com

8***@qq.com - 咕咕咕

https://ide.dcloud.net.cn/build/errorLog/a6dd91f0-2a83-11ee-8b27-8dcc7746d909 大佬,麻烦看下我的

  • 8***@qq.com

    找到问题了 图标没替换

    2023-07-25 09:16

1***@163.com

1***@163.com

https://ide.dcloud.net.cn/build/errorLog/baa404a0-2c47-11ee-a987-7741e33b26f6 大佬帮忙看下

  • BoredApe

    Undefined symbols for architecture arm64:  
    \"_OBJC_CLASS_$_CMMotionManager\", referenced from:
    objc-class-ref in TBScanSDK(TBScanViewController.o)
    ld: symbol(s) not found for architecture arm64

    为了避免App隐私合规检测报包含麦克风、相机/相册、运动等敏感权限,从HBuilderX3.6.11版本开始,将App打包默认包含的Barcode(扫码)、Camera&Gallery(相机和相册)、Orientation(传感器)、Record(录音)等调整为独立功能模块。您使用的支付宝原生扫码插件使用了Camera&GalleryOrientation模块中配置的系统库AssetsLibrary.frameworkCoreMotion.framework,您打包时没有勾选以上模块,所以打包失败,可以通过以下解决方案处理:

    方案一. 在manifest.json的源码视图(可视化界面中没有使用Orientation模块配置)中配置以下模块:


    "app-plus" : {    
    "modules" : {
    "Camera": {},
    "Orientation": {}
    }
    }

    方案二. 在manifest.json中配置依赖的系统库,如下:


    "app-plus" : {    
    "distribute" : {
    "ios": {
    "frameworks": [
    "AssetsLibrary.framework",
    "CoreMotion.framework"
    ]
    }
    }
    }

    请参考:注意事项

    2023-07-27 15:21

  • 1***@163.com

    回复 BoredApe: 感谢

    2023-07-28 08:52

6***@qq.com

6***@qq.com

https://ide.dcloud.net.cn/build/errorLog/b3b08ff0-30d5-11ee-8166-5374ac1578cf 这是什么问题 昨天到今天都打包出错 用了支付宝扫码组件

  • BoredApe

    Undefined symbols for architecture arm64:  
    \"_OBJC_CLASS_$_CMMotionManager\", referenced from:
    objc-class-ref in TBScanSDK(TBScanViewController.o)
    ld: symbol(s) not found for architecture arm64

    为了避免App隐私合规检测报包含麦克风、相机/相册、运动等敏感权限,从HBuilderX3.6.11版本开始,将App打包默认包含的Barcode(扫码)、Camera&Gallery(相机和相册)、Orientation(传感器)、Record(录音)等调整为独立功能模块。您使用的支付宝原生扫码插件使用了Camera&GalleryOrientation模块中配置的系统库AssetsLibrary.frameworkCoreMotion.framework,您打包时没有勾选以上模块,所以打包失败,可以通过以下解决方案处理:

    方案一. 在manifest.json的源码视图(可视化界面中没有使用Orientation模块配置)中配置以下模块:


    "app-plus" : {    
    "modules" : {
    "Camera": {},
    "Orientation": {}
    }
    }

    方案二. 在manifest.json中配置依赖的系统库,如下:


    "app-plus" : {    
    "distribute" : {
    "ios": {
    "frameworks": [
    "AssetsLibrary.framework",
    "CoreMotion.framework"
    ]
    }
    }
    }

    请参考:注意事项

    2023-08-02 10:03

6***@qq.com

6***@qq.com

可以了 谢谢

6***@qq.com

6***@qq.com - fuck

https://ide.dcloud.net.cn/build/errorLog/8ebc8de0-464c-11ee-b206-b56208e58f93 麻烦能帮忙看看吗

  • BoredApe

    note: Building targets in dependency order  
    [PackagePath]/HBuilder.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'HBuilder' from project 'HBuilder')
    [PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"fabu\" doesn't support the Associated Domains and Sign in with Apple capability. (in target 'HBuilder' from project 'HBuilder')
    [PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"fabu\" doesn't include the com.apple.developer.applesignin and com.apple.developer.associated-domains entitlements. Profile qualification is using entitlement definitions that may be out of date. Connect to network to update. (in target 'HBuilder' from project 'HBuilder')

    参考文档:iOS云打包如何设置通用链接等Capabilities配置

    开启Associated Domains服务后需要重新生成profile文件

    2023-08-29 17:30

  • 6***@qq.com

    回复 BoredApe: 谢谢

    2023-08-29 17:44

1***@163.com

1***@163.com

https://ide.dcloud.net.cn/build/errorLog/c168c5c0-4d56-11ee-a73f-35d2330d3646 麻烦能帮忙看看吗? 感谢感谢 救急

f***@126.com

f***@126.com

https://ide.dcloud.net.cn/build/errorLog/d04ca930-6d8b-11ee-8d3a-d15df35aa4b3
求助大佬们帮忙看一下,添加了腾讯云点播插件后,这个打包失败是因为什么呢?

  • BoredApe

    Undefined symbols for architecture arm64:  
    \"_ijk_check_interrupt\", referenced from:
    _ijkhlscache_open in TXLiteAVSDK_Player(ijkhlscache.o)
    _ijkhlscache_seek in TXLiteAVSDK_Player(ijkhlscache.o)
    \"_ijk_url_closep\", referenced from:
    _ijkhlscache_open in TXLiteAVSDK_Player(ijkhlscache.o)
    _ijkurlhook_close in TXLiteAVSDK_Player(ijkhlscache.o)
    \"_ijk_url_open_whitelist\", referenced from:
    _ijkhlscache_open in TXLiteAVSDK_Player(ijkhlscache.o)
    \"_ijk_url_read_complete\", referenced from:
    _ijkhlscache_read in TXLiteAVSDK_Player(ijkhlscache.o)
    \"_ijk_url_seek\", referenced from:
    _ijkhlscache_open in TXLiteAVSDK_Player(ijkhlscache.o)
    _ijkhlscache_seek in TXLiteAVSDK_Player(ijkhlscache.o)
    \"_ijk_url_size\", referenced from:
    _ijkurlhook_close in TXLiteAVSDK_Player(ijkhlscache.o)
    \"_ijk_url_write\", referenced from:
    _ijkurlhook_write in TXLiteAVSDK_Player(ijkhlscache.o)
    \"_ijkav_register_ijkhlscache_protocol\", referenced from:
    _ijkav_register_protocol in TXLiteAVSDK_Player(ijkhlscache.o)
    \"_liteav_ff_avc_parse_nal_units_buf\", referenced from:

    使用的原生插件依赖库缺失,请检查

    2023-10-18 16:24

  • f***@126.com

    回复 BoredApe: 这要怎么解决

    2023-10-19 11:26

简云网科

简云网科 - 简云科技,助你简便进入云时代

https://ide.dcloud.net.cn/build/errorLog/9013f580-7497-11ee-b8eb-9d10a3608941 麻烦能帮忙看看吗? 感谢感谢 救急

  • BoredApe

    CL-UpDater 原生插件依赖有问题,请联系插件作者解决

    2023-10-29 09:28

  • 简云网科

    回复 BoredApe: 多谢

    2023-10-31 17:39

roomy

roomy

https://ide.dcloud.net.cn/build/errorLog/82fcf360-7796-11ee-b377-97536704f75e 麻烦帮忙看下吗? 感谢感谢

  • BoredApe

    duplicate symbol '_OBJC_CLASS_$_UTDIDAES' in:  
    [SourcePath]/libs/Universal/AlipaySDK.framework/AlipaySDK
    [PackagePath]/wgtRoot/__UNI__B9D9637/nativeplugins/UZK-Alibcsdk/ios//UTDID.framework/UTDID(UTDIDAES.o)
    duplicate symbol '_OBJC_METACLASS_$_UTDIDAES' in:
    [SourcePath]/libs/Universal/AlipaySDK.framework/AlipaySDK
    [PackagePath]/wgtRoot/__UNI__B9D9637/nativeplugins/UZK-Alibcsdk/ios//UTDID.framework/UTDID(UTDIDAES.o)
    duplicate symbol '_OBJC_CLASS_$_UTDIDBaseUtils' in:
    [SourcePath]/libs/Universal/AlipaySDK.framework/AlipaySDK
    [PackagePath]/wgtRoot/__UNI__B9D9637/nativeplugins/UZK-Alibcsdk/ios//UTDID.framework/UTDID(UTDIDBaseUtils.o)

    依赖库重复,请检查UZK-Alibcsdk插件和支付宝模块冲突

    2023-10-31 13:52

  • roomy

    回复 BoredApe: 谢谢

    2023-11-02 17:14

qxq

qxq

https://ide.dcloud.net.cn/build/errorLog/6afbabf0-7e14-11ee-ac73-416f17eda24a
麻烦帮忙看下吗? 感谢感谢
我使用oc开发了一个 ios 的原生插件,其中调用了C++的代码(已编译成dylib),将oc编译成framework后,在uniapp中制作基座的时候报错,

  • BoredApe

    Undefined symbols for architecture arm64:  
    \"start_navi(char*)\", referenced from:
    -[LocationWrapper startNavi:] in xdlocation(LocationWrapper.o)
    \"read_config(char*)\", referenced from:
    -[LocationWrapper init:roadJSON:alNodeJSON:configJSON:] in xdlocation(LocationWrapper.o)
    -[LocationWrapper setConfig:] in xdlocation(LocationWrapper.o)
    \"get_location(double&, double&, int&, double&, int)\", referenced from:
    -[LocationWrapper getLocation:] in xdlocation(LocationWrapper.o)
    \"start_location()\", referenced from:
    -[LocationWrapper init:roadJSON:alNodeJSON:configJSON:] in xdlocation(LocationWrapper.o)
    \"refresh_parameters(char*, int)\", referenced from:
    -[LocationWrapper init:roadJSON:alNodeJSON:configJSON:] in xdlocation(LocationWrapper.o)
    -[LocationWrapper setRoad:] in xdlocation(LocationWrapper.o)
    \"ble_data(char*)\", referenced from:
    -[LocationWrapper sendBle:] in xdlocation(LocationWrapper.o)
    \"imu_data(char*)\", referenced from:
    -[LocationWrapper sendIMU:] in xdlocation(LocationWrapper.o)
    \"stop_navi()\", referenced from:
    -[LocationWrapper stopNavi] in xdlocation(LocationWrapper.o)
    ld: symbol(s) not found for architecture arm64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    原生插件缺少依赖库,请检查

    2023-11-08 18:44

  • qxq

    回复 BoredApe: 我有一个通过c++编译成的.dylib,也在插件项目中配置了,配置如下:

    2023-11-09 09:24

qxq

qxq

补充图片

  • BoredApe

    请新开一个帖子

    2023-11-09 10:01

  • qxq

    回复 BoredApe: 您好,我已经新开了一个帖子,麻烦给看下吧,多谢多谢多谢。https://ask.dcloud.net.cn/question/181233?column=log&rf=false

    2023-11-09 10:28

q***@163.com

q***@163.com

https://ide.dcloud.net.cn/build/errorLog/0ca292a0-8436-11ee-9cc5-051e91cf92d0 大佬忙我看下这是啥错误

  • BoredApe

    [PackagePath]/HBuilder/Assets.xcassets: error: The stickers icon set or app icon set named \"AppIcon\" did not have any applicable content.  
    /* com.apple.actool.document.warnings */
    [PackagePath]/HBuilder/Assets.xcassets:./AppIcon.appiconset/[][iphone][60x60][][][2x][][][]: warning: AppIcon.appiconset/icon120-app@2x.png is 240x240 but should be 120x120.
    [PackagePath]/HBuilder/Assets.xcassets:./AppIcon.appiconset/[][iphone][60x60][][][3x][][][]: warning: AppIcon.appiconset/icon180-app@3x.png is 360x360 but should be 180x180.
    [PackagePath]/HBuilder/Assets.xcassets:./AppIcon.appiconset/[][iphone][40x40][][][2x][][][]: warning: AppIcon.appiconset/icon80-spotlight@2x.png is 160x160 but should be 80x80.
    [PackagePath]/HBuilder/Assets.xcassets:./AppIcon.appiconset/[][iphone][29x29][][][3x][][][]: warning: AppIcon.appiconset/icon87-settings@3x.png is 174x174 but should be 87x87.
    [PackagePath]/HBuilder/Assets.xcassets:./AppIcon.appiconset/[][iphone][29x29][][][2x][][][]: warning: AppIcon.appiconset/icon58-settings@2x.png is 116x116 but should be 58x58.
    [PackagePath]/HBuilder/Assets.xcassets:./AppIcon.appiconset/[][iphone][20x20][][][2x][][][]: warning: AppIcon.appiconset/icon40-notification@2x.png is 80x80 but should be 40x40.
    [PackagePath]/HBuilder/Assets.xcassets:./AppIcon.appiconset/[][iphone][20x20][][][3x][][][]: warning: AppIcon.appiconset/icon60-notification@3x.png is 120x120 but should be 60x60.
    [PackagePath]/HBuilder/Assets.xcassets:./AppIcon.appiconset/[][ios-marketing][1024x1024][][][1x][][][]: warning: AppIcon.appiconset/icon1024.png is 2048x2048 but should be 1024x1024.
    [PackagePath]/HBuilder/Assets.xcassets:./AppIcon.appiconset/[][iphone][40x40][][][3x][][][]: warning: AppIcon.appiconset/icon120-spotlight@3x.png is 240x240 but should be 120x120.

    icon图标不正确。请在Manifest.json中重新配置APP图标

    2023-11-16 14:14

9***@qq.com

9***@qq.com - 90后IT男

https://ide.dcloud.net.cn/build/errorLog/9e30bcb0-8756-11ee-8e4d-35fcbb2ebaf6 有大佬帮忙看看是什么问题吗

  • BoredApe

    ld: warning: Could not find or use auto-linked framework 'CoreAudioTypes'  
    ld: warning: Could not find or use auto-linked framework 'Symbols'
    Undefined symbols for architecture arm64:
    \"_OBJC_CLASS_$_WFCCConversation\", referenced from:
    objc-class-ref in WFUIKitUniPlugin(UIKitModule.o)
    objc-class-ref in WFUIKitUniPlugin(AppService.o)
    \"_OBJC_CLASS_$_WFCCIMService\", referenced from:
    objc-class-ref in WFUIKitUniPlugin(UIKitModule.o)
    \"_OBJC_CLASS_$_WFCCNetworkService\", referenced from:
    objc-class-ref in WFUIKitUniPlugin(AppService.o)
    ld: symbol(s) not found for architecture arm64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    集成的原生插件有问题,如果是插件使用着请将问题反馈给插件开发者,如果是插件开发者本人请在原生开发群中反馈问题

    2023-11-21 08:37

1***@163.com

1***@163.com - 大楷

这是我的错误日志,有大佬知道怎么修改吗?https://ide.dcloud.net.cn/build/errorLog/756ec6c0-8821-11ee-8bd1-8b6fb25bd20a

  • BoredApe

    [PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"gaokao12\" doesn't support the Associated Domains capability. (in target 'HBuilder' from project 'HBuilder')  
    [PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"gaokao12\" doesn't include the com.apple.developer.associated-domains entitlement. Profile qualification is using entitlement definitions that may be out of date. Connect to network to update. (in target 'HBuilder' from project 'HBuilder')

    参考文档:iOS云打包如何设置通用链接等Capabilities配置

    开启Associated Domains服务后需要重新生成profile文件

    2023-11-21 13:50

不懂什么

不懂什么

有大佬看看这个报错是为啥嘛 https://ide.dcloud.net.cn/build/errorLog/d95223d0-88fc-11ee-88d5-3d3c403feb29

  • BoredApe

    [PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"kuajing01\" doesn't support the Associated Domains capability. (in target 'HBuilder' from project 'HBuilder')  
    [PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"kuajing01\" doesn't include the com.apple.developer.associated-domains entitlement. Profile qualification is using entitlement definitions that may be out of date. Connect to network to update. (in target 'HBuilder' from project 'HBuilder')

    参考文档:iOS云打包如何设置通用链接等Capabilities配置

    开启Associated Domains服务后需要重新生成profile文件

    2023-11-22 14:25

f***@126.com

f***@126.com

有大佬看看这个报错是因为什么 https://ide.dcloud.net.cn/build/errorLog/4b42a0d0-94ab-11ee-83b3-2fc4ddf81cb0

  • BoredApe

    打包机问题,已修复,请重新打包

    2023-12-09 23:27

Rocky610

Rocky610

大佬帮忙看一下这个报错是什么原因https://ide.dcloud.net.cn/build/errorLog/9fe1fcf0-9628-11ee-867d-c9fc450dc8f9

  • BoredApe

    ld: warning: Could not find or use auto-linked framework 'CoreAudioTypes'  
    ld: warning: Could not find or use auto-linked framework 'Symbols'
    Undefined symbols for architecture arm64:
    \"_OBJC_CLASS_$_DCSVProgressHUD\", referenced from:
    objc-class-ref in SealOfficeOnline(SealOfficeEngineApi.o)
    objc-class-ref in SealOfficeOnline(TestModule.o)
    objc-class-ref in SealOfficeOnline(TestComponent.o)
    ld: symbol(s) not found for architecture arm64

    使用的原生插件Seal-OfficeOnline依赖库缺失,请确认。

    2023-12-09 23:26

喜欢技术的前端

喜欢技术的前端 - QQ---445849201

可以参考上面在app模块里配置相册和传感器模块

aurora_wzc

aurora_wzc

https://ide.dcloud.net.cn/build/errorLog/71708bf0-a617-11ee-8071-933945619453
麻烦帮我看一下, 谢谢

众创绿洲

众创绿洲

大佬,帮忙看一下这个问题,感谢!!

https://ide.dcloud.net.cn/build/errorLog/bbb673f0-b6c2-11ee-8639-1922c7612fd3

  • BoredApe

    Undefined symbols for architecture arm64:  
    \"_OBJC_CLASS_$_SendMessageToWXReq\", referenced from:
    objc-class-ref in FileShare(FileShareModule.o)
    \"_OBJC_CLASS_$_WXApi\", referenced from:
    objc-class-ref in FileShare(FileShareModule.o)
    \"_OBJC_CLASS_$_WXFileObject\", referenced from:
    objc-class-ref in FileShare(FileShareModule.o)
    \"_OBJC_CLASS_$_WXMediaMessage\", referenced from:
    objc-class-ref in FileShare(FileShareModule.o)
    ld: symbol(s) not found for architecture arm64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    使用的life-FileShare原生插件缺少依赖库,请联系插件作者解决

    2024-01-20 22:41

5***@qq.com

5***@qq.com

https://ide.dcloud.net.cn/build/errorLog/24bc6fb0-c16f-11ee-a24c-0bdca24e2cdf

方案一方案二都用了,还是不行,麻烦看下

鼎城城维

鼎城城维

https://ide.dcloud.net.cn/build/errorLog/19e436c0-c16c-11ee-a6dd-a32124ee4ff2

这个报错

y***@163.com

y***@163.com

https://ide.dcloud.net.cn/build/errorLog/9a741950-cb3e-11ee-927c-497b931d1fd6 麻烦大佬帮我看看

  • iOSDeveloper

    你的ICON配置的有问题

    2024-02-15 09:51

什么也不懂

什么也不懂 - 什么也不懂

好像不是很懂

5***@qq.com

5***@qq.com

https://ide.dcloud.net.cn/build/errorLog/47b19c40-cecd-11ee-9c04-95a29bf73346

麻烦看看这个问题

2***@qq.com

2***@qq.com

类型: iOS Appstore 打包失败 错误日志: https://ide.dcloud.net.cn/build/errorLog/021198e0-cfa1-11ee-a1ac-05cfd6829fdd
帮忙看一下

  • 喜欢技术的前端

    应该也是 使用的life-FileShare原生插件缺少依赖库,请联系插件作者解决 这个问题

    2024-02-20 13:40

要回复问题请先登录注册