SDK版本更新到最新。有几个版本有bug,
IOS模拟器,点击构建,显示成功了,但是应用在模拟器上打不开,黑屏闪退?[图片][图片][图片]
04-08com.dada.tongzhiba: no identity found 配置错了名称
构建 IPA失败,应该如何解决?证书应该没有问题,在uniapp测试证书打包成功了,apk也能正常打包,请问如何解决? [miniapp 09:16:50.709 INFO] cloudBuild.ts:main - cloudbuild start! [miniapp 09:16:50.717 INFO] cloudBuild.ts:main - argsOptions processing [miniapp 09:16:50.718 INFO] cloudBuild.ts:main - landun options getProcessArgs [miniapp 09:16:50.718 INFO] cloudBuild.ts:main - setCosConfig finished [miniapp 09:16:50.718 INFO] cloudBuild.ts:main - new MaterialManager [miniapp 09:16:51.492 INFO] material.ts - fetchTaskRes finished [miniapp 09:16:51.519 INFO] material.ts - gunzip finished [miniapp 09:16:51.520 INFO] material.ts - wxapkg.unpack finished [miniapp 09:16:51.530 INFO] material.ts - getMaterial 写入project目录 [miniapp 09:16:51.561 INFO] material.ts - tryGetIOSMiniappJson finished [miniapp 09:16:51.561 INFO] material.ts - [generateMiniappIOSResources] not using iPad Beta [miniapp 09:16:51.561 INFO] material.ts - downloadMiniappIOSResources ing ... [miniapp 09:16:51.562 INFO] material.ts - /generic/wechatdevtools/custom/ios-sdk/1.2.25/x86.zip [miniapp 09:16:51.563 INFO] material.ts - /generic/wechatdevtools/custom/ios-sdk/1.2.25/arm64.zip [miniapp 09:16:51.563 INFO] material.ts - /generic/wechatdevtools/custom/ios-sdk/1.2.25/WeAppSDK-1.2.25.zip [miniapp 09:16:55.251 INFO] material.ts - /Volumes/data/workspace/v2-ipa/1.2.25/arm64.zip downloaded successfully. [miniapp 09:16:56.199 INFO] material.ts - /Volumes/data/workspace/v2-ipa/1.2.25/x86.zip downloaded successfully. [miniapp 09:16:57.380 INFO] material.ts - /Volumes/data/workspace/v2-ipa/1.2.25/WeAppSDK-1.2.25.zip downloaded successfully. [miniapp 09:16:57.381 INFO] material.ts - Download ios resources successfully [miniapp 09:16:57.381 INFO] material.ts - [generateMiniappIOSResources] Archive ios resources... [miniapp 09:17:01.062 INFO] material.ts - this.generateMiniappIOSResources finished [miniapp 09:17:01.064 INFO] cloudBuild.ts:main - finished materialManagerIns.getProjectMaterial. [miniapp 09:17:01.091 INFO] material.ts - mvMiniprogrameWxapkg success [miniapp 09:17:01.092 INFO] cloudBuild.ts:main - finished mvMiniprogrameWxapkg. [miniapp 09:17:01.092 INFO] cloudBuild.ts:main - 50000000 doing iOS cloud build in landun start [miniapp 09:17:01.139 INFO] cloudBuild.ts:main - 50000000 doing /Volumes/data/workspace/project/cer/54DRFR5D5L.p12 com.dada.tongzhiba [miniapp 09:17:01.140 INFO] cloudBuild.ts:main - 50000000 doing /Volumes/data/workspace/cer [miniapp 09:17:01.145 ERROR] cloudBuild.ts:main - 50000000 fail create-keychain "-p" "123456" "ios-build.keychain" [miniapp 09:17:01.177 INFO] cloudBuild.ts:main - 50000000 doing create done [miniapp 09:17:01.182 ERROR] cloudBuild.ts:main - 50000000 fail import "/Volumes/data/workspace/cer/intermediate/AppleWWDRCA.cer" "-k" "/Users/bkdevops/Library/Keychains/ios-build.keychain" "-T" "/usr/bin/codesign" [miniapp 09:17:01.324 INFO] cloudBuild.ts:main - 50000000 doing 1 certificate imported. [miniapp 09:17:01.329 ERROR] cloudBuild.ts:main - 50000000 fail import "/Volumes/data/workspace/cer/intermediate/AppleWWDRCAG3.cer" "-k" "/Users/bkdevops/Library/Keychains/ios-build.keychain" "-T" "/usr/bin/codesign" [miniapp 09:17:01.367 INFO] cloudBuild.ts:main - 50000000 doing 1 certificate imported. [miniapp 09:17:01.371 ERROR] cloudBuild.ts:main - 50000000 fail import "/Volumes/data/workspace/cer/intermediate/AppleWWDRCAG4.cer" "-k" "/Users/bkdevops/Library/Keychains/ios-build.keychain" "-T" "/usr/bin/codesign" [miniapp 09:17:01.414 INFO] cloudBuild.ts:main - 50000000 doing 1 certificate imported. [miniapp 09:17:01.418 ERROR] cloudBuild.ts:main - 50000000 fail import "/Volumes/data/workspace/cer/intermediate/DeveloperIDG2CA.cer" "-k" "/Users/bkdevops/Library/Keychains/ios-build.keychain" "-T" "/usr/bin/codesign" [miniapp 09:17:01.458 INFO] cloudBuild.ts:main - 50000000 doing 1 certificate imported. [miniapp 09:17:01.459 INFO] cloudBuild.ts:main - 50000000 doing import intermediate cer done [miniapp 09:17:01.657 INFO] cloudBuild.ts:main - 50000000 doing 1 identity imported. [miniapp 09:17:01.658 INFO] cloudBuild.ts:main - 50000000 doing import p12 done [miniapp 09:17:01.662 ERROR] cloudBuild.ts:main - 50000000 fail list-keychains "-s" "/Users/bkdevops/Library/Keychains/ios-build.keychain" [miniapp 09:17:01.695 INFO] cloudBuild.ts:main - 50000000 doing list-keychain done [miniapp 09:17:01.698 ERROR] cloudBuild.ts:main - 50000000 fail unlock-keychain "-p" "123456" "/Users/bkdevops/Library/Keychains/ios-build.keychain" [miniapp 09:17:01.710 INFO] cloudBuild.ts:main - 50000000 doing unlock-keychain done [miniapp 09:17:01.752 INFO] cloudBuild.ts:main - 50000000 doing set-keychain-settings done [miniapp 09:17:01.809 INFO] cloudBuild.ts:main - 50000000 doing keychain: "/Users/bkdevops/Library/Keychains/ios-build.keychain-db" version: 512 class: 0x00000010 attributes: 0x00000000 <uint32>=0x00000010 0x00000001 <blob>=0x334438373633303100 "3D876301\000" 0x00000002 <blob>=<NULL> 0x00000003 <uint32>=0x00000001 0x00000004 <uint32>=0x00000000 0x00000005 <uint32>=0x00000000 0x00000006 <blob>=0x36BEAB4CCB37BD651FDC3E7E77FCF3D5685D5F9B "6\276\253L\3137\275e\037\334>~w\374\363\325h]_\233" 0x00000007 <blob>=<NULL> 0x00000008 <blob>=0x7B38373139316361322D306663392D313164342D383439612D3030303530326235323132327D00 "{87191ca2-0fc9-11d4-849a-000502b52122}\000" 0x00000009 <uint32>=0x0000002A "\000\000\000*" 0x0000000A <uint32>=0x00000800 0x0000000B <uint32>=0x00000800 0x0000000C <blob>=0x0000000000000000 0x0000000D <blob>=0x0000000000000000 0x0000000E <uint32>=0x00000001 0x0000000F <uint32>=0x00000001 0x00000010 <uint32>=0x00000001 0x00000011 <uint32>=0x00000000 0x00000012 <uint32>=0x00000001 0x00000013 <uint32>=0x00000001 0x00000014 <uint32>=0x00000001 0x00000015 <uint32>=0x00000001 0x00000016 <uint32>=0x00000001 0x00000017 <uint32>=0x00000001 0x00000018 <uint32>=0x00000001 0x00000019 <uint32>=0x00000001 0x0000001A <uint32>=0x00000001 [miniapp 09:17:01.810 INFO] cloudBuild.ts:main - 50000000 doing set-key-partition-list done [miniapp 09:17:01.911 INFO] cloudBuild.ts:main - 50000000 doing Policy: X.509 Basic Matching identities 1) 1DEC695E63236A2CFE7239B752FBAEFA0280A5DF "iPhone Distribution: Yichang dada Network Technology Co., Ltd. (WL3HX5R9BE)" 1 identities found Valid identities only 1) 1DEC695E63236A2CFE7239B752FBAEFA0280A5DF "iPhone Distribution: Yichang dada Network Technology Co., Ltd. (WL3HX5R9BE)" 1 valid identities found [miniapp 09:17:01.912 INFO] cloudBuild.ts:main - 50000000 doing finished [miniapp 09:17:01.915 INFO] cloudBuild.ts:main - read miniapp/ios/i18nInfo.json success [miniapp 09:17:01.915 INFO] cloudBuild.ts:main - start buildCloudManager.buildCloud is test [miniapp 09:17:01.915 INFO] cloudBuild.ts:main - isTest!! [miniapp 09:17:01.915 INFO] cloudBuild.ts:main - isTest!! [miniapp 09:17:01.915 INFO] cloudBuild.ts:main - isTest!! [miniapp 09:17:01.915 INFO] cloudBuild.ts:main - isTest!! [miniapp 09:17:02.244 INFO] cloudBuild.ts:main - 50000000 doing update app base info... [miniapp 09:17:02.301 INFO] cloudBuild.ts:main - 50000000 doing update app module info... [miniapp 09:17:02.306 INFO] cloudBuild.ts:main - 50000000 doing updatePrivacyBackgroundImage contentViewImage [miniapp 09:17:02.307 INFO] cloudBuild.ts:main - 50000000 doing updatePrivacyBackgroundImage confirmButtonImage [miniapp 09:17:02.307 INFO] cloudBuild.ts:main - 50000000 doing updatePrivacyBackgroundImage cancelButtonImage [miniapp 09:17:02.307 INFO] cloudBuild.ts:main - 50000000 doing no PlugIns folder... [miniapp 09:17:02.309 INFO] cloudBuild.ts:main - 50000000 doing not using tpush... [miniapp 09:17:02.309 INFO] cloudBuild.ts:main - 50000000 doing update app icons... [miniapp 09:17:02.309 INFO] cloudBuild.ts:main - 50000000 doing genAssetCar: true [miniapp 09:17:02.915 INFO] cloudBuild.ts:main - 50000000 doing Run command: /Volumes/data/workspace/buildCloud/bin/miniprogram-builder/static/scripts/checkXcodeEnv ... [miniapp 09:17:02.929 INFO] cloudBuild.ts:main - 50000000 doing Xcode 环境检测成功 [miniapp 09:17:02.930 INFO] cloudBuild.ts:main - 50000000 doing Successful to exec command: /Volumes/data/workspace/buildCloud/bin/miniprogram-builder/static/scripts/checkXcodeEnv [miniapp 09:17:12.423 INFO] cloudBuild.ts:main - 50000000 doing update splashscreen image... [miniapp 09:17:12.435 INFO] cloudBuild.ts:main - 50000000 doing update extendsdk... [miniapp 09:17:12.435 INFO] cloudBuild.ts:main - 50000000 doing useExtendedSdks: {"WeAppOpenFuns":false,"WeAppNetwork":true,"WeAppBluetooth":false,"WeAppMedia":true,"WeAppLBS":false,"WeAppOthers":false,"WeAppOpenFuns_HasPay":true,"WeAppSkyline":true} [miniapp 09:17:12.914 INFO] cloudBuild.ts:main - 50000000 doing pack the ipa... [miniapp 09:17:30.480 INFO] cloudBuild.ts:main - 50000000 doing Run command: /Volumes/data/workspace/buildCloud/bin/miniprogram-builder/static/scripts/checkXcodeEnv ... [miniapp 09:17:30.501 INFO] cloudBuild.ts:main - 50000000 doing Xcode 环境检测成功 [miniapp 09:17:30.502 INFO] cloudBuild.ts:main - 50000000 doing Successful to exec command: /Volumes/data/workspace/buildCloud/bin/miniprogram-builder/static/scripts/checkXcodeEnv [miniapp 09:17:30.503 INFO] cloudBuild.ts:main - 50000000 doing certificate cant find tpns profile [miniapp 09:17:30.507 INFO] cloudBuild.ts:main - 50000000 doing Run command: /Volumes/data/workspace/buildCloud/bin/miniprogram-builder/static/scripts/resignIpa /var/folders/rw/4zvtml0922j4k36bbjxbny380000gp/T/miniapp-unsigned.ipa /Volumes/data/workspace/outputs applinks:www.kdb123.con/tongzhiba/app/ com.dada.tongzhiba /Volumes/data/workspace/project/cer/comdadatongzhiba.mobileprovision... [miniapp 09:17:32.211 INFO] cloudBuild.ts:main - 50000000 doing Resigning with certificate: com.dada.tongzhiba [miniapp 09:17:32.405 INFO] cloudBuild.ts:main - 50000000 doing start to replace universalLink to applinks:www.kdb123.con/tongzhiba/app/ [miniapp 09:17:32.472 ERROR] cloudBuild.ts:main - 50000000 fail grep: warning: stray \ before / [miniapp 09:17:32.472 INFO] cloudBuild.ts:main - 50000000 doing finded previous universalLink [miniapp 09:17:32.476 INFO] cloudBuild.ts:main - 50000000 doing finished replace previous universalLink [miniapp 09:17:32.559 INFO] cloudBuild.ts:main - 50000000 doing com.dada.tongzhiba: no identity found [miniapp 09:17:32.565 ERROR] cloudBuild.ts:main - 50000000 fail -e execute codesign failed :com.dada.tongzhiba , [miniapp 09:17:32.566 ERROR] cloudBuild.ts:main - main try catch failed! Build ipa failed:codesignAndExport failed stack: Error: Build ipa failed:codesignAndExport failed at buildCloudManager.buildCloud (/Volumes/data/workspace/buildCloud/bin/miniprogram-builder/modules/nativecompiler/ios/buildCloud.js:2:22063) at async runBuild (/Volumes/data/workspace/buildCloud/bin/cloudBuild.js:151:30) at async main (/Volumes/data/workspace/buildCloud/bin/cloudBuild.js:39:9)
04-08嗯 真机试试吧 如果真机也不行,就加交流群看看
dount多端应用模式报错idaas get identityServiceConfig fail?dount多端应用模式报错idaas get identityServiceConfig fail, 看起来像是这个identityServiceConfig文件获取不到?[图片]
02-27这个确实不行。安卓没办法直接改变。 多端App的情况下需要重启你的App。这一点对用户不太好 我们暂时禁用了。 如果用户主动杀掉App 再重启 才会正常显示颜色。 https://developers.weixin.qq.com/community/develop/doc/000a88c66f00183d414c9879451400
微信的多端应用模式,是不是无法监听onThemeChange方法?我在模拟器和小程序实机上是支持正常监听的,但是在安卓上没有触发 我的sdk版本是android 1.1.4 安卓版本是13 [图片][图片]
2023-11-27这个问题已经修复了。可以更新到比较新的SDK版本,删除本地App以后重试看看
iOS端openBluetoothAdapter fail jsapi has no permis?[图片]
2023-11-13这里的原因是工具使用浏览器XHR的能力去实现wx.request 当type是arraybuffer的时候,XHR的onProgress就会为null. 所以工具侧会强制走xhr.responseType = 'text' https://stackoverflow.com/questions/55393775/javascript-xmlhttprequest-responsetype-as-arraybuffer-how-to-get-current-ar 两者确实有差异,目前不太好解决。
微信开发者工具 enableChunked 为 true 和 false 返回数据不一样问题描述: 微信开发者工具中,当接口返回数据为二进制编码的字符串,且原始字符串含有非 ASCII 字符时,enableChunked 为 true 和 false 返回数据不一样。 真机没有这个问题。 复现步骤: 我们的服务器会以 'Transfer-Encoding': 'chunked' 的方式返回二进制数据,数据内容为编码后的字符串。 示例服务器实现: const http = require('http'); const server = http.createServer((req, res) => { const encoder = new TextEncoder(); res.writeHead(200, { 'Transfer-Encoding': 'chunked', }); const data = encoder.encode('你好'); // 当原始内容包含非 ASCII 字符的时候触发这个 bug // data is Uint8Array [228, 189, 160, 229, 165, 189] res.write(data); res.end(); }); server.listen(8000, () => { console.log('Server running on port 8000'); }); 在使用小程序的 request 接口访问这个接口时,如果不设置 enableChunked,在 sucess 回调中获取的数据是正常的,并且可以正确 decode。 wx.request({ url: 'http://localhost:8000', responseType: 'arraybuffer', enableChunked: false success: (res) => { console.log(new Uint8Array(res.data)); // Uint8Array [228, 189, 160, 229, 165, 189] 正确,跟服务端发出的一样 }, }); 如果设置 enableChunked 为 false,在 onChunkReceived 回调中获取的数据时错误的,并且无法正确 decode const task = wx.request({ url: 'http://localhost:8000', responseType: 'arraybuffer', enableChunked: true }); task.onChunkReceived((res) => { console.log(new Uint8Array(res.data)); // Uint8Array [96, 125] 错误,跟服务端发出的不一样 }) 说明: 这个问题只在开发者工具上发现,真机没有这个问题。只有原始字符串包含非 ASCII 字符的时候会出现这个问题。比如把“你好”换成“Hello”就没事
2023-05-16已修复 用最新的nightly/ RC版本
macos全屏时会自动退出?macos全屏时会自动退出?
2023-05-16无法复现,是否是用了PC的模拟器机型,(点击的时候鼠标是一个箭头而不是圆形)。 可以截一个完整一点的工具图,包括了基础库版本
mac本在开发者工具使用canvas组件时bindtouchstart不触发?开发工具版本:[图片] macOs版本12.6.3 (21G419) 开发者工具中使用canvas组件时,bindtouchstart、bindtouchmove、bindtouchend不触发
2023-03-31工具是否没有文件操作的权限 xr-frame测试了一下 没有问题
开发工具Nighly Build报错log writeFile err writeFile:fai?想试用 XR-FRAME 功能,安装好 微信开发者工具(开发版 Nighly Build)1.06.2302092 后,打开项目就报错 log writeFile err writeFile:fail permission denied, open http://usr/miniprogramLog/log1 从开发工具右上角详情->基本信息->文件系统找到路径: C:\Users\zheng\AppData\Local\微信开发者工具\User Data\xxxxxxxxxxxxxxxxx\WeappSimulator\WeappFileSystem\o6xxxxxxxxxxxxx\wx52xxxxxxx\usr\ 打开后发现文件夹是空的,没有任何子文件或子文件夹。 使用 wx.getImageInfo 读取网络图片也会报错 getImageInfo:fail download image fail. reason: downloadFile:fail Error: ENOENT: no such file or directory, open '' 清缓存、重新登陆、卸载重新安装都试过还是同样的报错信息,不知道怎么搞了
2023-02-141.意思是要使用代码保护能力的话,代码里面只能require一个字符串,而不能是一个变量。 2.忽略打包的配置在packOptions内 https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html#packOptions
requires one and only one static string literal?提示如下: 'require' requires one and onldy one static string literal [图片] [图片] 后果:无法调入.js文件
2022-11-10