GVKun编程网logo

error: exportArchive: You don’t have permission to save the file “HelloWorld.ipa” in the folder “...

27

如果您对error:exportArchive:Youdon’thavepermissiontosavethefile“HelloWorld.ipa”inthefolder“...感兴趣,那么这篇文章

如果您对error: exportArchive: You don’t have permission to save the file “HelloWorld.ipa” in the folder “...感兴趣,那么这篇文章一定是您不可错过的。我们将详细讲解error: exportArchive: You don’t have permission to save the file “HelloWorld.ipa” in the folder “...的各种细节,此外还有关于apache You don't have permission to access / on this、apache You don't have permission to access /test.php on this server解决方法、apache You don’t have permission to access/on、apache出现You don't have permission to access / on thi的实用技巧。

本文目录一览:

error: exportArchive: You don’t have permission to save the file “HelloWorld.ipa” in the folder “...

error: exportArchive: You don’t have permission to save the file “HelloWorld.ipa” in the folder “...

 

 成功 clean 环境和生成 archive 文件之后,最后一步导出 ipa 包,遇到了权限问题:

you don’t have permission to save the file “HelloWorld.ipa” in the folder “HelloWorld

报错如下:

1 apple:HelloWorld wangju$ xcodebuild -exportArchive -archivePath build/HelloWorld.xcarchive -exportPath /build/HelloWorld/HelloWorld.ipa -exportOptionsPlist /Users/5i5j/Desktop/test/build/ExportOptions.plist
2 2019-08-15 13:00:44.623 xcodebuild[8380:246170] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path ''/var/folders/0l/l9z17kfn7tjb_k9_fmhsr9lr0000gn/T/HelloWorld_2019-08-15_13-00-44.623.xcdistributionlogs''.
3 error: exportArchive: You don’t have permission to save the file “HelloWorld.ipa” in the folder “HelloWorld”.
4 
5 Error Domain=NSCocoaErrorDomain Code=513 "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=13 "Permission denied"}}
6 
7 ** EXPORT FAILED **

这样改了也没用:https://blog.csdn.net/qq_27127385/article/details/89308551

那好吧,换个思路,既然没有权限往 HelloWorld(项目所在文件夹)导出 ipa,那我换一个文件夹

导出成功,问题解决了

1 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
2 2019-08-15 13:02:56.596 xcodebuild[8630:248915] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path ''/var/folders/0l/l9z17kfn7tjb_k9_fmhsr9lr0000gn/T/HelloWorld_2019-08-15_13-02-56.595.xcdistributionlogs''.
3 Exported HelloWorld to: /Users/5i5j/Desktop/test/build/HelloWorld/HelloWorld.ipa
4 ** EXPORT SUCCEEDED **

 

apache You don't have permission to access / on this

apache You don't have permission to access / on this

用linux源码安装Apache使用的虚拟主机的模式进行操作,几个相关的网站放在一个文件里,想法是通过网站列出的目录进行相应的网站进行操作,一切设置完成后,在浏览器中运行出现在You don''t have permission to access / on this server. 这里定义了默认对网站根

用linux源码安装apache使用的虚拟主机的模式进行操作,几个相关的网站放在一个文件里,想法是通过网站列出的目录进行相应的网站进行操作,一切设置完成后,在浏览器中运行出现在you don''t have permission to access / on this server.  这里定义了默认对网站根的访问权限.

把这个

Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all 
Directory>

改成

Directory />
    Options Indexes FollowSymLinks
    AllowOverride None
Directory>

问题解决

apache You don't have permission to access /test.php on this server解决方法

apache You don't have permission to access /test.php on this server解决方法

键字: Apache   403  Forbidden
系统配置:
操作系统:Red Hat Linux 6.2
Web服务器:Apache 3.1.1+jakarta-tomcat 3.1.1
数据库服务器:oracle 8i

Apache服务器是目前应用最多的web服务器,据统计在世界上的服务器中有超过一半采用Apache服务器.关于它的好处,您可以自己到http://www.apache.org/上去看。

今天我们的服务器出了一点儿问题:任何访问都会返回一个403的错误:

复制代码 代码如下:

  Forbidden 

  You don''t have permission to access  on this server。


不对呀,原来还好好的,在排除了目录的权限等的问题外,我几乎翻遍了系统的所有文件,尤其是/etc/httpd/conf下的所有配置文件,因为我已经将access.conf,srm.conf文件加入到httpd.conf文件中,同时在httpd.conf文件的最后加上了一句:

Include /etc/httpd/conf/tomcat.conf,以便将tomcat和apache连接起来。

在经过了一番思考之后,我认为问题肯定出在httpd.conf文件中,于是就又重新检查httpd.conf文件,终于让我发现了其中有这样一段:

复制代码 代码如下:

<Files ~>
AllowOverride AuthConfig FileInfo Indexs Limit Options
Order allow ,deny
Deny from all-----------------注意:就是这儿!!--->把这行去掉或注释掉就行!!!
</Files>

心头一阵狂喜,哈哈,想起赵本山说的一句话“小样儿,脱了马甲我也认得你”,于是改成:

Allow from all,重新启动服务器,咦,还是不行?头开始大了,心想:今儿个我是载这儿了。又翻了n多遍httpd.conf文件几乎都要背下来了还找不到问题。也怪,突然就想起来了,www.apache.org不是有个问题数据库吗,几乎所有的问题都可以在上面找到答案,于是进入http://bugs.apache.org/,查找关键字forbidden,果然就让我查到了,原来是我们一位同事想做一个虚拟主机,用了linux的配置工具linuxconf,这个工具因为版本的问题,会导致httpd.conf文件的修改,其实我只要将上面的那一段去掉就可以万事大吉了。

最终总结经验:遇到事情首先要想到到软件所在的网站上找答案,免得浪费时间。

写此文的目的:以我为反面教材,遇到问题不要自己总是认为自己可以解决,而不到专业网站上请教。很多的网站已经有了非常完善的faq,基本上可以满足大家平时的需求,比如pb的要多到www.sybase.com上走走,java到http://developer.java.sun.com上转转,vc到坏孩子家溜溜。其实一些高手不是他们有多聪明,而是他们懂得如何从有用的地方找到自己想要的东西。

我也象他那样找到了希望,也没管用。后来我乐了,但后来我又乐不起来了。那着在我这里不行啊?谁能帮我?我找!我找!不行就自救。

===================================================
===================================================
解决Apache下403 Forbidden错误

正 文:

    今天在公司电脑上安装Apache,版本2.2.8,装完刚测试可以;配置了下php的php.in文件再次localhost打开发现错误:HTTP 错误 403 - 禁止访问,即403 Forbidden:You don''t have permission to access / on this server.权限又不够了?

    马上打开apache的配置文件httpd.conf,逐行检查。在大约快一半的地方有以下这段代码:

复制代码 代码如下:

<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>

发现了吧。由于配置了php后,这里的“Deny from all”已经拒绝了一切连接。把该行改成“allow from all”,修改后的代码如下,问题解决。

复制代码 代码如下:

<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    allow from all
</Directory>

再次在浏览器里打开http://localhost,显示it works!

总结:如果你也发生了这样的403禁止访问,不妨注意下apache的httpd.conf配置文件里有“Deny from all”这行的代码处,看看是不是哪里被系统悄悄地修改了。

您可能感兴趣的文章:

apache You don’t have permission to access/on

apache You don’t have permission to access/on

本地搭建wamp,输入http://127.0.0.1访问正常,当输入http://localhost/,apache出现You don''t have permission to access/on this server.的提示,如何解决?

找到httpd.conf,用记事本打开httpd.conf,然后将

<Directory />

    Options FollowSymLinks

    AllowOverride None

    Order deny,allow

    Deny from all

</Directory>

这里改成:

<Directory />

    Options FollowSymLinks

    AllowOverride None

    Order deny,allow

    Allow from all

</Directory>

 还有一处将下面

# onlineoffline tag - don''t remove

Order Deny,Allow

Deny from all  

Allow from 127.0.0.1

</Directory>

将Deny from all  改为:Allow from all  ,然后重新启动所有服务。

现在打开localhost或127.0.0.1时发现可以访问了,但访问phpmyadmin时候,出现“You don''t have permission to access /phpmyadmin/ on this server.”的提示。

解决方法,打开如下文件:

C:\wamp\alias\phpmyadmin.conf    //这个就是你的wamp的安装目录下的内容,用记事本打开

修改成这样:

<Directory "c:/wamp/apps/phpmyadmin3.5.1/">

    Options Indexes FollowSymLinks MultiViews

    AllowOverride all

    Order Deny,Allow

    Allow from all

    Allow from localhost ::1 127.0.0.1

</Directory>

修改保存后,重启wamp ,搞定收工!

 

apache出现You don't have permission to access / on thi

apache出现You don't have permission to access / on thi

apache的配置文件httpd.conf里定义了对网站根默认的访问权限

#
Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all 
Directory>

改为

Directory />
    Options Indexes FollowSymLinks
    AllowOverride None
Directory>

 

问题解决

今天关于error: exportArchive: You don’t have permission to save the file “HelloWorld.ipa” in the folder “...的分享就到这里,希望大家有所收获,若想了解更多关于apache You don't have permission to access / on this、apache You don't have permission to access /test.php on this server解决方法、apache You don’t have permission to access/on、apache出现You don't have permission to access / on thi等相关知识,可以在本站进行查询。

本文标签:

上一篇Mac node-sass 安装失败 “v8::String::Utf8Value”(node-sass安装报错)

下一篇Redis缓存 集成SSM框架(redis缓存架构)