Streamlyne / Cocoa-SDK

Streamlyne API for Cocoa Developers
https://github.com/Streamlyne/Cocoa-SDK
2 stars 1 forks source link

Generating Documentation not working #1

Open Glavin001 opened 10 years ago

Glavin001 commented 10 years ago

Error:

/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Products/Debug-iphonesimulator
fatal error: lipo: /Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Products/Debug-iphonesimulator/../Debug-iphonesimulator/libStreamlyne-iOS-SDK.a and /Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Products/Debug-iphonesimulator/libStreamlyne-iOS-SDK.a have the same architectures (i386) and can't be in the same fat output file

Full:

PhaseScriptExecution Run\ Script /Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Intermediates/Streamlyne\ Cocoa\ SDK.build/Debug-iphonesimulator/Documentation.build/Script-7787C60C1845104800D91E20.sh
    cd /Users/glavin/Development/Cocoa-SDK
    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=glavin
    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 APPLY_RULES_IN_COPY_FILES=NO
    export ARCHS=i386
    export ARCHS_STANDARD="i386 x86_64"
    export ARCHS_STANDARD_32_64_BIT="i386 x86_64"
    export ARCHS_STANDARD_32_BIT=i386
    export ARCHS_STANDARD_64_BIT=x86_64
    export ARCHS_STANDARD_INCLUDING_64_BIT="i386 x86_64"
    export AVAILABLE_PLATFORMS="iphonesimulator macosx iphoneos"
    export BUILD_COMPONENTS="headers build"
    export BUILD_DIR=/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Products
    export BUILD_ROOT=/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Products
    export BUILD_STYLE=
    export BUILD_VARIANTS=normal
    export BUILT_PRODUCTS_DIR=/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Products/Debug-iphonesimulator
    export CACHE_ROOT=/var/folders/wd/z7rxpbjs0hzcjr40rhbk_qhw0000gn/C/com.apple.DeveloperTools/5.1.1-5B1008/Xcode
    export CCHROOT=/var/folders/wd/z7rxpbjs0hzcjr40rhbk_qhw0000gn/C/com.apple.DeveloperTools/5.1.1-5B1008/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_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__DUPLICATE_METHOD_MATCH=YES
    export CLASS_FILE_DIR="/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Intermediates/Streamlyne Cocoa SDK.build/Debug-iphonesimulator/Documentation.build/JavaClasses"
    export CLEAN_PRECOMPS=YES
    export CLONE_HEADERS=NO
    export CODESIGNING_FOLDER_PATH=/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Products/Debug-iphonesimulator/
    export CODE_SIGNING_ALLOWED=NO
    export CODE_SIGN_CONTEXT_CLASS=XCiPhoneSimulatorCodeSignContext
    export COLOR_DIAGNOSTICS=NO
    export COMBINE_HIDPI_IMAGES=NO
    export COMMAND_MODE=legacy
    export COMPOSITE_SDK_DIRS=/var/folders/wd/z7rxpbjs0hzcjr40rhbk_qhw0000gn/C/com.apple.DeveloperTools/5.1.1-5B1008/Xcode/CompositeSDKs
    export COMPRESS_PNG_FILES=YES
    export CONFIGURATION=Debug
    export CONFIGURATION_BUILD_DIR=/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Products/Debug-iphonesimulator
    export CONFIGURATION_TEMP_DIR="/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Intermediates/Streamlyne Cocoa SDK.build/Debug-iphonesimulator"
    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=i386
    export CURRENT_VARIANT=normal
    export DEAD_CODE_STRIPPING=NO
    export DEBUGGING_SYMBOLS=YES
    export DEBUG_INFORMATION_FORMAT=dwarf-with-dsym
    export DEFAULT_COMPILER=com.apple.compilers.llvm.clang.1_0
    export DEFAULT_KEXT_INSTALL_PATH=/System/Library/Extensions
    export DEPLOYMENT_LOCATION=NO
    export DEPLOYMENT_POSTPROCESSING=NO
    export DERIVED_FILES_DIR="/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Intermediates/Streamlyne Cocoa SDK.build/Debug-iphonesimulator/Documentation.build/DerivedSources"
    export DERIVED_FILE_DIR="/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Intermediates/Streamlyne Cocoa SDK.build/Debug-iphonesimulator/Documentation.build/DerivedSources"
    export DERIVED_SOURCES_DIR="/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Intermediates/Streamlyne Cocoa SDK.build/Debug-iphonesimulator/Documentation.build/DerivedSources"
    export DEVELOPER_APPLICATIONS_DIR=/Applications/Xcode.app/Contents/Developer/Applications
    export DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/usr/bin
    export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
    export DEVELOPER_FRAMEWORKS_DIR=/Applications/Xcode.app/Contents/Developer/Library/Frameworks
    export DEVELOPER_FRAMEWORKS_DIR_QUOTED=/Applications/Xcode.app/Contents/Developer/Library/Frameworks
    export DEVELOPER_LIBRARY_DIR=/Applications/Xcode.app/Contents/Developer/Library
    export DEVELOPER_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
    export DEVELOPER_TOOLS_DIR=/Applications/Xcode.app/Contents/Developer/Tools
    export DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/usr
    export DEVELOPMENT_LANGUAGE=English
    export DO_HEADER_SCANNING_IN_JAM=NO
    export DSTROOT="/tmp/Streamlyne Cocoa SDK.dst"
    export DT_TOOLCHAIN_DIR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
    export DWARF_DSYM_FILE_NAME=.dSYM
    export DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT=NO
    export DWARF_DSYM_FOLDER_PATH=/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Products/Debug-iphonesimulator
    export EFFECTIVE_PLATFORM_NAME=-iphonesimulator
    export ENABLE_HEADER_DEPENDENCIES=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 FILE_LIST="/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Intermediates/Streamlyne Cocoa SDK.build/Debug-iphonesimulator/Documentation.build/Objects/LinkFileList"
    export FIXED_FILES_DIR="/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Intermediates/Streamlyne Cocoa SDK.build/Debug-iphonesimulator/Documentation.build/FixedFiles"
    export FRAMEWORK_VERSION=A
    export GCC3_VERSION=3.3
    export GCC_C_LANGUAGE_STANDARD=gnu99
    export GCC_DYNAMIC_NO_PIC=NO
    export GCC_OBJC_LEGACY_DISPATCH=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_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
    export GCC_WARN_UNUSED_FUNCTION=YES
    export GCC_WARN_UNUSED_VARIABLE=YES
    export GENERATE_MASTER_OBJECT_FILE=NO
    export GENERATE_PKGINFO_FILE=NO
    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 HEADER_SEARCH_PATHS=" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include"
    export ICONV=/usr/bin/iconv
    export INFOPLIST_EXPAND_BUILD_SETTINGS=YES
    export INFOPLIST_OUTPUT_FORMAT=binary
    export INFOPLIST_PREPROCESS=NO
    export INSTALL_DIR="/tmp/Streamlyne Cocoa SDK.dst"
    export INSTALL_GROUP=staff
    export INSTALL_MODE_FLAG=u+w,go-w,a+rX
    export INSTALL_OWNER=glavin
    export INSTALL_ROOT="/tmp/Streamlyne Cocoa SDK.dst"
    export IPHONEOS_DEPLOYMENT_TARGET=7.0
    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_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/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Intermediates/Streamlyne Cocoa SDK.build/Debug-iphonesimulator/Documentation.build/Objects-normal/i386/Documentation_dependency_info.dat"
    export LD_GENERATE_MAP_FILE=NO
    export LD_MAP_FILE_PATH="/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Intermediates/Streamlyne Cocoa SDK.build/Debug-iphonesimulator/Documentation.build/Documentation-LinkMap-normal-i386.txt"
    export LD_NO_PIE=NO
    export LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER=YES
    export LEGACY_DEVELOPER_DIR=/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
    export LEX=lex
    export LIBRARY_FLAG_NOSPACE=YES
    export LIBRARY_KEXT_INSTALL_PATH=/Library/Extensions
    export LINKER_DISPLAYS_MANGLED_NAMES=NO
    export LINK_FILE_LIST_normal_i386=
    export LINK_WITH_STANDARD_LIBRARIES=YES
    export LOCAL_ADMIN_APPS_DIR=/Applications/Utilities
    export LOCAL_APPS_DIR=/Applications
    export LOCAL_DEVELOPER_DIR=/Library/Developer
    export LOCAL_LIBRARY_DIR=/Library
    export MACOSX_DEPLOYMENT_TARGET=10.9
    export MAC_OS_X_PRODUCT_BUILD_VERSION=13D65
    export MAC_OS_X_VERSION_ACTUAL=1093
    export MAC_OS_X_VERSION_MAJOR=1090
    export MAC_OS_X_VERSION_MINOR=0903
    export MODULE_CACHE_DIR=/Users/glavin/Library/Developer/Xcode/DerivedData/ModuleCache
    export NATIVE_ARCH=i386
    export NATIVE_ARCH_32_BIT=i386
    export NATIVE_ARCH_64_BIT=x86_64
    export NATIVE_ARCH_ACTUAL=x86_64
    export NO_COMMON=YES
    export OBJC_ABI_VERSION=2
    export OBJECT_FILE_DIR="/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Intermediates/Streamlyne Cocoa SDK.build/Debug-iphonesimulator/Documentation.build/Objects"
    export OBJECT_FILE_DIR_normal="/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Intermediates/Streamlyne Cocoa SDK.build/Debug-iphonesimulator/Documentation.build/Objects-normal"
    export OBJROOT=/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Intermediates
    export ONLY_ACTIVE_ARCH=YES
    export OPTIMIZATION_LEVEL=0
    export OS=MACOS
    export OSAC=/usr/bin/osacompile
    export PASCAL_STRINGS=YES
    export PATH="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/local/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Tools:/usr/bin:/bin:/usr/sbin:/sbin"
    export PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES="/usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms"
    export PKGINFO_FILE_PATH="/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Intermediates/Streamlyne Cocoa SDK.build/Debug-iphonesimulator/Documentation.build/PkgInfo"
    export PLATFORM_DEVELOPER_APPLICATIONS_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications
    export PLATFORM_DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin
    export PLATFORM_DEVELOPER_LIBRARY_DIR=/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library
    export PLATFORM_DEVELOPER_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs
    export PLATFORM_DEVELOPER_TOOLS_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Tools
    export PLATFORM_DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr
    export PLATFORM_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
    export PLATFORM_NAME=iphonesimulator
    export PLATFORM_PREFERRED_ARCH=i386
    export PLATFORM_PRODUCT_BUILD_VERSION=11D167
    export PLATFORM_VERSION_AVAILABILITY_H_FORMAT=70100
    export PLIST_FILE_OUTPUT_FORMAT=binary
    export PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR=YES
    export PRECOMP_DESTINATION_DIR="/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Intermediates/Streamlyne Cocoa SDK.build/Debug-iphonesimulator/Documentation.build/PrefixHeaders"
    export PRESERVE_DEAD_CODE_INITS_AND_TERMS=NO
    export PRODUCT_NAME=Documentation
    export PRODUCT_SETTINGS_PATH=
    export PROFILING_CODE=NO
    export PROJECT="Streamlyne Cocoa SDK"
    export PROJECT_DERIVED_FILE_DIR="/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Intermediates/Streamlyne Cocoa SDK.build/DerivedSources"
    export PROJECT_DIR=/Users/glavin/Development/Cocoa-SDK
    export PROJECT_FILE_PATH="/Users/glavin/Development/Cocoa-SDK/Streamlyne Cocoa SDK.xcodeproj"
    export PROJECT_NAME="Streamlyne Cocoa SDK"
    export PROJECT_TEMP_DIR="/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Intermediates/Streamlyne Cocoa SDK.build"
    export PROJECT_TEMP_ROOT=/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Intermediates
    export RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS=YES
    export REMOVE_CVS_FROM_RESOURCES=YES
    export REMOVE_GIT_FROM_RESOURCES=YES
    export REMOVE_HG_FROM_RESOURCES=YES
    export REMOVE_SVN_FROM_RESOURCES=YES
    export REZ_COLLECTOR_DIR="/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Intermediates/Streamlyne Cocoa SDK.build/Debug-iphonesimulator/Documentation.build/ResourceManagerResources"
    export REZ_OBJECTS_DIR="/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Intermediates/Streamlyne Cocoa SDK.build/Debug-iphonesimulator/Documentation.build/ResourceManagerResources/Objects"
    export SCAN_ALL_SOURCE_FILES_FOR_INCLUDES=NO
    export SCRIPT_INPUT_FILE_COUNT=0
    export SCRIPT_OUTPUT_FILE_COUNT=0
    export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk
    export SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk
    export SDK_NAME=iphonesimulator7.1
    export SDK_PRODUCT_BUILD_VERSION=11D167
    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=NO
    export SHARED_DERIVED_FILE_DIR=/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Products/Debug-iphonesimulator/DerivedSources
    export SHARED_PRECOMPS_DIR=/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Intermediates/PrecompiledHeaders
    export SKIP_INSTALL=YES
    export SOURCE_ROOT=/Users/glavin/Development/Cocoa-SDK
    export SRCROOT=/Users/glavin/Development/Cocoa-SDK
    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/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/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.app/Contents/Developer/Applications
    export SYSTEM_DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/usr/bin
    export SYSTEM_DEVELOPER_DEMOS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples"
    export SYSTEM_DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
    export SYSTEM_DEVELOPER_DOC_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library"
    export SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools"
    export SYSTEM_DEVELOPER_JAVA_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Java Tools"
    export SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Performance Tools"
    export SYSTEM_DEVELOPER_RELEASENOTES_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes"
    export SYSTEM_DEVELOPER_TOOLS=/Applications/Xcode.app/Contents/Developer/Tools
    export SYSTEM_DEVELOPER_TOOLS_DOC_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools"
    export SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools"
    export SYSTEM_DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/usr
    export SYSTEM_DEVELOPER_UTILITIES_DIR=/Applications/Xcode.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
    export TARGETNAME=Documentation
    export TARGET_BUILD_DIR=/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Products/Debug-iphonesimulator
    export TARGET_NAME=Documentation
    export TARGET_TEMP_DIR="/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Intermediates/Streamlyne Cocoa SDK.build/Debug-iphonesimulator/Documentation.build"
    export TEMP_DIR="/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Intermediates/Streamlyne Cocoa SDK.build/Debug-iphonesimulator/Documentation.build"
    export TEMP_FILES_DIR="/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Intermediates/Streamlyne Cocoa SDK.build/Debug-iphonesimulator/Documentation.build"
    export TEMP_FILE_DIR="/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Intermediates/Streamlyne Cocoa SDK.build/Debug-iphonesimulator/Documentation.build"
    export TEMP_ROOT=/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Intermediates
    export TOOLCHAINS=com.apple.dt.toolchain.XcodeDefault
    export UID=501
    export UNSTRIPPED_PRODUCT=NO
    export USER=glavin
    export USER_APPS_DIR=/Users/glavin/Applications
    export USER_LIBRARY_DIR=/Users/glavin/Library
    export USE_DYNAMIC_NO_PIC=YES
    export USE_HEADERMAP=YES
    export USE_HEADER_SYMLINKS=NO
    export VALIDATE_PRODUCT=NO
    export VALID_ARCHS="i386 x86_64"
    export VERBOSE_PBXCP=NO
    export VERSION_INFO_BUILDER=glavin
    export VERSION_INFO_FILE=Documentation_vers.c
    export VERSION_INFO_STRING="\"@(#)PROGRAM:Documentation  PROJECT:Streamlyne Cocoa SDK-\""
    export XCODE_APP_SUPPORT_DIR=/Applications/Xcode.app/Contents/Developer/Library/Xcode
    export XCODE_PRODUCT_BUILD_VERSION=5B1008
    export XCODE_VERSION_ACTUAL=0511
    export XCODE_VERSION_MAJOR=0500
    export XCODE_VERSION_MINOR=0510
    export XPCSERVICES_FOLDER_PATH=/XPCServices
    export YACC=yacc
    export arch=i386
    export variant=normal
    /bin/sh -c \"/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Intermediates/Streamlyne\ Cocoa\ SDK.build/Debug-iphonesimulator/Documentation.build/Script-7787C60C1845104800D91E20.sh\"

/Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Products/Debug-iphonesimulator
fatal error: lipo: /Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Products/Debug-iphonesimulator/../Debug-iphonesimulator/libStreamlyne-iOS-SDK.a and /Users/glavin/Library/Developer/Xcode/DerivedData/Streamlyne_Cocoa_SDK-fyrnduiwvinxajfjelauyxnhztxw/Build/Products/Debug-iphonesimulator/libStreamlyne-iOS-SDK.a have the same architectures (i386) and can't be in the same fat output file
Glavin001 commented 10 years ago

Looks like I must have used: http://www.simplicate.info/blog/using-appledoc-to-generate-xcode-help-part-1

Glavin001 commented 10 years ago

Turns out the AppleDoc was actually working, however there was a second run script in Xcode build phase:

echo ${BUILT_PRODUCTS_DIR}
rm -rf ${BUILT_PRODUCTS_DIR}/libStreamlyne-iOS-SDK-universal.a

lipo -create "${BUILT_PRODUCTS_DIR}/../${CONFIGURATION}-iphonesimulator/libStreamlyne-iOS-SDK.a" \
"${BUILT_PRODUCTS_DIR}/libStreamlyne-iOS-SDK.a" -output \
"${BUILT_PRODUCTS_DIR}/libStreamlyne-iOS-SDK-universal.a"

And it was failing.

At first glance, looks like the two input files are the same (both for iOS). However, I believe that they are for the iOS Simulator and the real iOS devices, thus allowing a static lib that can be included and used for both. Will do further research later.