error: exportArchive: You don’t have permission to save the file “HelloWorld.ipa” in the folder “HelloWorld”.
成功clean环境和生成archive文件之后,最后一步导出ipa包,遇到了权限问题:
you don’t have permission to save the file “HelloWorld.ipa” in the folder “HelloWorld
报错如下:
apple:HelloWorld wangju$ xcodebuild -exportArchive -archivePath build/HelloWorld.xcarchive -exportPath /build/HelloWorld/HelloWorld.ipa -exportOptionsPlist /Users/5i5j/Desktop/test/build/ExportOptions.plist
-- ::44.623 xcodebuild[:] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/0l/l9z17kfn7tjb_k9_fmhsr9lr0000gn/T/HelloWorld_2019-08-15_13-00-44.623.xcdistributionlogs'.
error: exportArchive: You don’t have permission to save the file “HelloWorld.ipa” in the folder “HelloWorld”. Error Domain=NSCocoaErrorDomain Code= "You don’t have permission to save the file “HelloWorld.ipa” in the folder “HelloWorld”." UserInfo={NSFilePath=/build/HelloWorld/HelloWorld.ipa, NSUnderlyingError=0x7ff1e06925f0 {Error Domain=NSPOSIXErrorDomain Code= "Permission denied"}} ** EXPORT FAILED **
这样改了也没用:https://blog.csdn.net/qq_27127385/article/details/89308551
那好吧,换个思路,既然没有权限往HelloWorld(项目所在文件夹)导出ipa,那我换一个文件夹
导出成功,问题解决了
apple:HelloWorld machenglin$ xcodebuild -exportArchive -archivePath build/HelloWorld.xcarchive -exportPath /Users/5i5j/Desktop/test/build/HelloWorld/HelloWorld.ipa -exportOptionsPlist /Users/5i5j/Desktop/test/build/ExportOptions.plist
-- ::56.596 xcodebuild[:] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/0l/l9z17kfn7tjb_k9_fmhsr9lr0000gn/T/HelloWorld_2019-08-15_13-02-56.595.xcdistributionlogs'.
Exported HelloWorld to: /Users/5i5j/Desktop/test/build/HelloWorld/HelloWorld.ipa
** EXPORT SUCCEEDED **
error: exportArchive: You don’t have permission to save the file “HelloWorld.ipa” in the folder “HelloWorld”.的更多相关文章
- Mac修改文件权限:You don’t have permission to save the file
1.从互联网上或者其他途径拿过来的工程代码,往往会报下面的提示: (1)打开文件的时候出现窗口提示You don’t have permission to save the file “project ...
- gerrit集成gitweb:Error injecting constructor, java.io.IOException: Permission denied
使用gerrit账户在centos上安装gerrit,然后集成gitweb,gerrit服务启动失败,查看日志,报错信息如下: [-- ::,] ERROR com.google.gerrit.pgm ...
- mysql [ERROR] Can't create IP socket: Permission denied
/*************************************************************************** * mysql [ERROR] Can't c ...
- error: exportArchive: The data couldn’t be read because it isn’t in the correct format.
在执行ios 打包的时候,我们通过执行下面的指令来打包ipa: mkdir arch archive_path=arch/${app_name}.xcarchive workspace_name=HP ...
- 报错:HDFS IO error org.apache.hadoop.security.AccessControlException: Permission denied: user=root, access=WRITE, inode="/yk/dl/alarm_his":hdfs:supergroup:drwxr-xr-x
报错背景: CDH集成了Flume服务,准备通过Flume将kafka中的数据放到HDFS中, 启动Flume的时候报错. 报错现象: // :: INFO hdfs.HDFSDataStream: ...
- jenkins打包iOS 报错:error: exportArchive: The data couldn’t be read because it isn’t in the correct format.
在执行ios 打包的时候,我们通过执行下面的指令来打包ipa: mkdir arch archive_path=arch/${app_name}.xcarchive workspace_name=HP ...
- afx.h(78): fatal error C1083: 无法打开包括文件: “new.h”: No such file or directory
vs2015新建mfc工程,编译错误: D:\program files (x86)\microsoft visual studio 14.0\vc\atlmfc\include\afx.h(78): ...
- [Android] Android 使用Greendao gradle 出现 Error:Unable to find method 'org.gradle.api.tasks.TaskInputs.file(Ljava/lang/Object;)
Android 使用Greendao gradle 出现 Error:Unable to find method 'org.gradle.api.tasks.TaskInputs.file(Ljava ...
- fatal error C1083: 无法打开包括文件: “SDKDDKVer.h”: No such file or directory(转)
fatal error C1083: 无法打开包括文件: “SDKDDKVer.h”: No such file or directory 解决办法:(Vs2013中) 项目--右键--属性--配置属 ...
随机推荐
- Scrapy 教程(三)-网站解析
有经验的人都知道,解析网站需要尝试,看看得到的数据是不是想要的,那么在scrapy中怎么尝试呢? 调试工具-shell 主要用于编写解析器 命令行进入shell scrapy shell url 这个 ...
- C#多线程下更新UI的几种方法
1. 使用UI线程的SynchronizationContext的Post/Send方法,这种情况一般在窗体构造函数或者FormLoad中获取同步上下文: 范例: public partial cla ...
- vscode调试php
xdebug调试vscode 下载xdebug.dll扩展库 php.ini配置 [XDebug] xdebug.remote_enable = xdebug.remote_autostart = z ...
- Dva框架从初识到上手
引言 最近工作需要用dva框架,同事帮我培训了一下,有一点点认识,在此总结. 当然,以后对dva可能会了解更透彻,文章会不断更新的. 初识 开始看架构代码,没有看文档的时候,不知道里面的几个关键字 ...
- 410-基于XCVU9P+ C6678的40G光纤的加速卡
基于XCVU9P+ C6678的40G光纤的加速卡 一.板卡概述 二.处理板技术指标 • 板卡为自定义结构,板卡大小332mmx260mm; • FPGA采用Xilinx Virtex Ultra ...
- 基于linux(CentOS7)数据库性能优化(Postgresql)
基于CentOS7数据库性能优化(Postgresql) 1. 磁盘 a) Barriers IO i. 通过查看linux是否加载libata,确定是否开 ...
- JavaScript设计模式 样例三 —— 装饰模式
装饰模式(Decorator Pattern): 定义:在不改变原对象的情况下,动态的给对象添加一些额外的职责.就功能而言,装饰模式相比生成子类更为灵活. 目的:把类的核心职责和装饰功能区分开.可以去 ...
- evpp::buffer使用
evpp::Buffer testmsg; const char* buf123 = "12342333333333333333333333333323424324234234"; ...
- C语言对传入参数的处理
/* Loop through argv parsing options. */ while ((c = getopt(argc, argv, ":f:a:l:h")) != ...
- 设置mysql数据表列自动递增以及数据行插入操作
创建mysql数据表,设置id列递增.主键create table running_log ( id int primary key auto_increment, routename varchar ...