cocos 2dx xcode 真机编译

1.

_TARGET_BUILD_CONTENTS_PATH: /Users/admin/Library/Developer/Xcode/DerivedData/project_wly2_lua_client-glidlmxpowdxakfdpxalcgifxlbh/Build/Products/Debug-iphoneos/project_wly2_lua_client-mobile.app
PWD: /Users/admin/workspace/project_c/src
Cleaning /Users/admin/Library/Developer/Xcode/DerivedData/project_wly2_lua_client-glidlmxpowdxakfdpxalcgifxlbh/Build/Products/Debug-iphoneos/project_wly2_lua_client-mobile.app/
cp: /Users/admin/workspace/project_c/src/*: No such file or directory
Command PhaseScriptExecution failed with a nonzero exit code

修改 project.pbxproj

/* Begin PBXShellScriptBuildPhase section */
		3EC988201966433500A45E0E /* Run Script */ = {
			isa = PBXShellScriptBuildPhase;
			buildActionMask = 2147483647;
			files = (
			);
			inputPaths = (
			);
			name = "Run Script";
			outputPaths = (
			);
			runOnlyForDeploymentPostprocessing = 0;
			shellPath = /bin/sh;
			shellScript = "PWD=$HOME/code/client/project_wly2_lua_client/src\n#PWD=\"/Users/admin/code/client/project_wly2_lua_client/src\"\n_TARGET_BUILD_CONTENTS_PATH=$TARGET_BUILD_DIR/$CONTENTS_FOLDER_PATH\necho _TARGET_BUILD_CONTENTS_PATH: $_TARGET_BUILD_CONTENTS_PATH\necho PWD: $PWD\n\necho Cleaning $_TARGET_BUILD_CONTENTS_PATH/\nrm -fr $_TARGET_BUILD_CONTENTS_PATH/src/*\n                                        \n                                               \n                                               mkdir -p $_TARGET_BUILD_CONTENTS_PATH/src/\n                                               \n                                               cp -RLp $PWD/* $_TARGET_BUILD_CONTENTS_PATH/src/";
		};
/* End PBXShellScriptBuildPhase section */

 

你可能感兴趣的:(【COCOS】)