问:
Crashlytics dSYM error
I've installed crashlytics on my mac and want to setup my project (xcode) with it. i create the run-script build phase by copying the code and the result of the first build is...

```PhaseScriptExecution Run\ Script /Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/Script-12ED173D1A96659F00DBC049.sh
    cd /Users/danielbocksteger/Documents/Entwicklung/App
    export ACTION=build
    export AD_HOC_CODE_SIGNING_ALLOWED=NO
    export ALTERNATE_GROUP=staff
    export ALTERNATE_MODE=u+w,go-w,a+rX
    export ALTERNATE_OWNER=danielbocksteger
    export ALWAYS_SEARCH_USER_PATHS=NO
    export ALWAYS_USE_SEPARATE_HEADERMAPS=YES
    export APPLE_INTERNAL_DEVELOPER_DIR=/AppleInternal/Developer
    export APPLE_INTERNAL_DIR=/AppleInternal
    export APPLE_INTERNAL_DOCUMENTATION_DIR=/AppleInternal/Documentation
    export APPLE_INTERNAL_LIBRARY_DIR=/AppleInternal/Library
    export APPLE_INTERNAL_TOOLS=/AppleInternal/Developer/Tools
    export APPLICATION_EXTENSION_API_ONLY=NO
    export APPLY_RULES_IN_COPY_FILES=NO
    export ARCHS="armv7 arm64"
    export ARCHS_STANDARD="armv7 arm64"
    export ARCHS_STANDARD_32_64_BIT="armv7 arm64"
    export ARCHS_STANDARD_32_BIT=armv7
    export ARCHS_STANDARD_64_BIT=arm64
    export ARCHS_STANDARD_INCLUDING_64_BIT="armv7 arm64"
    export ARCHS_UNIVERSAL_IPHONE_OS="armv7 arm64"
    export ASSETCATALOG_COMPILER_APPICON_NAME=AppIcon
    export AVAILABLE_PLATFORMS="iphonesimulator macosx iphoneos"
    export BUILD_COMPONENTS="headers build"
    export BUILD_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Products
    export BUILD_ROOT=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Products
    export BUILD_STYLE=
    export BUILD_VARIANTS=normal
    export BUILT_PRODUCTS_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Products/Debug-iphoneos
    export CACHE_ROOT=/var/folders/lk/ht709rc93ll2xdl3_sqlgkc80000gn/C/com.apple.DeveloperTools/6.3-6D520o/Xcode
    export CCHROOT=/var/folders/lk/ht709rc93ll2xdl3_sqlgkc80000gn/C/com.apple.DeveloperTools/6.3-6D520o/Xcode
    export CHMOD=/bin/chmod
    export CHOWN=/usr/sbin/chown
    export CLANG_CXX_LANGUAGE_STANDARD=gnu++0x
    export CLANG_CXX_LIBRARY=libc++
    export CLANG_ENABLE_MODULES=YES
    export CLANG_ENABLE_OBJC_ARC=YES
    export CLANG_MODULES_BUILD_SESSION_FILE=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/ModuleCache/Session.modulevalidation
    export CLANG_WARN_BOOL_CONVERSION=YES
    export CLANG_WARN_CONSTANT_CONVERSION=YES
    export CLANG_WARN_DIRECT_OBJC_ISA_USAGE=YES_ERROR
    export CLANG_WARN_EMPTY_BODY=YES
    export CLANG_WARN_ENUM_CONVERSION=YES
    export CLANG_WARN_INT_CONVERSION=YES
    export CLANG_WARN_OBJC_ROOT_CLASS=YES_ERROR
    export CLANG_WARN_UNREACHABLE_CODE=YES
    export CLANG_WARN__DUPLICATE_METHOD_MATCH=YES
    export CLASS_FILE_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/JavaClasses
    export CLEAN_PRECOMPS=YES
    export CLONE_HEADERS=NO
    export CODESIGNING_FOLDER_PATH=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Products/Debug-iphoneos/App.app
    export CODE_SIGNING_ALLOWED=YES
    export CODE_SIGNING_REQUIRED=YES
    export CODE_SIGN_CONTEXT_CLASS=XCiPhoneOSCodeSignContext
    export CODE_SIGN_IDENTITY="iPhone Developer"
    export COLOR_DIAGNOSTICS=NO
    export COMBINE_HIDPI_IMAGES=NO
    export COMMAND_MODE=legacy
    export COMPOSITE_SDK_DIRS=/var/folders/lk/ht709rc93ll2xdl3_sqlgkc80000gn/C/com.apple.DeveloperTools/6.3-6D520o/Xcode/CompositeSDKs
    export COMPRESS_PNG_FILES=YES
    export CONFIGURATION=Debug
    export CONFIGURATION_BUILD_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Products/Debug-iphoneos
    export CONFIGURATION_TEMP_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos
    export CONTENTS_FOLDER_PATH=App.app
    export COPYING_PRESERVES_HFS_DATA=NO
    export COPY_PHASE_STRIP=NO
    export COPY_RESOURCES_FROM_STATIC_FRAMEWORKS=YES
    export CP=/bin/cp
    export CREATE_INFOPLIST_SECTION_IN_BINARY=NO
    export CURRENT_ARCH=arm64
    export CURRENT_VARIANT=normal
    export DEAD_CODE_STRIPPING=YES
    export DEBUGGING_SYMBOLS=YES
    export DEBUG_INFORMATION_FORMAT=dwarf
    export DEFAULT_COMPILER=com.apple.compilers.llvm.clang.1_0
    export DEFAULT_KEXT_INSTALL_PATH=/System/Library/Extensions
    export DEFINES_MODULE=NO
    export DEPLOYMENT_LOCATION=NO
    export DEPLOYMENT_POSTPROCESSING=NO
    export DERIVED_FILES_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/DerivedSources
    export DERIVED_FILE_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/DerivedSources
    export DERIVED_SOURCES_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/DerivedSources
    export DEVELOPER_APPLICATIONS_DIR=/Applications/Xcode-Beta.app/Contents/Developer/Applications
    export DEVELOPER_BIN_DIR=/Applications/Xcode-Beta.app/Contents/Developer/usr/bin
    export DEVELOPER_DIR=/Applications/Xcode-Beta.app/Contents/Developer
    export DEVELOPER_FRAMEWORKS_DIR=/Applications/Xcode-Beta.app/Contents/Developer/Library/Frameworks
    export DEVELOPER_FRAMEWORKS_DIR_QUOTED=/Applications/Xcode-Beta.app/Contents/Developer/Library/Frameworks
    export DEVELOPER_LIBRARY_DIR=/Applications/Xcode-Beta.app/Contents/Developer/Library
    export DEVELOPER_SDK_DIR=/Applications/Xcode-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
    export DEVELOPER_TOOLS_DIR=/Applications/Xcode-Beta.app/Contents/Developer/Tools
    export DEVELOPER_USR_DIR=/Applications/Xcode-Beta.app/Contents/Developer/usr
    export DEVELOPMENT_LANGUAGE=English
    export DOCUMENTATION_FOLDER_PATH=App.app/English.lproj/Documentation
    export DO_HEADER_SCANNING_IN_JAM=NO
    export DSTROOT=/tmp/App.dst
    export DT_TOOLCHAIN_DIR=/Applications/Xcode-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
    export DWARF_DSYM_FILE_NAME=App.app.dSYM
    export DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT=NO
    export DWARF_DSYM_FOLDER_PATH=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Products/Debug-iphoneos
    export EFFECTIVE_PLATFORM_NAME=-iphoneos
    export EMBEDDED_CONTENT_CONTAINS_SWIFT=NO
    export EMBEDDED_PROFILE_NAME=embedded.mobileprovision
    export ENABLE_HEADER_DEPENDENCIES=YES
    export ENABLE_STRICT_OBJC_MSGSEND=YES
    export ENTITLEMENTS_ALLOWED=YES
    export ENTITLEMENTS_REQUIRED=YES
    export EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS=".DS_Store .svn .git .hg CVS"
    export EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES="*.nib *.lproj *.framework *.gch (*) .DS_Store CVS .svn .git .hg *.xcodeproj *.xcode *.pbproj *.pbxproj"
    export EXECUTABLES_FOLDER_PATH=App.app/Executables
    export EXECUTABLE_FOLDER_PATH=App.app
    export EXECUTABLE_NAME=App
    export EXECUTABLE_PATH=App.app/App
    export EXPANDED_CODE_SIGN_IDENTITY=D2690A7437ECD701636BBD649B824BBEDCD47402
    export EXPANDED_CODE_SIGN_IDENTITY_NAME="iPhone Developer: Daniel Bocksteger (F2G86844MV)"
    export EXPANDED_PROVISIONING_PROFILE=6707cf02-9458-47df-8a22-ef98a90d3c3c
    export FILE_LIST=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/Objects/LinkFileList
    export FIXED_FILES_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/FixedFiles
    export FRAMEWORKS_FOLDER_PATH=App.app/Frameworks
    export FRAMEWORK_FLAG_PREFIX=-framework
    export FRAMEWORK_SEARCH_PATHS="/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Products/Debug-iphoneos "
    export FRAMEWORK_VERSION=A
    export FULL_PRODUCT_NAME=App.app
    export GCC3_VERSION=3.3
    export GCC_C_LANGUAGE_STANDARD=gnu99
    export GCC_DYNAMIC_NO_PIC=NO
    export GCC_INLINES_ARE_PRIVATE_EXTERN=YES
    export GCC_OPTIMIZATION_LEVEL=0
    export GCC_PFE_FILE_C_DIALECTS="c objective-c c++ objective-c++"
    export GCC_PREPROCESSOR_DEFINITIONS="DEBUG=1 "
    export GCC_SYMBOLS_PRIVATE_EXTERN=NO
    export GCC_THUMB_SUPPORT=YES
    export GCC_TREAT_WARNINGS_AS_ERRORS=NO
    export GCC_VERSION=com.apple.compilers.llvm.clang.1_0
    export GCC_VERSION_IDENTIFIER=com_apple_compilers_llvm_clang_1_0
    export GCC_WARN_64_TO_32_BIT_CONVERSION=YES
    export GCC_WARN_ABOUT_RETURN_TYPE=YES_ERROR
    export GCC_WARN_UNDECLARED_SELECTOR=YES
    export GCC_WARN_UNINITIALIZED_AUTOS=YES_AGGRESSIVE
    export GCC_WARN_UNUSED_FUNCTION=YES
    export GCC_WARN_UNUSED_VARIABLE=YES
    export GENERATE_MASTER_OBJECT_FILE=NO
    export GENERATE_PKGINFO_FILE=YES
    export GENERATE_PROFILING_CODE=NO
    export GID=20
    export GROUP=staff
    export HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT=YES
    export HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES=YES
    export HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS=YES
    export HEADERMAP_INCLUDES_PROJECT_HEADERS=YES
    export HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES=YES
    export HEADERMAP_USES_VFS=NO
    export HEADER_SEARCH_PATHS="/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Products/Debug-iphoneos/include  /Applications/Xcode-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include"
    export ICONV=/usr/bin/iconv
    export INFOPLIST_EXPAND_BUILD_SETTINGS=YES
    export INFOPLIST_FILE=App/Info.plist
    export INFOPLIST_OUTPUT_FORMAT=binary
    export INFOPLIST_PATH=App.app/Info.plist
    export INFOPLIST_PREPROCESS=NO
    export INFOSTRINGS_PATH=App.app/English.lproj/InfoPlist.strings
    export INSTALL_DIR=/tmp/App.dst/Applications
    export INSTALL_GROUP=staff
    export INSTALL_MODE_FLAG=u+w,go-w,a+rX
    export INSTALL_OWNER=danielbocksteger
    export INSTALL_PATH=/Applications
    export INSTALL_ROOT=/tmp/App.dst
    export IPHONEOS_DEPLOYMENT_TARGET=8.3
    export JAVAC_DEFAULT_FLAGS="-J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8"
    export JAVA_APP_STUB=/System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
    export JAVA_ARCHIVE_CLASSES=YES
    export JAVA_ARCHIVE_TYPE=JAR
    export JAVA_COMPILER=/usr/bin/javac
    export JAVA_FOLDER_PATH=App.app/Java
    export JAVA_FRAMEWORK_RESOURCES_DIRS=Resources
    export JAVA_JAR_FLAGS=cv
    export JAVA_SOURCE_SUBDIR=.
    export JAVA_USE_DEPENDENCIES=YES
    export JAVA_ZIP_FLAGS=-urg
    export JIKES_DEFAULT_FLAGS="+E +OLDCSO"
    export KEEP_PRIVATE_EXTERNS=NO
    export LD_DEPENDENCY_INFO_FILE=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/Objects-normal/arm64/App_dependency_info.dat
    export LD_GENERATE_MAP_FILE=NO
    export LD_MAP_FILE_PATH=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/App-LinkMap-normal-arm64.txt
    export LD_NO_PIE=NO
    export LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER=YES
    export LD_RUNPATH_SEARCH_PATHS=" @executable_path/Frameworks"
    export LEGACY_DEVELOPER_DIR=/Applications/Xcode-Beta.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
    export LEX=lex
    export LIBRARY_FLAG_NOSPACE=YES
    export LIBRARY_FLAG_PREFIX=-l
    export LIBRARY_KEXT_INSTALL_PATH=/Library/Extensions
    export LIBRARY_SEARCH_PATHS="/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Products/Debug-iphoneos "
    export LINKER_DISPLAYS_MANGLED_NAMES=NO
    export LINK_FILE_LIST_normal_arm64=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/Objects-normal/arm64/App.LinkFileList
    export LINK_FILE_LIST_normal_armv7=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/Objects-normal/armv7/App.LinkFileList
    export LINK_WITH_STANDARD_LIBRARIES=YES
    export LOCALIZED_RESOURCES_FOLDER_PATH=App.app/English.lproj
    export LOCAL_ADMIN_APPS_DIR=/Applications/Utilities
    export LOCAL_APPS_DIR=/Applications
    export LOCAL_DEVELOPER_DIR=/Library/Developer
    export LOCAL_LIBRARY_DIR=/Library
    export MACH_O_TYPE=mh_execute
    export MAC_OS_X_PRODUCT_BUILD_VERSION=14C109
    export MAC_OS_X_VERSION_ACTUAL=101002
    export MAC_OS_X_VERSION_MAJOR=101000
    export MAC_OS_X_VERSION_MINOR=1002
    export MODULE_CACHE_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/ModuleCache
    export MTL_ENABLE_DEBUG_INFO=YES
    export NATIVE_ARCH=armv7
    export NATIVE_ARCH_32_BIT=i386
    export NATIVE_ARCH_64_BIT=x86_64
    export NATIVE_ARCH_ACTUAL=x86_64
    export NO_COMMON=YES
    export OBJECT_FILE_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/Objects
    export OBJECT_FILE_DIR_normal=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/Objects-normal
    export OBJROOT=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates
    export ONLY_ACTIVE_ARCH=NO
    export OPTIMIZATION_LEVEL=0
    export OS=MACOS
    export OSAC=/usr/bin/osacompile
    export PACKAGE_TYPE=com.apple.package-type.wrapper.application
    export PASCAL_STRINGS=YES
    export PATH="/Applications/Xcode-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Applications/Xcode-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/local/bin:/Applications/Xcode-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/usr/bin:/Applications/Xcode-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/usr/local/bin:/Applications/Xcode-Beta.app/Contents/Developer/usr/bin:/Applications/Xcode-Beta.app/Contents/Developer/usr/local/bin:/Applications/Xcode-Beta.app/Contents/Developer/Tools:/usr/bin:/bin:/usr/sbin:/sbin"
    export PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES="/usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode-Beta.app/Contents/Developer/Headers /Applications/Xcode-Beta.app/Contents/Developer/SDKs /Applications/Xcode-Beta.app/Contents/Developer/Platforms"
    export PBDEVELOPMENTPLIST_PATH=App.app/pbdevelopment.plist
    export PFE_FILE_C_DIALECTS=objective-c
    export PKGINFO_FILE_PATH=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/PkgInfo
    export PKGINFO_PATH=App.app/PkgInfo
    export PLATFORM_DEVELOPER_APPLICATIONS_DIR=/Applications/Xcode-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Applications
    export PLATFORM_DEVELOPER_BIN_DIR=/Applications/Xcode-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin
    export PLATFORM_DEVELOPER_LIBRARY_DIR=/Applications/Xcode-Beta.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library
    export PLATFORM_DEVELOPER_SDK_DIR=/Applications/Xcode-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
    export PLATFORM_DEVELOPER_TOOLS_DIR=/Applications/Xcode-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Tools
    export PLATFORM_DEVELOPER_USR_DIR=/Applications/Xcode-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr
    export PLATFORM_DIR=/Applications/Xcode-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform
    export PLATFORM_NAME=iphoneos
    export PLATFORM_PREFERRED_ARCH=arm64
    export PLATFORM_PRODUCT_BUILD_VERSION=12F5027d
    export PLIST_FILE_OUTPUT_FORMAT=binary
    export PLUGINS_FOLDER_PATH=App.app/PlugIns
    export PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR=YES
    export PRECOMP_DESTINATION_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/PrefixHeaders
    export PRESERVE_DEAD_CODE_INITS_AND_TERMS=NO
    export PRIVATE_HEADERS_FOLDER_PATH=App.app/PrivateHeaders
    export PRODUCT_MODULE_NAME=App
    export PRODUCT_NAME=App
    export PRODUCT_SETTINGS_PATH=/Users/danielbocksteger/Documents/Entwicklung/App/App/Info.plist
    export PRODUCT_TYPE=com.apple.product-type.application
    export PROFILING_CODE=NO
    export PROJECT=App
    export PROJECT_DERIVED_FILE_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/DerivedSources
    export PROJECT_DIR=/Users/danielbocksteger/Documents/Entwicklung/App
    export PROJECT_FILE_PATH=/Users/danielbocksteger/Documents/Entwicklung/App/App.xcodeproj
    export PROJECT_NAME=App
    export PROJECT_TEMP_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build
    export PROJECT_TEMP_ROOT=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates
    export PROVISIONING_PROFILE_REQUIRED=YES
    export PUBLIC_HEADERS_FOLDER_PATH=App.app/Headers
    export RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS=YES
    export REMOVE_CVS_FROM_RESOURCES=YES
    export REMOVE_GIT_FROM_RESOURCES=YES
    export REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES=YES
    export REMOVE_HG_FROM_RESOURCES=YES
    export REMOVE_SVN_FROM_RESOURCES=YES
    export RESOURCE_RULES_REQUIRED=YES
    export REZ_COLLECTOR_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/ResourceManagerResources
    export REZ_OBJECTS_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/ResourceManagerResources/Objects
    export REZ_SEARCH_PATHS="/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Products/Debug-iphoneos "
    export SCAN_ALL_SOURCE_FILES_FOR_INCLUDES=NO
    export SCRIPTS_FOLDER_PATH=App.app/Scripts
    export SCRIPT_INPUT_FILE_COUNT=0
    export SCRIPT_OUTPUT_FILE_COUNT=0
    export SDKROOT=/Applications/Xcode-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk
    export SDK_DIR=/Applications/Xcode-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk
    export SDK_NAME=iphoneos8.3
    export SDK_PRODUCT_BUILD_VERSION=12F5027d
    export SED=/usr/bin/sed
    export SEPARATE_STRIP=NO
    export SEPARATE_SYMBOL_EDIT=NO
    export SET_DIR_MODE_OWNER_GROUP=YES
    export SET_FILE_MODE_OWNER_GROUP=NO
    export SHALLOW_BUNDLE=YES
    export SHARED_DERIVED_FILE_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Products/Debug-iphoneos/DerivedSources
    export SHARED_FRAMEWORKS_FOLDER_PATH=App.app/SharedFrameworks
    export SHARED_PRECOMPS_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/PrecompiledHeaders
    export SHARED_SUPPORT_FOLDER_PATH=App.app/SharedSupport
    export SKIP_INSTALL=NO
    export SOURCE_ROOT=/Users/danielbocksteger/Documents/Entwicklung/App
    export SRCROOT=/Users/danielbocksteger/Documents/Entwicklung/App
    export STRINGS_FILE_OUTPUT_ENCODING=binary
    export STRIP_INSTALLED_PRODUCT=YES
    export STRIP_STYLE=all
    export SUPPORTED_DEVICE_FAMILIES=1,2
    export SUPPORTED_PLATFORMS="iphonesimulator iphoneos"
    export SYMROOT=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Products
    export SYSTEM_ADMIN_APPS_DIR=/Applications/Utilities
    export SYSTEM_APPS_DIR=/Applications
    export SYSTEM_CORE_SERVICES_DIR=/System/Library/CoreServices
    export SYSTEM_DEMOS_DIR=/Applications/Extras
    export SYSTEM_DEVELOPER_APPS_DIR=/Applications/Xcode-Beta.app/Contents/Developer/Applications
    export SYSTEM_DEVELOPER_BIN_DIR=/Applications/Xcode-Beta.app/Contents/Developer/usr/bin
    export SYSTEM_DEVELOPER_DEMOS_DIR="/Applications/Xcode-Beta.app/Contents/Developer/Applications/Utilities/Built Examples"
    export SYSTEM_DEVELOPER_DIR=/Applications/Xcode-Beta.app/Contents/Developer
    export SYSTEM_DEVELOPER_DOC_DIR="/Applications/Xcode-Beta.app/Contents/Developer/ADC Reference Library"
    export SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR="/Applications/Xcode-Beta.app/Contents/Developer/Applications/Graphics Tools"
    export SYSTEM_DEVELOPER_JAVA_TOOLS_DIR="/Applications/Xcode-Beta.app/Contents/Developer/Applications/Java Tools"
    export SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR="/Applications/Xcode-Beta.app/Contents/Developer/Applications/Performance Tools"
    export SYSTEM_DEVELOPER_RELEASENOTES_DIR="/Applications/Xcode-Beta.app/Contents/Developer/ADC Reference Library/releasenotes"
    export SYSTEM_DEVELOPER_TOOLS=/Applications/Xcode-Beta.app/Contents/Developer/Tools
    export SYSTEM_DEVELOPER_TOOLS_DOC_DIR="/Applications/Xcode-Beta.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools"
    export SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR="/Applications/Xcode-Beta.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools"
    export SYSTEM_DEVELOPER_USR_DIR=/Applications/Xcode-Beta.app/Contents/Developer/usr
    export SYSTEM_DEVELOPER_UTILITIES_DIR=/Applications/Xcode-Beta.app/Contents/Developer/Applications/Utilities
    export SYSTEM_DOCUMENTATION_DIR=/Library/Documentation
    export SYSTEM_KEXT_INSTALL_PATH=/System/Library/Extensions
    export SYSTEM_LIBRARY_DIR=/System/Library
    export TARGETED_DEVICE_FAMILY=1,2
    export TARGETNAME=App
    export TARGET_BUILD_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Products/Debug-iphoneos
    export TARGET_NAME=App
    export TARGET_TEMP_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build
    export TEMP_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build
    export TEMP_FILES_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build
    export TEMP_FILE_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build
    export TEMP_ROOT=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates
    export TOOLCHAINS=com.apple.dt.toolchain.XcodeDefault
    export TREAT_MISSING_BASELINES_AS_TEST_FAILURES=NO
    export UID=501
    export UNLOCALIZED_RESOURCES_FOLDER_PATH=App.app
    export UNSTRIPPED_PRODUCT=NO
    export USER=danielbocksteger
    export USER_APPS_DIR=/Users/danielbocksteger/Applications
    export USER_LIBRARY_DIR=/Users/danielbocksteger/Library
    export USE_DYNAMIC_NO_PIC=YES
    export USE_HEADERMAP=YES
    export USE_HEADER_SYMLINKS=NO
    export VALIDATE_PRODUCT=NO
    export VALID_ARCHS="arm64 armv7 armv7s"
    export VERBOSE_PBXCP=NO
    export VERSIONPLIST_PATH=App.app/version.plist
    export VERSION_INFO_BUILDER=danielbocksteger
    export VERSION_INFO_FILE=App_vers.c
    export VERSION_INFO_STRING="\"@(#)PROGRAM:App  PROJECT:App-\""
    export WRAPPER_EXTENSION=app
    export WRAPPER_NAME=App.app
    export WRAPPER_SUFFIX=.app
    export XCODE_APP_SUPPORT_DIR=/Applications/Xcode-Beta.app/Contents/Developer/Library/Xcode
    export XCODE_PRODUCT_BUILD_VERSION=6D520o
    export XCODE_VERSION_ACTUAL=0630
    export XCODE_VERSION_MAJOR=0600
    export XCODE_VERSION_MINOR=0630
    export XPCSERVICES_FOLDER_PATH=App.app/XPCServices
    export YACC=yacc
    export arch=arm64
    export variant=normal
    /bin/sh -c /Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/Script-12ED173D1A96659F00DBC049.sh

2015-02-19 19:42:53.142 run[2066:408725] Crashlytics.framework/run 1.3.11
2015-02-19 19:42:53.149 run[2066:408725]

Crashlytics: dSYM Error

Unable to process App.app.dSYM at path /Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Products/Debug-iphoneos/App.app.dSYM
Make sure your project build settings are generating a dSYM file. DEBUG_INFORMATION_FORMAT should be set to dwarf-with-dsym for all configurations. This could also be a timing issue, make sure the Crashlytics run script build phase is the last build phase and no other scripts have moved the dSYM from the location Xcode generated it.

Command /bin/sh failed with exit code 1
```

Can anybody explain what is not working here? How should i solve this issue?

I don't understand the problem and hadn't this some months ago.

答: "DWARF with dSYM file" makes projects compile slower for DEBUG mode. So just embrace the warning for now :)</p>

Title: Crashlytics dSYM error

Body:
I've installed crashlytics on my mac and want to setup my project (xcode) with it. i create the run-script build phase by copying the code and the result of the first build is...

PhaseScriptExecution Run\ Script /Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/Script-12ED173D1A96659F00DBC049.sh
    cd /Users/danielbocksteger/Documents/Entwicklung/App
    export ACTION=build
    export AD_HOC_CODE_SIGNING_ALLOWED=NO
    export ALTERNATE_GROUP=staff
    export ALTERNATE_MODE=u+w,go-w,a+rX
    export ALTERNATE_OWNER=danielbocksteger
    export ALWAYS_SEARCH_USER_PATHS=NO
    export ALWAYS_USE_SEPARATE_HEADERMAPS=YES
    export APPLE_INTERNAL_DEVELOPER_DIR=/AppleInternal/Developer
    export APPLE_INTERNAL_DIR=/AppleInternal
    export APPLE_INTERNAL_DOCUMENTATION_DIR=/AppleInternal/Documentation
    export APPLE_INTERNAL_LIBRARY_DIR=/AppleInternal/Library
    export APPLE_INTERNAL_TOOLS=/AppleInternal/Developer/Tools
    export APPLICATION_EXTENSION_API_ONLY=NO
    export APPLY_RULES_IN_COPY_FILES=NO
    export ARCHS="armv7 arm64"
    export ARCHS_STANDARD="armv7 arm64"
    export ARCHS_STANDARD_32_64_BIT="armv7 arm64"
    export ARCHS_STANDARD_32_BIT=armv7
    export ARCHS_STANDARD_64_BIT=arm64
    export ARCHS_STANDARD_INCLUDING_64_BIT="armv7 arm64"
    export ARCHS_UNIVERSAL_IPHONE_OS="armv7 arm64"
    export ASSETCATALOG_COMPILER_APPICON_NAME=AppIcon
    export AVAILABLE_PLATFORMS="iphonesimulator macosx iphoneos"
    export BUILD_COMPONENTS="headers build"
    export BUILD_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Products
    export BUILD_ROOT=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Products
    export BUILD_STYLE=
    export BUILD_VARIANTS=normal
    export BUILT_PRODUCTS_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Products/Debug-iphoneos
    export CACHE_ROOT=/var/folders/lk/ht709rc93ll2xdl3_sqlgkc80000gn/C/com.apple.DeveloperTools/6.3-6D520o/Xcode
    export CCHROOT=/var/folders/lk/ht709rc93ll2xdl3_sqlgkc80000gn/C/com.apple.DeveloperTools/6.3-6D520o/Xcode
    export CHMOD=/bin/chmod
    export CHOWN=/usr/sbin/chown
    export CLANG_CXX_LANGUAGE_STANDARD=gnu++0x
    export CLANG_CXX_LIBRARY=libc++
    export CLANG_ENABLE_MODULES=YES
    export CLANG_ENABLE_OBJC_ARC=YES
    export CLANG_MODULES_BUILD_SESSION_FILE=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/ModuleCache/Session.modulevalidation
    export CLANG_WARN_BOOL_CONVERSION=YES
    export CLANG_WARN_CONSTANT_CONVERSION=YES
    export CLANG_WARN_DIRECT_OBJC_ISA_USAGE=YES_ERROR
    export CLANG_WARN_EMPTY_BODY=YES
    export CLANG_WARN_ENUM_CONVERSION=YES
    export CLANG_WARN_INT_CONVERSION=YES
    export CLANG_WARN_OBJC_ROOT_CLASS=YES_ERROR
    export CLANG_WARN_UNREACHABLE_CODE=YES
    export CLANG_WARN__DUPLICATE_METHOD_MATCH=YES
    export CLASS_FILE_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/JavaClasses
    export CLEAN_PRECOMPS=YES
    export CLONE_HEADERS=NO
    export CODESIGNING_FOLDER_PATH=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Products/Debug-iphoneos/App.app
    export CODE_SIGNING_ALLOWED=YES
    export CODE_SIGNING_REQUIRED=YES
    export CODE_SIGN_CONTEXT_CLASS=XCiPhoneOSCodeSignContext
    export CODE_SIGN_IDENTITY="iPhone Developer"
    export COLOR_DIAGNOSTICS=NO
    export COMBINE_HIDPI_IMAGES=NO
    export COMMAND_MODE=legacy
    export COMPOSITE_SDK_DIRS=/var/folders/lk/ht709rc93ll2xdl3_sqlgkc80000gn/C/com.apple.DeveloperTools/6.3-6D520o/Xcode/CompositeSDKs
    export COMPRESS_PNG_FILES=YES
    export CONFIGURATION=Debug
    export CONFIGURATION_BUILD_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Products/Debug-iphoneos
    export CONFIGURATION_TEMP_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos
    export CONTENTS_FOLDER_PATH=App.app
    export COPYING_PRESERVES_HFS_DATA=NO
    export COPY_PHASE_STRIP=NO
    export COPY_RESOURCES_FROM_STATIC_FRAMEWORKS=YES
    export CP=/bin/cp
    export CREATE_INFOPLIST_SECTION_IN_BINARY=NO
    export CURRENT_ARCH=arm64
    export CURRENT_VARIANT=normal
    export DEAD_CODE_STRIPPING=YES
    export DEBUGGING_SYMBOLS=YES
    export DEBUG_INFORMATION_FORMAT=dwarf
    export DEFAULT_COMPILER=com.apple.compilers.llvm.clang.1_0
    export DEFAULT_KEXT_INSTALL_PATH=/System/Library/Extensions
    export DEFINES_MODULE=NO
    export DEPLOYMENT_LOCATION=NO
    export DEPLOYMENT_POSTPROCESSING=NO
    export DERIVED_FILES_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/DerivedSources
    export DERIVED_FILE_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/DerivedSources
    export DERIVED_SOURCES_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/DerivedSources
    export DEVELOPER_APPLICATIONS_DIR=/Applications/Xcode-Beta.app/Contents/Developer/Applications
    export DEVELOPER_BIN_DIR=/Applications/Xcode-Beta.app/Contents/Developer/usr/bin
    export DEVELOPER_DIR=/Applications/Xcode-Beta.app/Contents/Developer
    export DEVELOPER_FRAMEWORKS_DIR=/Applications/Xcode-Beta.app/Contents/Developer/Library/Frameworks
    export DEVELOPER_FRAMEWORKS_DIR_QUOTED=/Applications/Xcode-Beta.app/Contents/Developer/Library/Frameworks
    export DEVELOPER_LIBRARY_DIR=/Applications/Xcode-Beta.app/Contents/Developer/Library
    export DEVELOPER_SDK_DIR=/Applications/Xcode-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
    export DEVELOPER_TOOLS_DIR=/Applications/Xcode-Beta.app/Contents/Developer/Tools
    export DEVELOPER_USR_DIR=/Applications/Xcode-Beta.app/Contents/Developer/usr
    export DEVELOPMENT_LANGUAGE=English
    export DOCUMENTATION_FOLDER_PATH=App.app/English.lproj/Documentation
    export DO_HEADER_SCANNING_IN_JAM=NO
    export DSTROOT=/tmp/App.dst
    export DT_TOOLCHAIN_DIR=/Applications/Xcode-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
    export DWARF_DSYM_FILE_NAME=App.app.dSYM
    export DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT=NO
    export DWARF_DSYM_FOLDER_PATH=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Products/Debug-iphoneos
    export EFFECTIVE_PLATFORM_NAME=-iphoneos
    export EMBEDDED_CONTENT_CONTAINS_SWIFT=NO
    export EMBEDDED_PROFILE_NAME=embedded.mobileprovision
    export ENABLE_HEADER_DEPENDENCIES=YES
    export ENABLE_STRICT_OBJC_MSGSEND=YES
    export ENTITLEMENTS_ALLOWED=YES
    export ENTITLEMENTS_REQUIRED=YES
    export EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS=".DS_Store .svn .git .hg CVS"
    export EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES="*.nib *.lproj *.framework *.gch (*) .DS_Store CVS .svn .git .hg *.xcodeproj *.xcode *.pbproj *.pbxproj"
    export EXECUTABLES_FOLDER_PATH=App.app/Executables
    export EXECUTABLE_FOLDER_PATH=App.app
    export EXECUTABLE_NAME=App
    export EXECUTABLE_PATH=App.app/App
    export EXPANDED_CODE_SIGN_IDENTITY=D2690A7437ECD701636BBD649B824BBEDCD47402
    export EXPANDED_CODE_SIGN_IDENTITY_NAME="iPhone Developer: Daniel Bocksteger (F2G86844MV)"
    export EXPANDED_PROVISIONING_PROFILE=6707cf02-9458-47df-8a22-ef98a90d3c3c
    export FILE_LIST=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/Objects/LinkFileList
    export FIXED_FILES_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/FixedFiles
    export FRAMEWORKS_FOLDER_PATH=App.app/Frameworks
    export FRAMEWORK_FLAG_PREFIX=-framework
    export FRAMEWORK_SEARCH_PATHS="/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Products/Debug-iphoneos "
    export FRAMEWORK_VERSION=A
    export FULL_PRODUCT_NAME=App.app
    export GCC3_VERSION=3.3
    export GCC_C_LANGUAGE_STANDARD=gnu99
    export GCC_DYNAMIC_NO_PIC=NO
    export GCC_INLINES_ARE_PRIVATE_EXTERN=YES
    export GCC_OPTIMIZATION_LEVEL=0
    export GCC_PFE_FILE_C_DIALECTS="c objective-c c++ objective-c++"
    export GCC_PREPROCESSOR_DEFINITIONS="DEBUG=1 "
    export GCC_SYMBOLS_PRIVATE_EXTERN=NO
    export GCC_THUMB_SUPPORT=YES
    export GCC_TREAT_WARNINGS_AS_ERRORS=NO
    export GCC_VERSION=com.apple.compilers.llvm.clang.1_0
    export GCC_VERSION_IDENTIFIER=com_apple_compilers_llvm_clang_1_0
    export GCC_WARN_64_TO_32_BIT_CONVERSION=YES
    export GCC_WARN_ABOUT_RETURN_TYPE=YES_ERROR
    export GCC_WARN_UNDECLARED_SELECTOR=YES
    export GCC_WARN_UNINITIALIZED_AUTOS=YES_AGGRESSIVE
    export GCC_WARN_UNUSED_FUNCTION=YES
    export GCC_WARN_UNUSED_VARIABLE=YES
    export GENERATE_MASTER_OBJECT_FILE=NO
    export GENERATE_PKGINFO_FILE=YES
    export GENERATE_PROFILING_CODE=NO
    export GID=20
    export GROUP=staff
    export HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT=YES
    export HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES=YES
    export HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS=YES
    export HEADERMAP_INCLUDES_PROJECT_HEADERS=YES
    export HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES=YES
    export HEADERMAP_USES_VFS=NO
    export HEADER_SEARCH_PATHS="/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Products/Debug-iphoneos/include  /Applications/Xcode-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include"
    export ICONV=/usr/bin/iconv
    export INFOPLIST_EXPAND_BUILD_SETTINGS=YES
    export INFOPLIST_FILE=App/Info.plist
    export INFOPLIST_OUTPUT_FORMAT=binary
    export INFOPLIST_PATH=App.app/Info.plist
    export INFOPLIST_PREPROCESS=NO
    export INFOSTRINGS_PATH=App.app/English.lproj/InfoPlist.strings
    export INSTALL_DIR=/tmp/App.dst/Applications
    export INSTALL_GROUP=staff
    export INSTALL_MODE_FLAG=u+w,go-w,a+rX
    export INSTALL_OWNER=danielbocksteger
    export INSTALL_PATH=/Applications
    export INSTALL_ROOT=/tmp/App.dst
    export IPHONEOS_DEPLOYMENT_TARGET=8.3
    export JAVAC_DEFAULT_FLAGS="-J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8"
    export JAVA_APP_STUB=/System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
    export JAVA_ARCHIVE_CLASSES=YES
    export JAVA_ARCHIVE_TYPE=JAR
    export JAVA_COMPILER=/usr/bin/javac
    export JAVA_FOLDER_PATH=App.app/Java
    export JAVA_FRAMEWORK_RESOURCES_DIRS=Resources
    export JAVA_JAR_FLAGS=cv
    export JAVA_SOURCE_SUBDIR=.
    export JAVA_USE_DEPENDENCIES=YES
    export JAVA_ZIP_FLAGS=-urg
    export JIKES_DEFAULT_FLAGS="+E +OLDCSO"
    export KEEP_PRIVATE_EXTERNS=NO
    export LD_DEPENDENCY_INFO_FILE=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/Objects-normal/arm64/App_dependency_info.dat
    export LD_GENERATE_MAP_FILE=NO
    export LD_MAP_FILE_PATH=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/App-LinkMap-normal-arm64.txt
    export LD_NO_PIE=NO
    export LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER=YES
    export LD_RUNPATH_SEARCH_PATHS=" @executable_path/Frameworks"
    export LEGACY_DEVELOPER_DIR=/Applications/Xcode-Beta.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
    export LEX=lex
    export LIBRARY_FLAG_NOSPACE=YES
    export LIBRARY_FLAG_PREFIX=-l
    export LIBRARY_KEXT_INSTALL_PATH=/Library/Extensions
    export LIBRARY_SEARCH_PATHS="/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Products/Debug-iphoneos "
    export LINKER_DISPLAYS_MANGLED_NAMES=NO
    export LINK_FILE_LIST_normal_arm64=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/Objects-normal/arm64/App.LinkFileList
    export LINK_FILE_LIST_normal_armv7=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/Objects-normal/armv7/App.LinkFileList
    export LINK_WITH_STANDARD_LIBRARIES=YES
    export LOCALIZED_RESOURCES_FOLDER_PATH=App.app/English.lproj
    export LOCAL_ADMIN_APPS_DIR=/Applications/Utilities
    export LOCAL_APPS_DIR=/Applications
    export LOCAL_DEVELOPER_DIR=/Library/Developer
    export LOCAL_LIBRARY_DIR=/Library
    export MACH_O_TYPE=mh_execute
    export MAC_OS_X_PRODUCT_BUILD_VERSION=14C109
    export MAC_OS_X_VERSION_ACTUAL=101002
    export MAC_OS_X_VERSION_MAJOR=101000
    export MAC_OS_X_VERSION_MINOR=1002
    export MODULE_CACHE_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/ModuleCache
    export MTL_ENABLE_DEBUG_INFO=YES
    export NATIVE_ARCH=armv7
    export NATIVE_ARCH_32_BIT=i386
    export NATIVE_ARCH_64_BIT=x86_64
    export NATIVE_ARCH_ACTUAL=x86_64
    export NO_COMMON=YES
    export OBJECT_FILE_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/Objects
    export OBJECT_FILE_DIR_normal=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/Objects-normal
    export OBJROOT=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates
    export ONLY_ACTIVE_ARCH=NO
    export OPTIMIZATION_LEVEL=0
    export OS=MACOS
    export OSAC=/usr/bin/osacompile
    export PACKAGE_TYPE=com.apple.package-type.wrapper.application
    export PASCAL_STRINGS=YES
    export PATH="/Applications/Xcode-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Applications/Xcode-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/local/bin:/Applications/Xcode-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/usr/bin:/Applications/Xcode-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/usr/local/bin:/Applications/Xcode-Beta.app/Contents/Developer/usr/bin:/Applications/Xcode-Beta.app/Contents/Developer/usr/local/bin:/Applications/Xcode-Beta.app/Contents/Developer/Tools:/usr/bin:/bin:/usr/sbin:/sbin"
    export PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES="/usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode-Beta.app/Contents/Developer/Headers /Applications/Xcode-Beta.app/Contents/Developer/SDKs /Applications/Xcode-Beta.app/Contents/Developer/Platforms"
    export PBDEVELOPMENTPLIST_PATH=App.app/pbdevelopment.plist
    export PFE_FILE_C_DIALECTS=objective-c
    export PKGINFO_FILE_PATH=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/PkgInfo
    export PKGINFO_PATH=App.app/PkgInfo
    export PLATFORM_DEVELOPER_APPLICATIONS_DIR=/Applications/Xcode-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Applications
    export PLATFORM_DEVELOPER_BIN_DIR=/Applications/Xcode-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin
    export PLATFORM_DEVELOPER_LIBRARY_DIR=/Applications/Xcode-Beta.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library
    export PLATFORM_DEVELOPER_SDK_DIR=/Applications/Xcode-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
    export PLATFORM_DEVELOPER_TOOLS_DIR=/Applications/Xcode-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Tools
    export PLATFORM_DEVELOPER_USR_DIR=/Applications/Xcode-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr
    export PLATFORM_DIR=/Applications/Xcode-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform
    export PLATFORM_NAME=iphoneos
    export PLATFORM_PREFERRED_ARCH=arm64
    export PLATFORM_PRODUCT_BUILD_VERSION=12F5027d
    export PLIST_FILE_OUTPUT_FORMAT=binary
    export PLUGINS_FOLDER_PATH=App.app/PlugIns
    export PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR=YES
    export PRECOMP_DESTINATION_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/PrefixHeaders
    export PRESERVE_DEAD_CODE_INITS_AND_TERMS=NO
    export PRIVATE_HEADERS_FOLDER_PATH=App.app/PrivateHeaders
    export PRODUCT_MODULE_NAME=App
    export PRODUCT_NAME=App
    export PRODUCT_SETTINGS_PATH=/Users/danielbocksteger/Documents/Entwicklung/App/App/Info.plist
    export PRODUCT_TYPE=com.apple.product-type.application
    export PROFILING_CODE=NO
    export PROJECT=App
    export PROJECT_DERIVED_FILE_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/DerivedSources
    export PROJECT_DIR=/Users/danielbocksteger/Documents/Entwicklung/App
    export PROJECT_FILE_PATH=/Users/danielbocksteger/Documents/Entwicklung/App/App.xcodeproj
    export PROJECT_NAME=App
    export PROJECT_TEMP_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build
    export PROJECT_TEMP_ROOT=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates
    export PROVISIONING_PROFILE_REQUIRED=YES
    export PUBLIC_HEADERS_FOLDER_PATH=App.app/Headers
    export RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS=YES
    export REMOVE_CVS_FROM_RESOURCES=YES
    export REMOVE_GIT_FROM_RESOURCES=YES
    export REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES=YES
    export REMOVE_HG_FROM_RESOURCES=YES
    export REMOVE_SVN_FROM_RESOURCES=YES
    export RESOURCE_RULES_REQUIRED=YES
    export REZ_COLLECTOR_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/ResourceManagerResources
    export REZ_OBJECTS_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/ResourceManagerResources/Objects
    export REZ_SEARCH_PATHS="/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Products/Debug-iphoneos "
    export SCAN_ALL_SOURCE_FILES_FOR_INCLUDES=NO
    export SCRIPTS_FOLDER_PATH=App.app/Scripts
    export SCRIPT_INPUT_FILE_COUNT=0
    export SCRIPT_OUTPUT_FILE_COUNT=0
    export SDKROOT=/Applications/Xcode-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk
    export SDK_DIR=/Applications/Xcode-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk
    export SDK_NAME=iphoneos8.3
    export SDK_PRODUCT_BUILD_VERSION=12F5027d
    export SED=/usr/bin/sed
    export SEPARATE_STRIP=NO
    export SEPARATE_SYMBOL_EDIT=NO
    export SET_DIR_MODE_OWNER_GROUP=YES
    export SET_FILE_MODE_OWNER_GROUP=NO
    export SHALLOW_BUNDLE=YES
    export SHARED_DERIVED_FILE_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Products/Debug-iphoneos/DerivedSources
    export SHARED_FRAMEWORKS_FOLDER_PATH=App.app/SharedFrameworks
    export SHARED_PRECOMPS_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/PrecompiledHeaders
    export SHARED_SUPPORT_FOLDER_PATH=App.app/SharedSupport
    export SKIP_INSTALL=NO
    export SOURCE_ROOT=/Users/danielbocksteger/Documents/Entwicklung/App
    export SRCROOT=/Users/danielbocksteger/Documents/Entwicklung/App
    export STRINGS_FILE_OUTPUT_ENCODING=binary
    export STRIP_INSTALLED_PRODUCT=YES
    export STRIP_STYLE=all
    export SUPPORTED_DEVICE_FAMILIES=1,2
    export SUPPORTED_PLATFORMS="iphonesimulator iphoneos"
    export SYMROOT=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Products
    export SYSTEM_ADMIN_APPS_DIR=/Applications/Utilities
    export SYSTEM_APPS_DIR=/Applications
    export SYSTEM_CORE_SERVICES_DIR=/System/Library/CoreServices
    export SYSTEM_DEMOS_DIR=/Applications/Extras
    export SYSTEM_DEVELOPER_APPS_DIR=/Applications/Xcode-Beta.app/Contents/Developer/Applications
    export SYSTEM_DEVELOPER_BIN_DIR=/Applications/Xcode-Beta.app/Contents/Developer/usr/bin
    export SYSTEM_DEVELOPER_DEMOS_DIR="/Applications/Xcode-Beta.app/Contents/Developer/Applications/Utilities/Built Examples"
    export SYSTEM_DEVELOPER_DIR=/Applications/Xcode-Beta.app/Contents/Developer
    export SYSTEM_DEVELOPER_DOC_DIR="/Applications/Xcode-Beta.app/Contents/Developer/ADC Reference Library"
    export SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR="/Applications/Xcode-Beta.app/Contents/Developer/Applications/Graphics Tools"
    export SYSTEM_DEVELOPER_JAVA_TOOLS_DIR="/Applications/Xcode-Beta.app/Contents/Developer/Applications/Java Tools"
    export SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR="/Applications/Xcode-Beta.app/Contents/Developer/Applications/Performance Tools"
    export SYSTEM_DEVELOPER_RELEASENOTES_DIR="/Applications/Xcode-Beta.app/Contents/Developer/ADC Reference Library/releasenotes"
    export SYSTEM_DEVELOPER_TOOLS=/Applications/Xcode-Beta.app/Contents/Developer/Tools
    export SYSTEM_DEVELOPER_TOOLS_DOC_DIR="/Applications/Xcode-Beta.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools"
    export SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR="/Applications/Xcode-Beta.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools"
    export SYSTEM_DEVELOPER_USR_DIR=/Applications/Xcode-Beta.app/Contents/Developer/usr
    export SYSTEM_DEVELOPER_UTILITIES_DIR=/Applications/Xcode-Beta.app/Contents/Developer/Applications/Utilities
    export SYSTEM_DOCUMENTATION_DIR=/Library/Documentation
    export SYSTEM_KEXT_INSTALL_PATH=/System/Library/Extensions
    export SYSTEM_LIBRARY_DIR=/System/Library
    export TARGETED_DEVICE_FAMILY=1,2
    export TARGETNAME=App
    export TARGET_BUILD_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Products/Debug-iphoneos
    export TARGET_NAME=App
    export TARGET_TEMP_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build
    export TEMP_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build
    export TEMP_FILES_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build
    export TEMP_FILE_DIR=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build
    export TEMP_ROOT=/Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates
    export TOOLCHAINS=com.apple.dt.toolchain.XcodeDefault
    export TREAT_MISSING_BASELINES_AS_TEST_FAILURES=NO
    export UID=501
    export UNLOCALIZED_RESOURCES_FOLDER_PATH=App.app
    export UNSTRIPPED_PRODUCT=NO
    export USER=danielbocksteger
    export USER_APPS_DIR=/Users/danielbocksteger/Applications
    export USER_LIBRARY_DIR=/Users/danielbocksteger/Library
    export USE_DYNAMIC_NO_PIC=YES
    export USE_HEADERMAP=YES
    export USE_HEADER_SYMLINKS=NO
    export VALIDATE_PRODUCT=NO
    export VALID_ARCHS="arm64 armv7 armv7s"
    export VERBOSE_PBXCP=NO
    export VERSIONPLIST_PATH=App.app/version.plist
    export VERSION_INFO_BUILDER=danielbocksteger
    export VERSION_INFO_FILE=App_vers.c
    export VERSION_INFO_STRING="\"@(#)PROGRAM:App  PROJECT:App-\""
    export WRAPPER_EXTENSION=app
    export WRAPPER_NAME=App.app
    export WRAPPER_SUFFIX=.app
    export XCODE_APP_SUPPORT_DIR=/Applications/Xcode-Beta.app/Contents/Developer/Library/Xcode
    export XCODE_PRODUCT_BUILD_VERSION=6D520o
    export XCODE_VERSION_ACTUAL=0630
    export XCODE_VERSION_MAJOR=0600
    export XCODE_VERSION_MINOR=0630
    export XPCSERVICES_FOLDER_PATH=App.app/XPCServices
    export YACC=yacc
    export arch=arm64
    export variant=normal
    /bin/sh -c /Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Intermediates/App.build/Debug-iphoneos/App.build/Script-12ED173D1A96659F00DBC049.sh

2015-02-19 19:42:53.142 run[2066:408725] Crashlytics.framework/run 1.3.11
2015-02-19 19:42:53.149 run[2066:408725]

Crashlytics: dSYM Error

Unable to process App.app.dSYM at path /Users/danielbocksteger/Library/Developer/Xcode/DerivedData/App-coxlexpwflomtfbpfumpipysjmtk/Build/Products/Debug-iphoneos/App.app.dSYM
Make sure your project build settings are generating a dSYM file. DEBUG_INFORMATION_FORMAT should be set to dwarf-with-dsym for all configurations. This could also be a timing issue, make sure the Crashlytics run script build phase is the last build phase and no other scripts have moved the dSYM from the location Xcode generated it.

Command /bin/sh failed with exit code 1

Can anybody explain what is not working here? How should i solve this issue?

I don't understand the problem and hadn't this some months ago.


来源: stackexchange

问:
Close virtual keyboard on button press
I have an Activity with an EditText, a button and a ListView.  The purpose is to type a search screen in the EditText, press the button and have the search results populate this list.

This is all working perfectly, but the virtual keyboard is behaving strange.

If I click the EditText, I get the virtual keyboard.  If I click the "Done" button on the virtual keyboard, it goes away.  However, if I click my search button before clicking "Done" on the virtual keyboard, the virtual keyboard stays and I can't get rid of it.  Clicking the "Done" button does not close the keyboard.  It changes the "Done" button from "Done" to an arrow and remains visible.

Thanks for your help

答:
For Activity,

```<code>InputMethodManager imm = (InputMethodManager)getSystemService(INPUT_METHOD_SERVICE);
imm.hideSoftInputFromWindow(getCurrentFocus().getWindowToken(), 0);
</code>```

For Fragments, use getActivity()

getActivity().getSystemService();

getActivity().getCurrentFocus();

```<code>InputMethodManager imm = (InputMethodManager)getActivity().getSystemService(INPUT_METHOD_SERVICE);
imm.hideSoftInputFromWindow(getActivity().getCurrentFocus().getWindowToken(), 0);
</code>```

ContentLicense: CC BY-SA 3.0

Title: Close virtual keyboard on button press

Body:
For Activity,

InputMethodManager imm = (InputMethodManager)getSystemService(INPUT_METHOD_SERVICE);
imm.hideSoftInputFromWindow(getCurrentFocus().getWindowToken(), 0);

For Fragments, use getActivity()

getActivity().getSystemService();

getActivity().getCurrentFocus();

InputMethodManager imm = (InputMethodManager)getActivity().getSystemService(INPUT_METHOD_SERVICE);
imm.hideSoftInputFromWindow(getActivity().getCurrentFocus().getWindowToken(), 0);


问:
Top tips for secure web applications
I am looking for easy steps that are simple and effective in making a web application more secure.

What are your top tips for secure web applications, and what kind of attack will they stop?

答:
Escape user provided content to avoid XSS attacks.

Using paremeterised SQL or stored procedures to avoid SQL Injections attacks.

Running the webserver as an unprivileged account to minimise attacks on the OS.

Setting the webserver directories to an unprivileged account, again, to minimise attacks on the OS.

Setting up unprivileged accounts on the SQL server and using them for the application to minimise attacks on the DB.

For more in depth information, there is always the OWASP Guide to Building Secure Web Applications and Web Services

OwnerDisplayName: Oded

ContentLicense: CC BY-SA 2.5

Title: Top tips for secure web applications

ContentLicense: CC BY-SA 4.0


问:
Why "C:\Program Files" used as default. Is there any violations or degradation in performance if we change it?
Why does Microsoft recommend "C:\Program Files" for default installation destination? Are there any specific reason for that? And if I change the location is that going to effect the performance of the system and the application?</p>

答: It's a convention that ensures proper interoperation between your program and the OS's application and security models.  If you're writing typical application software, I would strongly recommend against going against the convention here.  As an admin, an app that tried to install somewhere else should send up red flags all over the place.</p>

OwnerDisplayName: Maharajan

LastEditorDisplayName: bdukes

OwnerDisplayName: Greg D


问:
Col Span Split For First td cell with table header

    Header
    Header
    Header

    Col 3
    Col 1
    Col 2

```

From the above code i need to share first td with two th cells. how it is possible to share the first td cell to share with th if td colspan is greater than th colspan. I got error in first td cell only while sharing with two th headers?

答:
The width of the td normally depends on the data in nth td of all rows.

    Month
    Savings
    Savings

    January
    $100
    $100

    February
    $8000

    Sum: $180

```

Body:
    Header
    Header
    Header

    Col 3
    Col 1
    Col 2

From the above code i need to share first td with two th cells. how it is possible to share the first td cell to share with th if td colspan is greater than th colspan. I got error in first td cell only while sharing with two th headers?

Body:
The width of the td normally depends on the data in nth td of all rows.

   <table border="1">
  <tr>
    <th>Month</th>
    <th colspan="2">Savings</th>
    <th>Savings</th>
  </tr>
  <tr>
    <td colspan="2">January</td>
    <td>$100</td>
    <td>$100</td>
  </tr>
  <tr>
    <td>February</td>
    <td>$8000</td>
  </tr>
  <tr>
    <td colspan="4">Sum: $180</td>
  </tr>
</table>


问:
Webpack ERROR in Path must be a string. Received undefined
I'm update my node.js to version 7. And after run webpack in project I received error message: ERROR in Path must be a string. Received undefined

My package.json :

```<code>"dependencies": {
    "react": "^15.3.1",
    "react-native": "^0.33.0",
    "react-redux": "^4.4.5",
    "react-web": "0.4.5",
    "redux": "^3.6.0",
    "redux-thunk": "^2.1.0",
    "remote-redux-devtools": "^0.4.8"
  },
  "devDependencies": {
    "babel-core": "^6.18.2",
    "babel-loader": "^6.2.7",
    "babel-preset-react-native": "^1.9.0",
    "babel-preset-stage-1": "^6.16.0",
    "haste-resolver-webpack-plugin": "^0.2.2",
    "json-loader": "^0.5.4",
    "react-dom": "^15.3.2",
    "react-hot-loader": "^1.3.0",
    "webpack": "^1.13.3",
    "webpack-dev-server": "^1.16.2",
    "webpack-html-plugin": "^0.1.1"
  }
</code>```

Anybody has a suggestion? How resolve this problem?

答:
I had the same problem before,then I think it's something wrong with the plugin. then, I add filename to this plugin.It worked.

// webpack.config.js

```<code>plugins: [
    new HtmlWebpackPlugin({
        title: 'use plugin',
        filename: 'index.html'
    })
]
</code>```

Body:
I'm update my node.js to version 7. And after run webpack in project I received error message: ERROR in Path must be a string. Received undefined

My package.json :

"dependencies": {
    "react": "^15.3.1",
    "react-native": "^0.33.0",
    "react-redux": "^4.4.5",
    "react-web": "0.4.5",
    "redux": "^3.6.0",
    "redux-thunk": "^2.1.0",
    "remote-redux-devtools": "^0.4.8"
  },
  "devDependencies": {
    "babel-core": "^6.18.2",
    "babel-loader": "^6.2.7",
    "babel-preset-react-native": "^1.9.0",
    "babel-preset-stage-1": "^6.16.0",
    "haste-resolver-webpack-plugin": "^0.2.2",
    "json-loader": "^0.5.4",
    "react-dom": "^15.3.2",
    "react-hot-loader": "^1.3.0",
    "webpack": "^1.13.3",
    "webpack-dev-server": "^1.16.2",
    "webpack-html-plugin": "^0.1.1"
  }

Anybody has a suggestion? How resolve this problem?

Body:
I had the same problem before,then I think it's something wrong with the plugin. then, I add filename to this plugin.It worked.

// webpack.config.js

plugins: [
    new HtmlWebpackPlugin({
        title: 'use plugin',
        filename: 'index.html'
    })
]


问:
Does ios app with Crashlytics uses Advertisement Identifier (IDFA)?
I'm currently uploading my App to the App Store and Apple is asking me if this app uses IDFA. I'm using the Crashlytics for tracking bugs and I don't know if it uses IDFA or not, and if it does which checkboxes should I hit?

I referred  https://docs.fabric.io/apple/crashlytics/advanced-setup.html?highlight=idfa, but I am not understanding "The IDFA will only be collected if your app links against AdSupport.framework."

To check on each third party SDK if they use or not the IDFA i used this command:

```<code>grep -r advertisingIdentifier .
</code>```

I got this,

```<code>Binary file ./Pods/Crashlytics/iOS/Crashlytics.framework/Crashlytics matches
./Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/Internal/AppEvents/FBSDKAppEventsUtility.m:result = [[manager advertisingIdentifier] UUIDString];
</code>```

Please tell to does my app uses IDFA? YES/NO, if YES then for what?

答:
Crashlytics does not use Advertisement Identifier (IDFA) or does not link  an AdSupport framework by default.

Crashlytics explicitly ask you to add AdSupport framework only when using advanced features like audience insights. https://docs.fabric.io/apple/answers/audience-insights.html

So, your app does not use IDFA. The answer is NO

Body:
I'm currently uploading my App to the App Store and Apple is asking me if this app uses IDFA. I'm using the Crashlytics for tracking bugs and I don't know if it uses IDFA or not, and if it does which checkboxes should I hit?

I referred  https://docs.fabric.io/apple/crashlytics/advanced-setup.html?highlight=idfa, but I am not understanding "The IDFA will only be collected if your app links against AdSupport.framework."

To check on each third party SDK if they use or not the IDFA i used this command:

grep -r advertisingIdentifier .

I got this,

Binary file ./Pods/Crashlytics/iOS/Crashlytics.framework/Crashlytics matches
./Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/Internal/AppEvents/FBSDKAppEventsUtility.m:result = [[manager advertisingIdentifier] UUIDString];

Please tell to does my app uses IDFA? YES/NO, if YES then for what?


问:
Bootstrap 4 sidebar css transition not working
i trying to make offcanves sidebar, everything working as expected except the transition, i have one main wrapper and two sub wrapper for content and sidebar (i'm fetching sidebar list from database). i haven given transition on CSS for sidebar, i dont know what is going, if you can give any solution it will be very helpfull,i have added my codes bellow (i have used JavaScript toggleClass for toggling sidebar)

HTML

```<code><div class="main-wrapper d-flex" id="main-wrapper">
    <main class="d-flex" id="main-content">
        <button type="button" id="slideButton" class="align-self-center order-2">
            <i class="fa fa-arrow-left fa-lg" id="slideArrow"></i>
        </button>
        <div class="book-wrapper d-flex flex-row flex-wrap">
            <div class="books">
                <div class="section-box">
                    <figure>
                        <h3>اسم الكتاب</h3>
                        <p>معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس</p>
                        <a href="#" class="btn btn-read">Read here</a>
                    </figure>
                    <img src="assets/books/1.png">
                </div>
            </div>
            <div class="books">
                <div class="section-box">
                    <figure>
                        <h3>اسم الكتاب</h3>
                        <p>معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس</p>
                        <a href="#" class="btn btn-read">Read here</a>
                    </figure>
                    <img src="assets/books/2.png">
                </div>
            </div>
            <div class="books">
                <div class="section-box">
                    <figure>
                        <h3>اسم الكتاب</h3>
                        <p>معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس</p>
                        <a href="#" class="btn btn-read">Read here</a>
                    </figure>
                    <img src="assets/books/3.png">
                </div>
            </div>
            <div class="books">
                <div class="section-box">
                    <figure>
                        <h3>اسم الكتاب</h3>
                        <p>معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس</p>
                        <a href="#" class="btn btn-read">Read here</a>
                    </figure>
                    <img src="assets/books/4.png">
                </div>
            </div>
            <div class="books">
                <div class="section-box">
                    <figure>
                        <h3>اسم الكتاب</h3>
                        <p>معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس</p>
                        <a href="#" class="btn btn-read">Read here</a>
                    </figure>
                    <img src="assets/books/4.png">
                </div>
            </div>
            <div class="books">
                <div class="section-box">
                    <figure>
                        <h3>اسم الكتاب</h3>
                        <p>معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس</p>
                        <a href="#" class="btn btn-read">Read here</a>
                    </figure>
                    <img src="assets/books/1.png">
                </div>
            </div>
            <div class="books">
                <div class="section-box">
                    <figure>
                        <h3>اسم الكتاب</h3>
                        <p>معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس</p>
                        <a href="#" class="btn btn-read">Read here</a>
                    </figure>
                    <img src="assets/books/2.png">
                </div>
            </div>
            <div class="books">
                <div class="section-box">
                    <figure>
                        <h3>اسم الكتاب</h3>
                        <p>معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس</p>
                        <a href="#" class="btn btn-read">Read here</a>
                    </figure>
                    <img src="assets/books/3.png">
                </div>
            </div>
            <div class="books">
                <div class="section-box">
                    <figure>
                        <h3>اسم الكتاب</h3>
                        <p>معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس</p>
                        <a href="#" class="btn btn-read">Read here</a>
                    </figure>
                    <img src="assets/books/4.png">
                </div>
            </div>
            <div class="books">
                <div class="section-box">
                    <figure>
                        <h3>اسم الكتاب</h3>
                        <p>معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس</p>
                        <a href="#" class="btn btn-read">Read here</a>
                    </figure>
                    <img src="assets/books/4.png">
                </div>
            </div>
            <div class="books">
                <div class="section-box">
                    <figure>
                        <h3>اسم الكتاب</h3>
                        <p>معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس</p>
                        <a href="#" class="btn btn-read">Read here</a>
                    </figure>
                    <img src="assets/books/1.png">
                </div>
            </div>
            <div class="books">
                <div class="section-box">
                    <figure>
                        <h3>اسم الكتاب</h3>
                        <p>معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس</p>
                        <a href="#" class="btn btn-read">Read here</a>
                    </figure>
                    <img src="assets/books/2.png">
                </div>
            </div>
            <div class="books">
                <div class="section-box">
                    <figure>
                        <h3>اسم الكتاب</h3>
                        <p>معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس</p>
                        <a href="#" class="btn btn-read">Read here</a>
                    </figure>
                    <img src="assets/books/3.png">
                </div>
            </div>
            <div class="books">
                <div class="section-box">
                    <figure>
                        <h3>اسم الكتاب</h3>
                        <p>معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس</p>
                        <a href="#" class="btn btn-read">Read here</a>
                    </figure>
                    <img src="assets/books/4.png">
                </div>
            </div>
            <div class="books">
                <div class="section-box">
                    <figure>
                        <h3>اسم الكتاب</h3>
                        <p>معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس</p>
                        <a href="#" class="btn btn-read">Read here</a>
                    </figure>
                    <img src="assets/books/4.png">
                </div>
            </div>
            <div class="books">
                <div class="section-box">
                    <figure>
                        <h3>اسم الكتاب</h3>
                        <p>معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس</p>
                        <a href="#" class="btn btn-read">Read here</a>
                    </figure>
                    <img src="assets/books/3.png">
                </div>
            </div>
            <div class="books">
                <div class="section-box">
                    <figure>
                        <h3>اسم الكتاب</h3>
                        <p>معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس</p>
                        <a href="#" class="btn btn-read">Read here</a>
                    </figure>
                    <img src="assets/books/1.png">
                </div>
            </div>
            <div class="books">
                <div class="section-box">
                    <figure>
                        <h3>اسم الكتاب</h3>
                        <p>معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس</p>
                        <a href="#" class="btn btn-read">Read here</a>
                    </figure>
                    <img src="assets/books/2.png">
                </div>
            </div>
            <div class="books">
                <div class="section-box">
                    <figure>
                        <h3>اسم الكتاب</h3>
                        <p>معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس</p>
                        <a href="#" class="btn btn-read">Read here</a>
                    </figure>
                    <img src="assets/books/3.png">
                </div>
            </div>
        </div>
    </main>
    <div class="p-0" id="sidebar">
        <form action="" class="search">
            <div class="input-group">
                <i class="input-group-addon fa fa-search"></i>
                <input class="form-control" type="search" placeholder="بحث الكتب" aria-label="Search">
            </div>
        </form>

        <div id="tree"></div>

    </div>
</div>
        <script>
        $("#slideButton").click(function (e) {
            $("#sidebar").toggleClass("collapse");
        });
        </script>
</code>```

CSS

```<code>#main-wrapper {
height: 100vh;
}

#main-content {
.book-wrapper {
    justify-content: space-between;
    overflow: auto;
    height: inherit;
    padding-bottom: 100px;
    -ms-overflow-style: none;
    &::after {
        content: "";
        flex: auto;
    }
    .books{
        padding: 10px;
    }
    .section-box {
        height: 230px;
        width: 160px;
        background: radial-gradient(#6e6e6e, #2f2f2f);
        background: -webkit-radial-gradient(#6e6e6e, #2f2f2f);
        background: -moz-radial-gradient(#6e6e6e, #2f2f2f);
        color: #fff;
        position: relative;
        overflow: hidden;
        margin: 10px 0;
    }
    .section-box figure {
        position: absolute;
        text-align: right;
        padding: 10px 19px 19px 19px;
        width: 100%;
        height: 100%;
        border-top: 1px solid #fff;
        background: rgba(0, 0, 0, 0.71);
        bottom: -80%;
        transition: ease-in-out .5s;
        margin-bottom: 0;
    }
    .section-box:hover figure {
        bottom: 0;
    }
    .section-box figure h3 {
        margin: 0;
        padding-bottom: 10px;
    }
    .section-box img {
        height: 100%;
        width: auto;
    }
    .btn-read {
        width: 100%;
        background: transparent;
        border-radius: 0;
        border: 1px solid #ffffff;
        color: #fff;
    }
}
button i {
    font-size: 24px;
    background-color: #e6e4e4;
}
}

#sidebar {
min-width: 350px;
max-width: 350px;
overflow-y: auto;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
@include red-gradient(right,
left);
.collapse{
    margin-right: -350px;
}
.search {
    padding: 15px 10px 0 10px;
    margin-left: 10%;
    width: 80%;
}
.search i {
    line-height: 1.5;
    background: #fff;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}
.search input {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    text-align: right;
    border-left: none;
    &:focus {
        border-color: none;
        box-shadow: none;
    }
}
}
</code>```

答:
If you're writing SASS, how you've written the styles for the class that gets toggled, collapse, it's not being applied to your sidebar. You'd need to write your CSS to be #sidebar.collapse instead of the nested #sidebar .collapse:

[Using the SASS parent selector: https://css-tricks.com/the-sass-ampersand/]

```<code>#sidebar {
    &.collapse {
        margin-right: -350px;
    }
}
</code>```

Body:
i trying to make offcanves sidebar, everything working as expected except the transition, i have one main wrapper and two sub wrapper for content and sidebar (i'm fetching sidebar list from database). i haven given transition on CSS for sidebar, i dont know what is going, if you can give any solution it will be very helpfull,i have added my codes bellow (i have used JavaScript toggleClass for toggling sidebar)

HTML

        <button type="button" id="slideButton" class="align-self-center order-2">

        </button>

اسم الكتاب

معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس

                        Read here

اسم الكتاب

معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس

                        Read here

اسم الكتاب

معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس

                        Read here

اسم الكتاب

معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس

                        Read here

اسم الكتاب

معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس

                        Read here

اسم الكتاب

معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس

                        Read here

اسم الكتاب

معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس

                        Read here

اسم الكتاب

معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس

                        Read here

اسم الكتاب

معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس

                        Read here

اسم الكتاب

معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس

                        Read here

اسم الكتاب

معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس

                        Read here

اسم الكتاب

معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس

                        Read here

اسم الكتاب

معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس

                        Read here

اسم الكتاب

معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس

                        Read here

اسم الكتاب

معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس

                        Read here

اسم الكتاب

معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس

                        Read here

اسم الكتاب

معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس

                        Read here

اسم الكتاب

معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس

                        Read here

اسم الكتاب

معلومات:الوصف بدأ رسم الخرائط بعمل نيكول سانسون، بطريركر الفرنس

                        Read here

        <form action="" class="search">

                <input class="form-control" type="search" placeholder="بحث الكتب" aria-label="Search">

        </form>

CSS

#main-wrapper {
height: 100vh;
}

#main-content {
.book-wrapper {
    justify-content: space-between;
    overflow: auto;
    height: inherit;
    padding-bottom: 100px;
    -ms-overflow-style: none;
    &::after {
        content: "";
        flex: auto;
    }
    .books{
        padding: 10px;
    }
    .section-box {
        height: 230px;
        width: 160px;
        background: radial-gradient(#6e6e6e, #2f2f2f);
        background: -webkit-radial-gradient(#6e6e6e, #2f2f2f);
        background: -moz-radial-gradient(#6e6e6e, #2f2f2f);
        color: #fff;
        position: relative;
        overflow: hidden;
        margin: 10px 0;
    }
    .section-box figure {
        position: absolute;
        text-align: right;
        padding: 10px 19px 19px 19px;
        width: 100%;
        height: 100%;
        border-top: 1px solid #fff;
        background: rgba(0, 0, 0, 0.71);
        bottom: -80%;
        transition: ease-in-out .5s;
        margin-bottom: 0;
    }
    .section-box:hover figure {
        bottom: 0;
    }
    .section-box figure h3 {
        margin: 0;
        padding-bottom: 10px;
    }
    .section-box img {
        height: 100%;
        width: auto;
    }
    .btn-read {
        width: 100%;
        background: transparent;
        border-radius: 0;
        border: 1px solid #ffffff;
        color: #fff;
    }
}
button i {
    font-size: 24px;
    background-color: #e6e4e4;
}
}

#sidebar {
min-width: 350px;
max-width: 350px;
overflow-y: auto;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
@include red-gradient(right,
left);
.collapse{
    margin-right: -350px;
}
.search {
    padding: 15px 10px 0 10px;
    margin-left: 10%;
    width: 80%;
}
.search i {
    line-height: 1.5;
    background: #fff;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}
.search input {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    text-align: right;
    border-left: none;
    &:focus {
        border-color: none;
        box-shadow: none;
    }
}
}

Body:
If you're writing SASS, how you've written the styles for the class that gets toggled, collapse, it's not being applied to your sidebar. You'd need to write your CSS to be #sidebar.collapse instead of the nested #sidebar .collapse:

[Using the SASS parent selector: https://css-tricks.com/the-sass-ampersand/]

#sidebar {
    &.collapse {
        margin-right: -350px;
    }
}


问:
NoSuchMethodError: <init> when using rJava to create a new object
Recently I came across a problem when using rJava.
First I create a public class DirectedEdge:

```<code>public class DirectedEdge {
    public int v;
    public int w;
    public double weight;
    public DirectedEdge(){}
    public DirectedEdge(int v, int w, double weight) {
        this.v = v;
        this.w = w;
        this.weight = weight;
    }
}
</code>```

Then I run the following codes on RStudio:

```<code>.jinit();
.jaddclassPath('XXXXXX');
.jnew('DirectedEdge');
.jnew('DirectedEdge',1,2,0.1);
</code>```

I have already set the classpath to where my .class files are located, but the third line did run and the forth line failed. RStudio gave me an exception:

```<code>Error in .jnew("DirectedEdge", 1, 2, 0.1) : java.lang.NoSuchMethodError: <init>
</code>```

I also tried the example in rJava document:

```<code>.jnew('java/lang/String',"Hello World!")
</code>```

It worked well. So what's the problem? Thanks a lot.

答: The default type of the number is double, so use .jnew("DirectedEdge", as.integer(1), as.integer(2), 0.1) instead</p>

Body:
Recently I came across a problem when using rJava.
First I create a public class DirectedEdge:

public class DirectedEdge {
    public int v;
    public int w;
    public double weight;
    public DirectedEdge(){}
    public DirectedEdge(int v, int w, double weight) {
        this.v = v;
        this.w = w;
        this.weight = weight;
    }
}

Then I run the following codes on RStudio:

.jinit();
.jaddclassPath('XXXXXX');
.jnew('DirectedEdge');
.jnew('DirectedEdge',1,2,0.1);

I have already set the classpath to where my .class files are located, but the third line did run and the forth line failed. RStudio gave me an exception:

Error in .jnew("DirectedEdge", 1, 2, 0.1) : java.lang.NoSuchMethodError: <init>

I also tried the example in rJava document:

.jnew('java/lang/String',"Hello World!")

It worked well. So what's the problem? Thanks a lot.


问:
connect Google App Engine and Google Compute Engine
I created a VM instance in Googl Compute Engine and app in Google App Engine standard environment. I was planning to have my app in App Engine and my database server in Compute Engine. But, I can't connect between the both by internal IP. Is this possible? the app and db are in the same zone (us-east1) but the connection by IP don't work, only work with external IP. Apparently, the rules of firewall are correct.

答:
For connecting through a private IP you need that the app and DB will be in the same network.
You can't achieve that with app engine standard, you need app engine flex for this (see here how to set the network of your app engine flex instances)</p>


问:
Excel VBA Web Scraping
I'm new to Excel VBA programming and need some help to debug my code for web scraping some data off of Amazon.

On my sheet1, I am listing the asins of products and trying to use this code to complete the URL to land onto the product page, then will the sales rank of the product via class ID or another html tag.

However, I keep getting the error:

User-Defined Type not Defined

I can't figure out where the bug is.

The code is listed below:

```<code>Private Sub Worksheet_Change(ByVal Target As Range)
    If Target.Row = Range("azAsin").Row And Target.Column = Range("azAsin").Column Then
     Dim IE As New InternetExplorer
     IE.Visible = True
     IE.Navigate "https://www.amazon.com/dp/" & Range("azAsin").Value
    Do
     DoEvents
    Loop Until IE.readyState = READYSTATE_COMPLETE
    Dim pap As HTMLDocument
    Set pap = IE.document
    Dim sDoc As String
    sDoc = Doc.getElementsById("SalesRank")

    MsgBox sDoc
    End If
End Sub
</code>```

答:
Try this:</p>

```<code>Dim ie As Object
Set ie = CreateObject("InternetExplorer.Application")
    ie.Visible = True
'...

Dim objRank as Object
Set objRank = ie.Document.getElementById("SalesRank")

Dim rank As String
If Not objRank Is Nothing Then rank = objRank.innerText
</code>```

Title: Excel VBA Web Scraping

Body:
I'm new to Excel VBA programming and need some help to debug my code for web scraping some data off of Amazon.

On my sheet1, I am listing the asins of products and trying to use this code to complete the URL to land onto the product page, then will the sales rank of the product via class ID or another html tag.

However, I keep getting the error:

User-Defined Type not Defined

I can't figure out where the bug is.

The code is listed below:

Private Sub Worksheet_Change(ByVal Target As Range)
    If Target.Row = Range("azAsin").Row And Target.Column = Range("azAsin").Column Then
     Dim IE As New InternetExplorer
     IE.Visible = True
     IE.Navigate "https://www.amazon.com/dp/" & Range("azAsin").Value
    Do
     DoEvents
    Loop Until IE.readyState = READYSTATE_COMPLETE
    Dim pap As HTMLDocument
    Set pap = IE.document
    Dim sDoc As String
    sDoc = Doc.getElementsById("SalesRank")

    MsgBox sDoc
    End If
End Sub

Body:
Try this:

Dim ie As Object
Set ie = CreateObject("InternetExplorer.Application")
    ie.Visible = True
'...

Dim objRank as Object
Set objRank = ie.Document.getElementById("SalesRank")

Dim rank As String
If Not objRank Is Nothing Then rank = objRank.innerText


问:
Unity3D make window transparent and click-through
Im looking for a way to make a Unity3D game and make the window transparent and click-through when I dont click some game stuff(like buttons or objects with colliders)

I found this post:
https://forum.unity.com/threads/solved-windows-transparent-window-with-opaque-contents-lwa_colorkey.323057/

And that help me a lot. In fact there's an answer there to toggle between click-through and non-click-trough

And there's my problem. Using that script, when Im over an object with collider, the mouse position is inverted in the x axis:
https://i.stack.imgur.com/70CdC.gif

I tryed everything I could, but I dont really understand Windows api, so I cannot fix it.

Can someone tell me what should I fix?

Here's the code I'm using:

```<code>using System;
using System.Runtime.InteropServices;
using UnityEngine;

[RequireComponent (typeof (Camera))]
public class TransparentWindow : MonoBehaviour
{
[SerializeField]
private Material m_Material;

[SerializeField]
private Camera mainCamera;

private bool clickThrough = true;
private bool prevClickThrough = true;

private struct MARGINS
{
    public int cxLeftWidth;
    public int cxRightWidth;
    public int cyTopHeight;
    public int cyBottomHeight;
}

[DllImport("user32.dll")]
private static extern IntPtr GetActiveWindow();

[DllImport("user32.dll")]
private static extern int SetWindowLong(IntPtr hWnd, int nIndex, uint dwNewLong);

[DllImport("user32.dll")]
static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow);

[DllImport("user32.dll", EntryPoint = "SetLayeredWindowAttributes")]
static extern int SetLayeredWindowAttributes(IntPtr hwnd, int crKey, byte bAlpha, int dwFlags);

[DllImport("user32.dll", EntryPoint = "SetWindowPos")]
private static extern int SetWindowPos(IntPtr hwnd, int hwndInsertAfter, int x, int y, int cx, int cy, int uFlags);

[DllImport("Dwmapi.dll")]
private static extern uint DwmExtendFrameIntoClientArea(IntPtr hWnd, ref MARGINS margins);

const int GWL_STYLE = -16;
const uint WS_POPUP = 0x80000000;
const uint WS_VISIBLE = 0x10000000;
const int HWND_TOPMOST = -1;

int fWidth;
int fHeight;
IntPtr hwnd;
MARGINS margins;

void Start()
{
    mainCamera = GetComponent<Camera> ();

    #if !UNITY_EDITOR // You really don't want to enable this in the editor..

    fWidth = Screen.width;
    fHeight = Screen.height;
    margins = new MARGINS() { cxLeftWidth = -1 };
    hwnd = GetActiveWindow();

    SetWindowLong(hwnd, GWL_STYLE, WS_POPUP | WS_VISIBLE);
    SetWindowPos(hwnd, HWND_TOPMOST, 0, 0, fWidth, fHeight, 32 | 64); //SWP_FRAMECHANGED = 0x0020 (32); //SWP_SHOWWINDOW = 0x0040 (64)
    DwmExtendFrameIntoClientArea(hwnd, ref margins);

    Application.runInBackground = true;
    #endif
}

void Update ()
{
    // If our mouse is overlapping an object
    RaycastHit hit = new RaycastHit();
    clickThrough = !Physics.Raycast (mainCamera.ScreenPointToRay (Input.mousePosition).origin,
            mainCamera.ScreenPointToRay (Input.mousePosition).direction, out hit, 100,
            Physics.DefaultRaycastLayers);

    if (clickThrough != prevClickThrough) {
        if (clickThrough) {
            #if !UNITY_EDITOR
            SetWindowLong(hwnd, GWL_STYLE, WS_POPUP | WS_VISIBLE);
            SetWindowLong (hwnd, -20, (uint)524288 | (uint)32);//GWL_EXSTYLE=-20; WS_EX_LAYERED=524288=&h80000, WS_EX_TRANSPARENT=32=0x00000020L
            SetLayeredWindowAttributes (hwnd, 0, 255, 2);// Transparency=51=20%, LWA_ALPHA=2
            SetWindowPos(hwnd, HWND_TOPMOST, 0, 0, fWidth, fHeight, 32 | 64); //SWP_FRAMECHANGED = 0x0020 (32); //SWP_SHOWWINDOW = 0x0040 (64)
            #endif
        } else {
            #if !UNITY_EDITOR
            SetWindowLong (hwnd, -20, ~((uint)524288) | ((uint)32));//GWL_EXSTYLE=-20; WS_EX_LAYERED=524288=&h80000, WS_EX_TRANSPARENT=32=0x00000020L
            SetWindowLong(hwnd, GWL_STYLE, WS_POPUP | WS_VISIBLE);
            SetLayeredWindowAttributes (hwnd, 0, 255, 2);
            SetWindowPos(hwnd, HWND_TOPMOST, 0, 0, fWidth, fHeight, 32 | 64); //SWP_FRAMECHANGED = 0x0020 (32); //SWP_SHOWWINDOW = 0x0040 (64)
            #endif
        }
        prevClickThrough = clickThrough;
    }
}

void OnRenderImage(RenderTexture from, RenderTexture to)
{
    Graphics.Blit(from, to, m_Material);
}}
</code>```

I hope someone here can help me! :( Thanks!

答:
This worked for me.

First, you only need one call of SetWindowLong.

Then, use (-20) instead of GS_STYLE for the 'else' half of the statment.
Like this:

```<code>void Update ()
{
    // Raycast stuff

    if (clickThrough != prevClickThrough) {
        if (clickThrough) {
            #if !UNITY_EDITOR
            SetWindowLong (hwnd, -20, (uint)524288 | (uint)32);
            //other code
            #endif
        } else {
            #if !UNITY_EDITOR
            SetWindowLong(hwnd, -20, WS_POPUP | WS_VISIBLE);
            //other code
            #endif
        }
        prevClickThrough = clickThrough;
    }
}
</code>```

Body:
Im looking for a way to make a Unity3D game and make the window transparent and click-through when I dont click some game stuff(like buttons or objects with colliders)

I found this post:
https://forum.unity.com/threads/solved-windows-transparent-window-with-opaque-contents-lwa_colorkey.323057/

And that help me a lot. In fact there's an answer there to toggle between click-through and non-click-trough

And there's my problem. Using that script, when Im over an object with collider, the mouse position is inverted in the x axis:
https://i.stack.imgur.com/70CdC.gif

I tryed everything I could, but I dont really understand Windows api, so I cannot fix it.

Can someone tell me what should I fix?

Here's the code I'm using:

using System;
using System.Runtime.InteropServices;
using UnityEngine;

[RequireComponent (typeof (Camera))]
public class TransparentWindow : MonoBehaviour
{
[SerializeField]
private Material m_Material;

[SerializeField]
private Camera mainCamera;

private bool clickThrough = true;
private bool prevClickThrough = true;

private struct MARGINS
{
    public int cxLeftWidth;
    public int cxRightWidth;
    public int cyTopHeight;
    public int cyBottomHeight;
}

[DllImport("user32.dll")]
private static extern IntPtr GetActiveWindow();

[DllImport("user32.dll")]
private static extern int SetWindowLong(IntPtr hWnd, int nIndex, uint dwNewLong);

[DllImport("user32.dll")]
static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow);

[DllImport("user32.dll", EntryPoint = "SetLayeredWindowAttributes")]
static extern int SetLayeredWindowAttributes(IntPtr hwnd, int crKey, byte bAlpha, int dwFlags);

[DllImport("user32.dll", EntryPoint = "SetWindowPos")]
private static extern int SetWindowPos(IntPtr hwnd, int hwndInsertAfter, int x, int y, int cx, int cy, int uFlags);

[DllImport("Dwmapi.dll")]
private static extern uint DwmExtendFrameIntoClientArea(IntPtr hWnd, ref MARGINS margins);

const int GWL_STYLE = -16;
const uint WS_POPUP = 0x80000000;
const uint WS_VISIBLE = 0x10000000;
const int HWND_TOPMOST = -1;

int fWidth;
int fHeight;
IntPtr hwnd;
MARGINS margins;

void Start()
{
    mainCamera = GetComponent<Camera> ();

    #if !UNITY_EDITOR // You really don't want to enable this in the editor..

    fWidth = Screen.width;
    fHeight = Screen.height;
    margins = new MARGINS() { cxLeftWidth = -1 };
    hwnd = GetActiveWindow();

    SetWindowLong(hwnd, GWL_STYLE, WS_POPUP | WS_VISIBLE);
    SetWindowPos(hwnd, HWND_TOPMOST, 0, 0, fWidth, fHeight, 32 | 64); //SWP_FRAMECHANGED = 0x0020 (32); //SWP_SHOWWINDOW = 0x0040 (64)
    DwmExtendFrameIntoClientArea(hwnd, ref margins);

    Application.runInBackground = true;
    #endif
}

void Update ()
{
    // If our mouse is overlapping an object
    RaycastHit hit = new RaycastHit();
    clickThrough = !Physics.Raycast (mainCamera.ScreenPointToRay (Input.mousePosition).origin,
            mainCamera.ScreenPointToRay (Input.mousePosition).direction, out hit, 100,
            Physics.DefaultRaycastLayers);

    if (clickThrough != prevClickThrough) {
        if (clickThrough) {
            #if !UNITY_EDITOR
            SetWindowLong(hwnd, GWL_STYLE, WS_POPUP | WS_VISIBLE);
            SetWindowLong (hwnd, -20, (uint)524288 | (uint)32);//GWL_EXSTYLE=-20; WS_EX_LAYERED=524288=&h80000, WS_EX_TRANSPARENT=32=0x00000020L
            SetLayeredWindowAttributes (hwnd, 0, 255, 2);// Transparency=51=20%, LWA_ALPHA=2
            SetWindowPos(hwnd, HWND_TOPMOST, 0, 0, fWidth, fHeight, 32 | 64); //SWP_FRAMECHANGED = 0x0020 (32); //SWP_SHOWWINDOW = 0x0040 (64)
            #endif
        } else {
            #if !UNITY_EDITOR
            SetWindowLong (hwnd, -20, ~((uint)524288) | ((uint)32));//GWL_EXSTYLE=-20; WS_EX_LAYERED=524288=&h80000, WS_EX_TRANSPARENT=32=0x00000020L
            SetWindowLong(hwnd, GWL_STYLE, WS_POPUP | WS_VISIBLE);
            SetLayeredWindowAttributes (hwnd, 0, 255, 2);
            SetWindowPos(hwnd, HWND_TOPMOST, 0, 0, fWidth, fHeight, 32 | 64); //SWP_FRAMECHANGED = 0x0020 (32); //SWP_SHOWWINDOW = 0x0040 (64)
            #endif
        }
        prevClickThrough = clickThrough;
    }
}

void OnRenderImage(RenderTexture from, RenderTexture to)
{
    Graphics.Blit(from, to, m_Material);
}}

I hope someone here can help me! :( Thanks!

Body:
This worked for me.

First, you only need one call of SetWindowLong.

Then, use (-20) instead of GS_STYLE for the 'else' half of the statment.
Like this:

void Update ()
{
    // Raycast stuff

    if (clickThrough != prevClickThrough) {
        if (clickThrough) {
            #if !UNITY_EDITOR
            SetWindowLong (hwnd, -20, (uint)524288 | (uint)32);
            //other code
            #endif
        } else {
            #if !UNITY_EDITOR
            SetWindowLong(hwnd, -20, WS_POPUP | WS_VISIBLE);
            //other code
            #endif
        }
        prevClickThrough = clickThrough;
    }
}