gpt4 book ai didi

ios - 尝试制作存档时 Xcode tmp/strip 错误

转载 作者:行者123 更新时间:2023-11-28 23:24:55 30 4
gpt4 key购买 nike

我正在做一个用 AngularJS、Cordova 和 Ionic 编写的项目。

当我尝试在 XCode 中构建我的项目以放入 apple store 时,出现此错误:

Strip /Users/swdev/Library/Developer/Xcode/DerivedData/Self_Service-dmwurawdbtvnmpgdsjvsyxoxafvo/Build/Intermediates.noindex/ArchiveIntermediates/Self\ Service/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libCordova.a (in target 'CordovaLib' from project 'CordovaLib')
cd /Users/swdev/Documents/SelfServiceApp/platforms/ios/CordovaLib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip -S -T /Users/swdev/Library/Developer/Xcode/DerivedData/Self_Service-dmwurawdbtvnmpgdsjvsyxoxafvo/Build/Intermediates.noindex/ArchiveIntermediates/Self\ Service/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libCordova.a

fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip: can't open temporary file: /tmp/strip.AH03t9 (No such file or directory)
Command Strip failed with a nonzero exit code

ionic 信息

ionic :

Ionic CLI:5.0.2 (/usr/local/lib/node_modules/ionic) ionic 框架:ionic1 1.3.5@ionic/v1-工具包:1.0.22

Cordova :

Cordova CLI:8.1.2 (cordova-lib@8.1.1) Cordova 平台:android 8.1.0,ios 5.0.1Cordova 插件:没有列入白名单的插件(总共 15 个插件)

实用程序:

cordova-res:未安装 native 运行:0.2.5

系统:

Android SDK 工具:26.1.1 (/Users/swdev/Library/Android/sdk)iOS 部署:1.9.4iOS-SIM:8.0.2NodeJS:v10.16.3 (/usr/local/bin/node)npm:6.11.3操作系统:macOS CatalinaXcode:Xcode 11.0 构建版本 11A420a

Cordova 要求ios的需求检查结果:Apple macOS:安装了 darwinXcode:安装11.0ios-deploy: 已安装 1.9.4CocoaPods:已安装 1.8.0

enter image description here

最佳答案

检查/tmp 文件夹是否存在并且您有写入权限

关于ios - 尝试制作存档时 Xcode tmp/strip 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58973163/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com