gpt4 book ai didi

ibm-mobilefirst - buildtime.sh “Permission denied” when building in Xcode - Native Project generated by WL Ant Task

转载 作者:行者123 更新时间:2023-12-02 01:05:38 26 4
gpt4 key购买 nike

请引用以下帖子。

IBM Worklight - "Permission denied" when building in Xcode

我正在使用 Worklight 6.1。我使用 Ant Task 构建环境。 Ant 任务为 android 和 iPhone 环境创建我的 native 文件夹。我尝试构建由 Ant Task 生成的 iPhone native ,但出现以下错误。尝试手动授予读取和权限。没有修复。

Running a custom build phase script: buildtime.sh
/Users/prasanna/Library/Developer/Xcode/DerivedData/MobileAppIphone-coksdtlrretmihenzyztxxxdcuss/Build/Intermediates/MobileAppIphone.build/Debug-iphonesimulator/MobileAppIphone.build/Script-427B829D1393724500F223DC.sh: line 7: /Volumes/DataHD/ST/Mobile_Client/temp/PROD/iPhone/buildtime.sh: Permission denied
DONE with script: buildtime.sh (exitStatus=126)\n\n

最佳答案

验证以下内容:

  1. 在 Eclipse 中创建项目
  2. 使用 Worklight Studio 构建它
  3. 右键点击生成的iphone\native\buildtime.sh文件

检查是否有权限

用 Ant 做同样的事情
检查是否有需要的权限

如果结果不同,则这是 Worklight 6.1.0.x 中的一个缺陷


也就是说,按照您链接到的答案中的一个选项应该工作,但是您没有提到您遵循了哪个选项...

鉴于您使用的是命令行,我会选择遵循第二个选项来使用 CHMOD。

可能是你给的路径不对。
试验路径并返回结果。

you can also change the permission using [CHMOD][3]:

  1. Copy the path to the folder holding the buildtime.sh file
  2. Open the Terminal app
  3. Run the following command (but use your own path from 1 above): chmod 755
    /Users/idan/Documents/Worklight/workspace-6001/TestProject/apps/TestApp/iphone/native/buildtime.sh

关于ibm-mobilefirst - buildtime.sh “Permission denied” when building in Xcode - Native Project generated by WL Ant Task,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22852168/

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