1***@qq.com
1***@qq.com
  • 发布:2024-12-07 16:46
  • 更新:2024-12-07 16:46
  • 阅读:60

uni-app x iOS原生SDK,创建的新工程解析JSON文件出错,说没有manifest.json,也无法加载app-config和app-service

分类:uni-app x

XCode版本:16.1
**报错信息
UniCore#layout#buildId:02527b32ebe82d87ced72e47ad30f284b6124df8
Could not create a sandbox extension for '/var/containers/Bundle/Application/87C51B31-7DED-4250-B70C-FB0CA12D58DC/UniAppX_iOS.app'
<uni-app>[error], installAppResource() 源文件不存在
<uni-app>[error], 解析 JSON 文件出错:Error Domain=NSCocoaErrorDomain Code=260 "The file “manifest.json” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/var/mobile/Containers/Data/Application/727D65F5-4FB2-49F3-962E-92B1EE9BAAAA/Documents/uni-app-x/apps/UNIHelloUniAppX/www/manifest.json, NSURL=file:///var/mobile/Containers/Data/Application/727D65F5-4FB2-49F3-962E-92B1EE9BAAAA/Documents/uni-app-x/apps/UNIHelloUniAppX/www/manifest.json, NSUnderlyingError=0x3010fc1e0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
<uni-app>[error], UniAppBundleLoader.loadResources:load app-config falied
<uni-app>[error], UniAppBundleLoader.loadResources:load app-service falied
Failed to terminate process: Error Domain=com.apple.extensionKit.errorDomain Code=18 "(null)" UserInfo={NSUnderlyingError=0x3010d5770 {Error Domain=RBSRequestErrorDomain Code=3 "No such process found" UserInfo={NSLocalizedFailureReason=No such process found}}}
Failed to terminate process: Error Domain=com.apple.extensionKit.errorDomain Code=18 "(null)" UserInfo={NSUnderlyingError=0x301037450 {Error Domain=RBSRequestErrorDomain Code=3 "No such process found" UserInfo={NSLocalizedFailureReason=No such process found}}}
0x10f000ac0 - GPUProcessProxy::gpuProcessExited: reason=IdleExit
Failed to terminate process: Error Domain=com.apple.extensionKit.errorDomain Code=18 "(null)" UserInfo={NSUnderlyingError=0x301039770 {Error Domain=RBSRequestErrorDomain Code=3 "No such process found" UserInfo={NSLocalizedFailureReason=No such process found}}}

  1. 不知道是不是uni-app-x/apps目录创建问题(创建的是Folder目录)
  2. 还是DCloudUTSExtAPI.xcframework打包有问题
  3. 还是Info.plist配置有问题
  4. 还是uni-app-x打包有问题
2024-12-07 16:46 负责人:无 分享
已邀请:

要回复问题请先登录注册