1

我有一个项目,我正在模拟器和本机设备中编译和运行,但我废弃了。从那以后,我创建了一个与我删除的项目同名的新项目。但是,每当我去编译那个新应用程序时,我都会收到以下错误:

mkdir: /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Products/Debug-iphonesimulator/UnionConnect.app/www/build/native/My: File exists

我努力了:

  • 打扫
  • 删除 ~/Library/Developer/Xcode/DerivedData 文件夹及其所有内容
  • 重新启动 xCode
  • 重新安装 xCode
  • 重新启动我的 Mac

这些都不起作用。该应用程序根本无法编译,并且每当我尝试这样做时都会出现错误?

我希望我能更具体一些,但由于我什至不知道要寻找什么作为错误的标记,我将不得不等待任何具体的问题,我可以尽力回答。

我在这里做错了什么?

更新:这是构建的完整记录:

PhaseScriptExecution "Copy www directory" /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Intermediates/UnionConnect.build/Debug-iphonesimulator/UnionConnect.build/Script-304B58A110DAC018002A0835.sh
    cd /Users/morrissinger/XCodeApplications/UnionConnect
    setenv ACTION build
    setenv ALTERNATE_GROUP staff
    setenv ALTERNATE_MODE u+w,go-w,a+rX
    setenv ALTERNATE_OWNER morrissinger
    setenv ALWAYS_SEARCH_USER_PATHS NO
    setenv APPLE_INTERNAL_DEVELOPER_DIR /AppleInternal/Developer
    setenv APPLE_INTERNAL_DIR /AppleInternal
    setenv APPLE_INTERNAL_DOCUMENTATION_DIR /AppleInternal/Documentation
    setenv APPLE_INTERNAL_LIBRARY_DIR /AppleInternal/Library
    setenv APPLE_INTERNAL_TOOLS /AppleInternal/Developer/Tools
    setenv APPLY_RULES_IN_COPY_FILES NO
    setenv ARCHS i386
    setenv ARCHS_STANDARD_32_BIT i386
    setenv ARCHS_UNIVERSAL_IPHONE_OS i386
    setenv AVAILABLE_PLATFORMS "iphonesimulator macosx iphoneos"
    setenv BUILD_COMPONENTS "headers build"
    setenv BUILD_DIR /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Products
    setenv BUILD_ROOT /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Products
    setenv BUILD_STYLE 
    setenv BUILD_VARIANTS normal
    setenv BUILT_PRODUCTS_DIR /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Products/Debug-iphonesimulator
    setenv CACHE_ROOT /var/folders/zb/9_ts57jj4_b67zhdd8shsqvh0000gn/C/com.apple.Xcode.501
    setenv CCHROOT /var/folders/zb/9_ts57jj4_b67zhdd8shsqvh0000gn/C/com.apple.Xcode.501
    setenv CHMOD /bin/chmod
    setenv CHOWN /usr/sbin/chown
    setenv CLANG_ENABLE_OBJC_ARC NO
    setenv CLANG_WARN_CONSTANT_CONVERSION YES
    setenv CLANG_WARN_ENUM_CONVERSION YES
    setenv CLANG_WARN_INT_CONVERSION YES
    setenv CLANG_WARN__DUPLICATE_METHOD_MATCH YES
    setenv CLASS_FILE_DIR /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Intermediates/UnionConnect.build/Debug-iphonesimulator/UnionConnect.build/JavaClasses
    setenv CLEAN_PRECOMPS YES
    setenv CLONE_HEADERS NO
    setenv CODESIGNING_FOLDER_PATH /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Products/Debug-iphonesimulator/UnionConnect.app
    setenv COMMAND_MODE legacy
    setenv COMPOSITE_SDK_DIRS /var/folders/zb/9_ts57jj4_b67zhdd8shsqvh0000gn/C/com.apple.Xcode.501/CompositeSDKs
    setenv COMPRESS_PNG_FILES YES
    setenv CONFIGURATION Debug
    setenv CONFIGURATION_BUILD_DIR /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Products/Debug-iphonesimulator
    setenv CONFIGURATION_TEMP_DIR /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Intermediates/UnionConnect.build/Debug-iphonesimulator
    setenv CONTENTS_FOLDER_PATH UnionConnect.app
    setenv COPYING_PRESERVES_HFS_DATA NO
    setenv COPY_PHASE_STRIP NO
    setenv COPY_RESOURCES_FROM_STATIC_FRAMEWORKS YES
    setenv CP /bin/cp
    setenv CURRENT_ARCH i386
    setenv CURRENT_VARIANT normal
    setenv DEAD_CODE_STRIPPING NO
    setenv DEBUGGING_SYMBOLS YES
    setenv DEBUG_INFORMATION_FORMAT dwarf-with-dsym
    setenv DEFAULT_COMPILER com.apple.compilers.llvm.clang.1_0
    setenv DEPLOYMENT_LOCATION NO
    setenv DEPLOYMENT_POSTPROCESSING NO
    setenv DERIVED_FILES_DIR /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Intermediates/UnionConnect.build/Debug-iphonesimulator/UnionConnect.build/DerivedSources
    setenv DERIVED_FILE_DIR /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Intermediates/UnionConnect.build/Debug-iphonesimulator/UnionConnect.build/DerivedSources
    setenv DERIVED_SOURCES_DIR /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Intermediates/UnionConnect.build/Debug-iphonesimulator/UnionConnect.build/DerivedSources
    setenv DEVELOPER_APPLICATIONS_DIR /Applications/Xcode.app/Contents/Developer/Applications
    setenv DEVELOPER_BIN_DIR /Applications/Xcode.app/Contents/Developer/usr/bin
    setenv DEVELOPER_DIR /Applications/Xcode.app/Contents/Developer
    setenv DEVELOPER_FRAMEWORKS_DIR /Applications/Xcode.app/Contents/Developer/Library/Frameworks
    setenv DEVELOPER_FRAMEWORKS_DIR_QUOTED "\"/Applications/Xcode.app/Contents/Developer/Library/Frameworks\""
    setenv DEVELOPER_LIBRARY_DIR /Applications/Xcode.app/Contents/Developer/Library
    setenv DEVELOPER_SDK_DIR /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
    setenv DEVELOPER_TOOLS_DIR /Applications/Xcode.app/Contents/Developer/Tools
    setenv DEVELOPER_USR_DIR /Applications/Xcode.app/Contents/Developer/usr
    setenv DEVELOPMENT_LANGUAGE English
    setenv DOCUMENTATION_FOLDER_PATH UnionConnect.app/English.lproj/Documentation
    setenv DO_HEADER_SCANNING_IN_JAM NO
    setenv DSTROOT /tmp/UnionConnect.dst
    setenv DT_TOOLCHAIN_DIR /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
    setenv DWARF_DSYM_FILE_NAME UnionConnect.app.dSYM
    setenv DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT NO
    setenv DWARF_DSYM_FOLDER_PATH /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Products/Debug-iphonesimulator
    setenv EFFECTIVE_PLATFORM_NAME -iphonesimulator
    setenv ENABLE_HEADER_DEPENDENCIES YES
    setenv EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS ".DS_Store .svn .git .hg CVS"
    setenv EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES "*.nib *.lproj *.framework *.gch (*) .DS_Store CVS .svn .git .hg *.xcodeproj *.xcode *.pbproj *.pbxproj"
    setenv EXECUTABLES_FOLDER_PATH UnionConnect.app/Executables
    setenv EXECUTABLE_FOLDER_PATH UnionConnect.app
    setenv EXECUTABLE_NAME UnionConnect
    setenv EXECUTABLE_PATH UnionConnect.app/UnionConnect
    setenv FILE_LIST /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Intermediates/UnionConnect.build/Debug-iphonesimulator/UnionConnect.build/Objects/LinkFileList
    setenv FIXED_FILES_DIR /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Intermediates/UnionConnect.build/Debug-iphonesimulator/UnionConnect.build/FixedFiles
    setenv FRAMEWORKS_FOLDER_PATH UnionConnect.app/Frameworks
    setenv FRAMEWORK_FLAG_PREFIX -framework
    setenv FRAMEWORK_SEARCH_PATHS "\"/Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Products/Debug-iphonesimulator\" "
    setenv FRAMEWORK_VERSION A
    setenv FULL_PRODUCT_NAME UnionConnect.app
    setenv GCC3_VERSION 3.3
    setenv GCC_C_LANGUAGE_STANDARD c99
    setenv GCC_DYNAMIC_NO_PIC NO
    setenv GCC_INLINES_ARE_PRIVATE_EXTERN YES
    setenv GCC_OBJC_LEGACY_DISPATCH YES
    setenv GCC_OPTIMIZATION_LEVEL 0
    setenv GCC_PFE_FILE_C_DIALECTS "c objective-c c++ objective-c++"
    setenv GCC_PRECOMPILE_PREFIX_HEADER YES
    setenv GCC_PREFIX_HEADER UnionConnect/UnionConnect-Prefix.pch
    setenv GCC_SYMBOLS_PRIVATE_EXTERN YES
    setenv GCC_THUMB_SUPPORT NO
    setenv GCC_TREAT_WARNINGS_AS_ERRORS NO
    setenv GCC_VERSION com.apple.compilers.llvm.clang.1_0
    setenv GCC_VERSION_IDENTIFIER com_apple_compilers_llvm_clang_1_0
    setenv GCC_WARN_ABOUT_RETURN_TYPE YES
    setenv GCC_WARN_UNINITIALIZED_AUTOS YES
    setenv GCC_WARN_UNUSED_VARIABLE YES
    setenv GENERATE_MASTER_OBJECT_FILE NO
    setenv GENERATE_PKGINFO_FILE YES
    setenv GENERATE_PROFILING_CODE NO
    setenv GID 20
    setenv GROUP staff
    setenv HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT YES
    setenv HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES YES
    setenv HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS YES
    setenv HEADERMAP_INCLUDES_PROJECT_HEADERS YES
    setenv HEADER_SEARCH_PATHS "\"/Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Products/Debug-iphonesimulator/include\" \"/Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Products/Debug-iphonesimulator/usr/local/lib/include\" \"/Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Intermediates/UninstalledProducts/include\" \"/Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Products/Debug-iphonesimulator\""
    setenv ICONV /usr/bin/iconv
    setenv INFOPLIST_EXPAND_BUILD_SETTINGS YES
    setenv INFOPLIST_FILE UnionConnect/UnionConnect-Info.plist
    setenv INFOPLIST_OUTPUT_FORMAT binary
    setenv INFOPLIST_PATH UnionConnect.app/Info.plist
    setenv INFOPLIST_PREPROCESS NO
    setenv INFOSTRINGS_PATH UnionConnect.app/English.lproj/InfoPlist.strings
    setenv INSTALL_DIR /tmp/UnionConnect.dst/Applications
    setenv INSTALL_GROUP staff
    setenv INSTALL_MODE_FLAG u+w,go-w,a+rX
    setenv INSTALL_OWNER morrissinger
    setenv INSTALL_PATH /Applications
    setenv INSTALL_ROOT /tmp/UnionConnect.dst
    setenv IPHONEOS_DEPLOYMENT_TARGET 5.0
    setenv JAVAC_DEFAULT_FLAGS "-J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8"
    setenv JAVA_APP_STUB /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
    setenv JAVA_ARCHIVE_CLASSES YES
    setenv JAVA_ARCHIVE_TYPE JAR
    setenv JAVA_COMPILER /usr/bin/javac
    setenv JAVA_FOLDER_PATH UnionConnect.app/Java
    setenv JAVA_FRAMEWORK_RESOURCES_DIRS Resources
    setenv JAVA_JAR_FLAGS cv
    setenv JAVA_SOURCE_SUBDIR .
    setenv JAVA_USE_DEPENDENCIES YES
    setenv JAVA_ZIP_FLAGS -urg
    setenv JIKES_DEFAULT_FLAGS "+E +OLDCSO"
    setenv KEEP_PRIVATE_EXTERNS NO
    setenv LD_GENERATE_MAP_FILE NO
    setenv LD_MAP_FILE_PATH /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Intermediates/UnionConnect.build/Debug-iphonesimulator/UnionConnect.build/UnionConnect-LinkMap-normal-i386.txt
    setenv LD_NO_PIE NO
    setenv LEGACY_DEVELOPER_DIR /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
    setenv LEX lex
    setenv LIBRARY_FLAG_NOSPACE YES
    setenv LIBRARY_FLAG_PREFIX -l
    setenv LIBRARY_SEARCH_PATHS "\"/Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Products/Debug-iphonesimulator\" "
    setenv LINKER_DISPLAYS_MANGLED_NAMES NO
    setenv LINK_FILE_LIST_normal_i386 /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Intermediates/UnionConnect.build/Debug-iphonesimulator/UnionConnect.build/Objects-normal/i386/UnionConnect.LinkFileList
    setenv LINK_WITH_STANDARD_LIBRARIES YES
    setenv LOCALIZED_RESOURCES_FOLDER_PATH UnionConnect.app/English.lproj
    setenv LOCAL_ADMIN_APPS_DIR /Applications/Utilities
    setenv LOCAL_APPS_DIR /Applications
    setenv LOCAL_DEVELOPER_DIR /Library/Developer
    setenv LOCAL_LIBRARY_DIR /Library
    setenv MACH_O_TYPE mh_execute
    setenv MACOSX_DEPLOYMENT_TARGET 10.6
    setenv MAC_OS_X_PRODUCT_BUILD_VERSION 12C60
    setenv MAC_OS_X_VERSION_ACTUAL 1082
    setenv MAC_OS_X_VERSION_MAJOR 1080
    setenv MAC_OS_X_VERSION_MINOR 0802
    setenv NATIVE_ARCH i386
    setenv NATIVE_ARCH_32_BIT i386
    setenv NATIVE_ARCH_64_BIT x86_64
    setenv NATIVE_ARCH_ACTUAL x86_64
    setenv NO_COMMON YES
    setenv OBJC_ABI_VERSION 2
    setenv OBJECT_FILE_DIR /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Intermediates/UnionConnect.build/Debug-iphonesimulator/UnionConnect.build/Objects
    setenv OBJECT_FILE_DIR_normal /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Intermediates/UnionConnect.build/Debug-iphonesimulator/UnionConnect.build/Objects-normal
    setenv OBJROOT /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Intermediates
    setenv ONLY_ACTIVE_ARCH NO
    setenv OPTIMIZATION_LEVEL 0
    setenv OS MACOS
    setenv OSAC /usr/bin/osacompile
    setenv OTHER_LDFLAGS "-weak_framework CoreFoundation -weak_framework UIKit -weak_framework AVFoundation -weak_framework CoreMedia -weak-lSystem -all_load -Obj-C"
    setenv PACKAGE_TYPE com.apple.package-type.wrapper.application
    setenv PASCAL_STRINGS YES
    setenv PATH "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/local/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Tools:/usr/bin:/bin:/usr/sbin:/sbin"
    setenv PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES "/usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms"
    setenv PBDEVELOPMENTPLIST_PATH UnionConnect.app/pbdevelopment.plist
    setenv PFE_FILE_C_DIALECTS objective-c
    setenv PKGINFO_FILE_PATH /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Intermediates/UnionConnect.build/Debug-iphonesimulator/UnionConnect.build/PkgInfo
    setenv PKGINFO_PATH UnionConnect.app/PkgInfo
    setenv PLATFORM_DEVELOPER_APPLICATIONS_DIR /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications
    setenv PLATFORM_DEVELOPER_BIN_DIR /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin
    setenv PLATFORM_DEVELOPER_LIBRARY_DIR /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library
    setenv PLATFORM_DEVELOPER_SDK_DIR /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs
    setenv PLATFORM_DEVELOPER_TOOLS_DIR /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Tools
    setenv PLATFORM_DEVELOPER_USR_DIR /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr
    setenv PLATFORM_DIR /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
    setenv PLATFORM_NAME iphonesimulator
    setenv PLATFORM_PREFERRED_ARCH i386
    setenv PLATFORM_PRODUCT_BUILD_VERSION 10B141
    setenv PLATFORM_VERSION_AVAILABILITY_H_FORMAT 60100
    setenv PLIST_FILE_OUTPUT_FORMAT binary
    setenv PLUGINS_FOLDER_PATH UnionConnect.app/PlugIns
    setenv PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR YES
    setenv PRECOMP_DESTINATION_DIR /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Intermediates/UnionConnect.build/Debug-iphonesimulator/UnionConnect.build/PrefixHeaders
    setenv PRESERVE_DEAD_CODE_INITS_AND_TERMS NO
    setenv PRIVATE_HEADERS_FOLDER_PATH UnionConnect.app/PrivateHeaders
    setenv PRODUCT_NAME UnionConnect
    setenv PRODUCT_SETTINGS_PATH /Users/morrissinger/XCodeApplications/UnionConnect/UnionConnect/UnionConnect-Info.plist
    setenv PRODUCT_TYPE com.apple.product-type.application
    setenv PROFILING_CODE NO
    setenv PROJECT UnionConnect
    setenv PROJECT_DERIVED_FILE_DIR /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Intermediates/UnionConnect.build/DerivedSources
    setenv PROJECT_DIR /Users/morrissinger/XCodeApplications/UnionConnect
    setenv PROJECT_FILE_PATH /Users/morrissinger/XCodeApplications/UnionConnect/UnionConnect.xcodeproj
    setenv PROJECT_NAME UnionConnect
    setenv PROJECT_TEMP_DIR /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Intermediates/UnionConnect.build
    setenv PROJECT_TEMP_ROOT /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Intermediates
    setenv PUBLIC_HEADERS_FOLDER_PATH UnionConnect.app/Headers
    setenv RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS YES
    setenv REMOVE_CVS_FROM_RESOURCES YES
    setenv REMOVE_GIT_FROM_RESOURCES YES
    setenv REMOVE_HG_FROM_RESOURCES YES
    setenv REMOVE_SVN_FROM_RESOURCES YES
    setenv REZ_COLLECTOR_DIR /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Intermediates/UnionConnect.build/Debug-iphonesimulator/UnionConnect.build/ResourceManagerResources
    setenv REZ_OBJECTS_DIR /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Intermediates/UnionConnect.build/Debug-iphonesimulator/UnionConnect.build/ResourceManagerResources/Objects
    setenv REZ_SEARCH_PATHS "\"/Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Products/Debug-iphonesimulator\" "
    setenv RUN_CLANG_STATIC_ANALYZER NO
    setenv SCAN_ALL_SOURCE_FILES_FOR_INCLUDES NO
    setenv SCRIPTS_FOLDER_PATH UnionConnect.app/Scripts
    setenv SCRIPT_INPUT_FILE_COUNT 0
    setenv SCRIPT_OUTPUT_FILE_COUNT 0
    setenv SDKROOT /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk
    setenv SDK_DIR /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk
    setenv SDK_NAME iphonesimulator6.1
    setenv SDK_PRODUCT_BUILD_VERSION 10B141
    setenv SED /usr/bin/sed
    setenv SEPARATE_STRIP NO
    setenv SEPARATE_SYMBOL_EDIT NO
    setenv SET_DIR_MODE_OWNER_GROUP YES
    setenv SET_FILE_MODE_OWNER_GROUP NO
    setenv SHALLOW_BUNDLE YES
    setenv SHARED_DERIVED_FILE_DIR /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Products/Debug-iphonesimulator/DerivedSources
    setenv SHARED_FRAMEWORKS_FOLDER_PATH UnionConnect.app/SharedFrameworks
    setenv SHARED_PRECOMPS_DIR /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Intermediates/PrecompiledHeaders
    setenv SHARED_SUPPORT_FOLDER_PATH UnionConnect.app/SharedSupport
    setenv SKIP_INSTALL NO
    setenv SOURCE_ROOT /Users/morrissinger/XCodeApplications/UnionConnect
    setenv SRCROOT /Users/morrissinger/XCodeApplications/UnionConnect
    setenv STRINGS_FILE_OUTPUT_ENCODING binary
    setenv STRIP_INSTALLED_PRODUCT YES
    setenv STRIP_STYLE all
    setenv SUPPORTED_DEVICE_FAMILIES "1 2"
    setenv SUPPORTED_PLATFORMS "iphonesimulator iphoneos"
    setenv SYMROOT /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Products
    setenv SYSTEM_ADMIN_APPS_DIR /Applications/Utilities
    setenv SYSTEM_APPS_DIR /Applications
    setenv SYSTEM_CORE_SERVICES_DIR /System/Library/CoreServices
    setenv SYSTEM_DEMOS_DIR /Applications/Extras
    setenv SYSTEM_DEVELOPER_APPS_DIR /Applications/Xcode.app/Contents/Developer/Applications
    setenv SYSTEM_DEVELOPER_BIN_DIR /Applications/Xcode.app/Contents/Developer/usr/bin
    setenv SYSTEM_DEVELOPER_DEMOS_DIR "/Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples"
    setenv SYSTEM_DEVELOPER_DIR /Applications/Xcode.app/Contents/Developer
    setenv SYSTEM_DEVELOPER_DOC_DIR "/Applications/Xcode.app/Contents/Developer/ADC Reference Library"
    setenv SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR "/Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools"
    setenv SYSTEM_DEVELOPER_JAVA_TOOLS_DIR "/Applications/Xcode.app/Contents/Developer/Applications/Java Tools"
    setenv SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR "/Applications/Xcode.app/Contents/Developer/Applications/Performance Tools"
    setenv SYSTEM_DEVELOPER_RELEASENOTES_DIR "/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes"
    setenv SYSTEM_DEVELOPER_TOOLS /Applications/Xcode.app/Contents/Developer/Tools
    setenv SYSTEM_DEVELOPER_TOOLS_DOC_DIR "/Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools"
    setenv SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR "/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools"
    setenv SYSTEM_DEVELOPER_USR_DIR /Applications/Xcode.app/Contents/Developer/usr
    setenv SYSTEM_DEVELOPER_UTILITIES_DIR /Applications/Xcode.app/Contents/Developer/Applications/Utilities
    setenv SYSTEM_DOCUMENTATION_DIR /Library/Documentation
    setenv SYSTEM_LIBRARY_DIR /System/Library
    setenv TARGETED_DEVICE_FAMILY 1,2
    setenv TARGETNAME UnionConnect
    setenv TARGET_BUILD_DIR /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Products/Debug-iphonesimulator
    setenv TARGET_NAME UnionConnect
    setenv TARGET_TEMP_DIR /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Intermediates/UnionConnect.build/Debug-iphonesimulator/UnionConnect.build
    setenv TEMP_DIR /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Intermediates/UnionConnect.build/Debug-iphonesimulator/UnionConnect.build
    setenv TEMP_FILES_DIR /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Intermediates/UnionConnect.build/Debug-iphonesimulator/UnionConnect.build
    setenv TEMP_FILE_DIR /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Intermediates/UnionConnect.build/Debug-iphonesimulator/UnionConnect.build
    setenv TEMP_ROOT /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Intermediates
    setenv TEST_AFTER_BUILD NO
    setenv TOOLCHAINS com.apple.dt.toolchain.XcodeDefault
    setenv UID 501
    setenv UNLOCALIZED_RESOURCES_FOLDER_PATH UnionConnect.app
    setenv UNSTRIPPED_PRODUCT NO
    setenv USER morrissinger
    setenv USER_APPS_DIR /Users/morrissinger/Applications
    setenv USER_LIBRARY_DIR /Users/morrissinger/Library
    setenv USE_DYNAMIC_NO_PIC YES
    setenv USE_HEADERMAP YES
    setenv USE_HEADER_SYMLINKS NO
    setenv VALIDATE_PRODUCT NO
    setenv VALID_ARCHS i386
    setenv VERBOSE_PBXCP NO
    setenv VERSIONPLIST_PATH UnionConnect.app/version.plist
    setenv VERSION_INFO_BUILDER morrissinger
    setenv VERSION_INFO_FILE UnionConnect_vers.c
    setenv VERSION_INFO_STRING "\"@(#)PROGRAM:UnionConnect  PROJECT:UnionConnect-\""
    setenv WRAPPER_EXTENSION app
    setenv WRAPPER_NAME UnionConnect.app
    setenv WRAPPER_SUFFIX .app
    setenv XCODE_APP_SUPPORT_DIR /Applications/Xcode.app/Contents/Developer/Library/Xcode
    setenv XCODE_PRODUCT_BUILD_VERSION 4H512
    setenv XCODE_VERSION_ACTUAL 0461
    setenv XCODE_VERSION_MAJOR 0400
    setenv XCODE_VERSION_MINOR 0460
    setenv YACC yacc
    /bin/sh -c /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Intermediates/UnionConnect.build/Debug-iphonesimulator/UnionConnect.build/Script-304B58A110DAC018002A0835.sh

mkdir: /Users/morrissinger/Library/Developer/Xcode/DerivedData/UnionConnect-fxrtfyqfklfejieapsrdftozwzdl/Build/Products/Debug-iphonesimulator/UnionConnect.app/www/build/native/My: File exists
4

1 回答 1

0

感谢所有能够让我朝着正确方向发展的评论,我可以解决这个问题。

问题是我从磁盘上的另一个位置符号链接了我的 www 文件夹(用于 PhoneGap)。然后,当我将其复制过来时,我继续收到错误消息(以及弹出的对话框,仅显示“参数无效”),直到我从 www 目录中删除了“build”目录(它包含在 Sencha Touch 中)。

因此,教训显然是:

  1. 不要将 PhoneGap 应用程序中的 www 目录与最新版本的 PhoneGap (2.5.0) 进行符号链接,因为如果不对构建过程进行一些进一步修改,它将无法工作,并且
  2. 如果您在最新版本的 PhoneGap 中制作 Sencha Touch 应用程序,请在您的设备上运行该应用程序之前删除 Build 目录,您会得到与我在原始帖子中描述的错误非常相似的内容。
于 2013-04-07T06:21:14.763 回答