English 中文(简体)
XCode Rons, 用于制作目录和复印文档的步行未能成功
原标题:XCode Run Script step to create directory and copy file is failing

在我工作期间,我有以下习惯文字:

mkdir -p "${CONTENTS_FOLDER_PATH}/Frameworks" cp "${SRCROOT}/testing.1.dylib" "${CONTENTS_FOLDER_PATH}/Frameworks"

文字成功运行,但当我检查框架目录时不存在。

难道不应该像我所期望的那样发挥作用? (通过测试创建的玻璃纤维。) 页: 1

Edit: Added screenshot of the runscript. RunScript

问题回答

如何尝试:

dst=${CONFIGURATION_BUILD_DIR}/${CONTENTS_FOLDER_PATH}/Frameworks
mkdir -p "${dst}"
cp "..." "$dst"

(我发现你的例子,并按上文加以调整,以复制我的框架的折中。)





相关问题
XCode fails to deploy iPhone app to iPhone 3GS

So I built my iPhone app and it runs fine in the simulator so I wanted to deploy it to my iPhone for one last testing round before I go into open beta testing wiht my distribution profile. I did this ...

How can I "add existing frameworks" in Xcode 4?

I can t find the good old "Add existing frameworks" option. How do I do this? We re talking about Xcode 4 DP2 (in the context of iPhone development, as far as it matters...).

How to rename a project in Xcode?

There are some pretty horrible instructions out there for renaming projects in Xcode. Is there no easy way to do this?

Where did the script menu go in Xcode 4?

I always love the script menu from Xcode and the ability to automatically generate accessor methods definition und declaration. But it looks like in Xcode4 there is no such thing anymore. I know I can ...

Xcode 4 - Connecting Outlets

This page shows how easily I can connect outlets http://developer.apple.com/technologies/tools/whats-new.html in Xcode 4, but I can t get it. I right click and drag an outlet from the new ...

GCC to LLVM migration tips?

Xcode 4 comes with LLVM. As a casual programmer (i.e. download some open source projects and compile them on a mac via command line), is there any tips for the transition?

Building dependencies in Xcode 4

I have a project that has a dependency on a static library. In Xcode 3.2.3 the project that builds the library is setup as a direct dependency in the target settings so that the library is built ...

热门标签