Coder Social home page Coder Social logo

Comments (24)

Mikubill avatar Mikubill commented on May 28, 2024 1

我看Travis的编译挺正常的来着QwQ
https://travis-ci.org/Mikubill/Biu/builds/657610926

另外编译的话需要一个文件Source/Biu.plist,感觉有可能是没有这个文件导致的错误(
补充:用carthage更新了框架们了嘛...?

from biu.

Mikubill avatar Mikubill commented on May 28, 2024 1

看log好像真的没有找到框架...?是不是框架的位置不对<

我的Carthage的目录结构是这样的

Carthage
├── Build
│   └── iOS
├── Checkouts
│   ├── Alamofire
│   ├── Cache
│   ├── Kingfisher
│   └── SwiftyJSON
└── External
➜  Biu git:(master) tree Carthage/Build/iOS -L 1 -I "*.bcsymbolmap"
Carthage/Build/iOS
├── Alamofire.framework
├── Alamofire.framework.dSYM
├── Cache.framework
├── Cache.framework.dSYM
├── Kingfisher.framework
├── Kingfisher.framework.dSYM
├── KingfisherSwiftUI.framework
├── KingfisherSwiftUI.framework.dSYM
├── SwiftyJSON.framework
└── SwiftyJSON.framework.dSYM

from biu.

Mikubill avatar Mikubill commented on May 28, 2024 1

另 Build Phases/Copy Bundle Resources 里面的biu.plist已经发到你的邮箱了,放到Source/下即可

from biu.

Mikubill avatar Mikubill commented on May 28, 2024 1

等下....

先用下面的命令代替试试

carthage update --cache-builds --platform iOS 

from biu.

Mikubill avatar Mikubill commented on May 28, 2024 1

Build Phases/Copy Bundle Resources/Biu是啥(?
我的Copy Bundle Resources里面只有

5.png

from biu.

Mikubill avatar Mikubill commented on May 28, 2024 1

(好多!) 把不需要的去掉吧ww

7.png

from biu.

CharlotteFallices avatar CharlotteFallices commented on May 28, 2024

找到问题了,刚才在对比了编译纪录之后,发现是因为XCode的一个可选的编译选项所导致的,部分应用XCode9的编译方案即可解决

from biu.

CharlotteFallices avatar CharlotteFallices commented on May 28, 2024

又报了Apple Mach-O Linker Error,试着清了一下项目的DerivedData......

from biu.

CharlotteFallices avatar CharlotteFallices commented on May 28, 2024

又失败了......放个log

from biu.

CharlotteFallices avatar CharlotteFallices commented on May 28, 2024

发现缺了一个13.2的SDK......

from biu.

CharlotteFallices avatar CharlotteFallices commented on May 28, 2024

可以发一下Bundle(Build Phases/Copy Bundle Resources)里面的那个Biu嘛
@Mikubill

from biu.

CharlotteFallices avatar CharlotteFallices commented on May 28, 2024

cd /Users/charlottes/Desktop/projects/Biu/Biu
    export ACTION=build
    export AD_HOC_CODE_SIGNING_ALLOWED=YES
    export ALTERNATE_GROUP=staff
    export ALTERNATE_MODE=u+w,go-w,a+rX
    export ALTERNATE_OWNER=charlottes
    export ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO
    export ALWAYS_SEARCH_USER_PATHS=NO
    export ALWAYS_USE_SEPARATE_HEADERMAPS=NO
    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 APPLY_RULES_IN_COPY_HEADERS=NO
    export ARCHS=x86_64
    export ARCHS_STANDARD=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=x86_64
    export ARCHS_UNIVERSAL_IPHONE_OS="i386 x86_64"
    export ASSETCATALOG_COMPILER_APPICON_NAME=AppIcon
    export AVAILABLE_PLATFORMS="appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator"
    export BITCODE_GENERATION_MODE=marker
    export BUILD_ACTIVE_RESOURCES_ONLY=YES
    export BUILD_COMPONENTS="headers build"
    export BUILD_DIR=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Products
    export BUILD_LIBRARY_FOR_DISTRIBUTION=NO
    export BUILD_ROOT=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Products
    export BUILD_STYLE=
    export BUILD_VARIANTS=normal
    export BUILT_PRODUCTS_DIR=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Products/Debug-iphonesimulator
    export CACHE_ROOT=/var/folders/bp/3trz0x2s35z569nd6sx41k1w0000gn/C/com.apple.DeveloperTools/11.3.1-11C504/Xcode
    export CCHROOT=/var/folders/bp/3trz0x2s35z569nd6sx41k1w0000gn/C/com.apple.DeveloperTools/11.3.1-11C504/Xcode
    export CHMOD=/bin/chmod
    export CHOWN=/usr/sbin/chown
    export CLANG_ANALYZER_NONNULL=YES
    export CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION=YES_AGGRESSIVE
    export CLANG_CXX_LANGUAGE_STANDARD=gnu++14
    export CLANG_CXX_LIBRARY=libc++
    export CLANG_ENABLE_MODULES=YES
    export CLANG_ENABLE_OBJC_ARC=YES
    export CLANG_ENABLE_OBJC_WEAK=YES
    export CLANG_MODULES_BUILD_SESSION_FILE=/Users/charlottes/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation
    export CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING=YES
    export CLANG_WARN_BOOL_CONVERSION=YES
    export CLANG_WARN_COMMA=YES
    export CLANG_WARN_CONSTANT_CONVERSION=YES
    export CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS=YES
    export CLANG_WARN_DIRECT_OBJC_ISA_USAGE=YES_ERROR
    export CLANG_WARN_DOCUMENTATION_COMMENTS=YES
    export CLANG_WARN_EMPTY_BODY=YES
    export CLANG_WARN_ENUM_CONVERSION=YES
    export CLANG_WARN_INFINITE_RECURSION=YES
    export CLANG_WARN_INT_CONVERSION=YES
    export CLANG_WARN_NON_LITERAL_NULL_CONVERSION=YES
    export CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF=YES
    export CLANG_WARN_OBJC_LITERAL_CONVERSION=YES
    export CLANG_WARN_OBJC_ROOT_CLASS=YES_ERROR
    export CLANG_WARN_RANGE_LOOP_ANALYSIS=YES
    export CLANG_WARN_STRICT_PROTOTYPES=YES
    export CLANG_WARN_SUSPICIOUS_MOVE=YES
    export CLANG_WARN_UNGUARDED_AVAILABILITY=YES_AGGRESSIVE
    export CLANG_WARN_UNREACHABLE_CODE=YES
    export CLANG_WARN__DUPLICATE_METHOD_MATCH=YES
    export CLASS_FILE_DIR=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex/biu.build/Debug-iphonesimulator/Biu.build/JavaClasses
    export CLEAN_PRECOMPS=YES
    export CLONE_HEADERS=NO
    export CODESIGNING_FOLDER_PATH=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Products/Debug-iphonesimulator/Biu.app
    export CODE_SIGNING_ALLOWED=YES
    export CODE_SIGNING_REQUIRED=YES
    export CODE_SIGN_CONTEXT_CLASS=XCiPhoneSimulatorCodeSignContext
    export CODE_SIGN_IDENTITY="Apple Development"
    export CODE_SIGN_INJECT_BASE_ENTITLEMENTS=YES
    export CODE_SIGN_STYLE=Automatic
    export COLOR_DIAGNOSTICS=NO
    export COMBINE_HIDPI_IMAGES=NO
    export COMMAND_MODE=legacy
    export COMPILER_INDEX_STORE_ENABLE=Default
    export COMPOSITE_SDK_DIRS=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex/CompositeSDKs
    export COMPRESS_PNG_FILES=YES
    export CONFIGURATION=Debug
    export CONFIGURATION_BUILD_DIR=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Products/Debug-iphonesimulator
    export CONFIGURATION_TEMP_DIR=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex/biu.build/Debug-iphonesimulator
    export CONTENTS_FOLDER_PATH=Biu.app
    export COPYING_PRESERVES_HFS_DATA=NO
    export COPY_HEADERS_RUN_UNIFDEF=NO
    export COPY_PHASE_STRIP=NO
    export COPY_RESOURCES_FROM_STATIC_FRAMEWORKS=YES
    export CORRESPONDING_DEVICE_PLATFORM_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
    export CORRESPONDING_DEVICE_PLATFORM_NAME=iphoneos
    export CORRESPONDING_DEVICE_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk
    export CORRESPONDING_DEVICE_SDK_NAME=iphoneos13.2
    export CP=/bin/cp
    export CREATE_INFOPLIST_SECTION_IN_BINARY=NO
    export CURRENT_ARCH=x86_64
    export CURRENT_PROJECT_VERSION=561
    export CURRENT_VARIANT=normal
    export DEAD_CODE_STRIPPING=YES
    export DEBUGGING_SYMBOLS=YES
    export DEBUG_INFORMATION_FORMAT=dwarf-with-dsym
    export DEFAULT_COMPILER=com.apple.compilers.llvm.clang.1_0
    export DEFAULT_DEXT_INSTALL_PATH=/System/Library/DriverExtensions
    export DEFAULT_KEXT_INSTALL_PATH=/System/Library/Extensions
    export DEFINES_MODULE=NO
    export DEPLOYMENT_LOCATION=NO
    export DEPLOYMENT_POSTPROCESSING=NO
    export DEPLOYMENT_TARGET_CLANG_ENV_NAME=IPHONEOS_DEPLOYMENT_TARGET
    export DEPLOYMENT_TARGET_CLANG_FLAG_NAME=mios-simulator-version-min
    export DEPLOYMENT_TARGET_CLANG_FLAG_PREFIX=-mios-simulator-version-min=
    export DEPLOYMENT_TARGET_LD_ENV_NAME=IPHONEOS_DEPLOYMENT_TARGET
    export DEPLOYMENT_TARGET_LD_FLAG_NAME=ios_simulator_version_min
    export DEPLOYMENT_TARGET_SETTING_NAME=IPHONEOS_DEPLOYMENT_TARGET
    export DEPLOYMENT_TARGET_SUGGESTED_VALUES="8.0 8.1 8.2 8.3 8.4 9.0 9.1 9.2 9.3 10.0 10.1 10.2 10.3 11.0 11.1 11.2 11.3 11.4 12.0 12.1 12.2 12.3 12.4 13.0 13.1 13.2"
    export DERIVED_FILES_DIR=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex/biu.build/Debug-iphonesimulator/Biu.build/DerivedSources
    export DERIVED_FILE_DIR=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex/biu.build/Debug-iphonesimulator/Biu.build/DerivedSources
    export DERIVED_SOURCES_DIR=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex/biu.build/Debug-iphonesimulator/Biu.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_ASSET_PATHS="\"Source/Preview Content\""
    export DEVELOPMENT_LANGUAGE=en
    export DEVELOPMENT_TEAM=976LPVAR4Y
    export DOCUMENTATION_FOLDER_PATH=Biu.app/en.lproj/Documentation
    export DONT_GENERATE_INFOPLIST_FILE=NO
    export DO_HEADER_SCANNING_IN_JAM=NO
    export DSTROOT=/tmp/biu.dst
    export DT_TOOLCHAIN_DIR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
    export DWARF_DSYM_FILE_NAME=Biu.app.dSYM
    export DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT=NO
    export DWARF_DSYM_FOLDER_PATH=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Products/Debug-iphonesimulator
    export EFFECTIVE_PLATFORM_NAME=-iphonesimulator
    export EMBEDDED_CONTENT_CONTAINS_SWIFT=NO
    export EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE=NO
    export ENABLE_BITCODE=NO
    export ENABLE_DEFAULT_HEADER_SEARCH_PATHS=YES
    export ENABLE_HARDENED_RUNTIME=NO
    export ENABLE_HEADER_DEPENDENCIES=YES
    export ENABLE_ON_DEMAND_RESOURCES=YES
    export ENABLE_PREVIEWS=YES
    export ENABLE_STRICT_OBJC_MSGSEND=YES
    export ENABLE_TESTABILITY=YES
    export ENTITLEMENTS_DESTINATION=__entitlements
    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 *.xcode* *.xcassets (*) .DS_Store CVS .svn .git .hg *.pbproj *.pbxproj"
    export EXECUTABLES_FOLDER_PATH=Biu.app/Executables
    export EXECUTABLE_FOLDER_PATH=Biu.app
    export EXECUTABLE_NAME=Biu
    export EXECUTABLE_PATH=Biu.app/Biu
    export EXPANDED_CODE_SIGN_IDENTITY=-
    export EXPANDED_CODE_SIGN_IDENTITY_NAME=-
    export EXPANDED_PROVISIONING_PROFILE=
    export FILE_LIST=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex/biu.build/Debug-iphonesimulator/Biu.build/Objects/LinkFileList
    export FIXED_FILES_DIR=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex/biu.build/Debug-iphonesimulator/Biu.build/FixedFiles
    export FRAMEWORKS_FOLDER_PATH=Biu.app/Frameworks
    export FRAMEWORK_FLAG_PREFIX=-framework
    export FRAMEWORK_SEARCH_PATHS="/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Products/Debug-iphonesimulator  /Users/charlottes/Desktop/projects/Biu/Biu/Carthage/Build/iOS /Users/charlottes/Desktop/projects/Biu/Biu/Carthage/External"
    export FRAMEWORK_VERSION=A
    export FULL_PRODUCT_NAME=Biu.app
    export GCC3_VERSION=3.3
    export GCC_C_LANGUAGE_STANDARD=gnu11
    export GCC_DYNAMIC_NO_PIC=NO
    export GCC_INLINES_ARE_PRIVATE_EXTERN=YES
    export GCC_NO_COMMON_BLOCKS=YES
    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_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 GENERATE_TEXT_BASED_STUBS=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/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Products/Debug-iphonesimulator/include "
    export HIDE_BITCODE_SYMBOLS=YES
    export HOME=/Users/charlottes
    export ICONV=/usr/bin/iconv
    export INFOPLIST_EXPAND_BUILD_SETTINGS=YES
    export INFOPLIST_FILE=Source/Info.plist
    export INFOPLIST_OUTPUT_FORMAT=binary
    export INFOPLIST_PATH=Biu.app/Info.plist
    export INFOPLIST_PREPROCESS=NO
    export INFOSTRINGS_PATH=Biu.app/en.lproj/InfoPlist.strings
    export INLINE_PRIVATE_FRAMEWORKS=NO
    export INSTALLHDRS_COPY_PHASE=NO
    export INSTALLHDRS_SCRIPT_PHASE=NO
    export INSTALL_DIR=/tmp/biu.dst/Applications
    export INSTALL_GROUP=staff
    export INSTALL_MODE_FLAG=u+w,go-w,a+rX
    export INSTALL_OWNER=charlottes
    export INSTALL_PATH=/Applications
    export INSTALL_ROOT=/tmp/biu.dst
    export IPHONEOS_DEPLOYMENT_TARGET=13.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_FOLDER_PATH=Biu.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/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex/biu.build/Debug-iphonesimulator/Biu.build/Objects-normal/x86_64/Biu_dependency_info.dat
    export LD_GENERATE_MAP_FILE=NO
    export LD_MAP_FILE_PATH=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex/biu.build/Debug-iphonesimulator/Biu.build/Biu-LinkMap-normal-x86_64.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.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
    export LEX=lex
    export LIBRARY_DEXT_INSTALL_PATH=/Library/DriverExtensions
    export LIBRARY_FLAG_NOSPACE=YES
    export LIBRARY_FLAG_PREFIX=-l
    export LIBRARY_KEXT_INSTALL_PATH=/Library/Extensions
    export LIBRARY_SEARCH_PATHS="/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Products/Debug-iphonesimulator  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift"
    export LINKER_DISPLAYS_MANGLED_NAMES=NO
    export LINK_FILE_LIST_normal_x86_64=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex/biu.build/Debug-iphonesimulator/Biu.build/Objects-normal/x86_64/Biu.LinkFileList
    export LINK_WITH_STANDARD_LIBRARIES=YES
    export LLVM_TARGET_TRIPLE_OS_VERSION=ios13.0
    export LLVM_TARGET_TRIPLE_SUFFIX=-simulator
    export LLVM_TARGET_TRIPLE_VENDOR=apple
    export LOCALIZABLE_CONTENT_DIR=
    export LOCALIZED_RESOURCES_FOLDER_PATH=Biu.app/en.lproj
    export LOCALIZED_STRING_MACRO_NAMES="NSLocalizedString CFCopyLocalizedString"
    export LOCALIZED_STRING_SWIFTUI_SUPPORT=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 LOCROOT=
    export LOCSYMROOT=
    export MACH_O_TYPE=mh_execute
    export MAC_OS_X_PRODUCT_BUILD_VERSION=19E224g
    export MAC_OS_X_VERSION_ACTUAL=101504
    export MAC_OS_X_VERSION_MAJOR=101500
    export MAC_OS_X_VERSION_MINOR=1504
    export MARKETING_VERSION=1.1.2
    export METAL_LIBRARY_FILE_BASE=default
    export METAL_LIBRARY_OUTPUT_DIR=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Products/Debug-iphonesimulator/Biu.app
    export MODULES_FOLDER_PATH=Biu.app/Modules
    export MODULE_CACHE_DIR=/Users/charlottes/Library/Developer/Xcode/DerivedData/ModuleCache.noindex
    export MTL_ENABLE_DEBUG_INFO=INCLUDE_SOURCE
    export MTL_FAST_MATH=YES
    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/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex/biu.build/Debug-iphonesimulator/Biu.build/Objects
    export OBJECT_FILE_DIR_normal=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex/biu.build/Debug-iphonesimulator/Biu.build/Objects-normal
    export OBJROOT=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex
    export ONLY_ACTIVE_ARCH=NO
    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.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/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/local/bin:/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 PBDEVELOPMENTPLIST_PATH=Biu.app/pbdevelopment.plist
    export PKGINFO_FILE_PATH=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex/biu.build/Debug-iphonesimulator/Biu.build/PkgInfo
    export PKGINFO_PATH=Biu.app/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_DISPLAY_NAME="iOS Simulator"
    export PLATFORM_NAME=iphonesimulator
    export PLATFORM_PREFERRED_ARCH=x86_64
    export PLATFORM_PRODUCT_BUILD_VERSION=17B102
    export PLIST_FILE_OUTPUT_FORMAT=binary
    export PLUGINS_FOLDER_PATH=Biu.app/PlugIns
    export PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR=YES
    export PRECOMP_DESTINATION_DIR=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex/biu.build/Debug-iphonesimulator/Biu.build/PrefixHeaders
    export PRESERVE_DEAD_CODE_INITS_AND_TERMS=NO
    export PRIVATE_HEADERS_FOLDER_PATH=Biu.app/PrivateHeaders
    export PRODUCT_BUNDLE_IDENTIFIER=moe.biu
    export PRODUCT_BUNDLE_PACKAGE_TYPE=APPL
    export PRODUCT_MODULE_NAME=Biu
    export PRODUCT_NAME=Biu
    export PRODUCT_SETTINGS_PATH=/Users/charlottes/Desktop/projects/Biu/Biu/Source/Info.plist
    export PRODUCT_TYPE=com.apple.product-type.application
    export PROFILING_CODE=NO
    export PROJECT=biu
    export PROJECT_DERIVED_FILE_DIR=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex/biu.build/DerivedSources
    export PROJECT_DIR=/Users/charlottes/Desktop/projects/Biu/Biu
    export PROJECT_FILE_PATH=/Users/charlottes/Desktop/projects/Biu/Biu/biu.xcodeproj
    export PROJECT_NAME=biu
    export PROJECT_TEMP_DIR=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex/biu.build
    export PROJECT_TEMP_ROOT=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex
    export PUBLIC_HEADERS_FOLDER_PATH=Biu.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 REZ_COLLECTOR_DIR=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex/biu.build/Debug-iphonesimulator/Biu.build/ResourceManagerResources
    export REZ_OBJECTS_DIR=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex/biu.build/Debug-iphonesimulator/Biu.build/ResourceManagerResources/Objects
    export REZ_SEARCH_PATHS="/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Products/Debug-iphonesimulator "
    export SCAN_ALL_SOURCE_FILES_FOR_INCLUDES=NO
    export SCRIPTS_FOLDER_PATH=Biu.app/Scripts
    export SCRIPT_INPUT_FILE_0=/Users/charlottes/Desktop/projects/Biu/Biu/Carthage/Build/iOS/Alamofire.framework
    export SCRIPT_INPUT_FILE_1=/Users/charlottes/Desktop/projects/Biu/Biu/Carthage/Build/iOS/Kingfisher.framework
    export SCRIPT_INPUT_FILE_2=/Users/charlottes/Desktop/projects/Biu/Biu/Carthage/Build/iOS/KingfisherSwiftUI.framework
    export SCRIPT_INPUT_FILE_3=/Users/charlottes/Desktop/projects/Biu/Biu/Carthage/Build/iOS/SwiftyJSON.framework
    export SCRIPT_INPUT_FILE_4=/Users/charlottes/Desktop/projects/Biu/Biu/Carthage/Build/iOS/Cache.framework
    export SCRIPT_INPUT_FILE_COUNT=5
    export SCRIPT_INPUT_FILE_LIST_COUNT=0
    export SCRIPT_OUTPUT_FILE_COUNT=0
    export SCRIPT_OUTPUT_FILE_LIST_COUNT=0
    export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk
    export SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk
    export SDK_DIR_iphonesimulator13_2=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk
    export SDK_NAME=iphonesimulator13.2
    export SDK_NAMES=iphonesimulator13.2
    export SDK_PRODUCT_BUILD_VERSION=17B102
    export SDK_VERSION=13.2
    export SDK_VERSION_ACTUAL=130200
    export SDK_VERSION_MAJOR=130000
    export SDK_VERSION_MINOR=200
    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/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Products/Debug-iphonesimulator/DerivedSources
    export SHARED_FRAMEWORKS_FOLDER_PATH=Biu.app/SharedFrameworks
    export SHARED_PRECOMPS_DIR=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex/PrecompiledHeaders
    export SHARED_SUPPORT_FOLDER_PATH=Biu.app/SharedSupport
    export SKIP_INSTALL=NO
    export SOURCE_ROOT=/Users/charlottes/Desktop/projects/Biu/Biu
    export SRCROOT=/Users/charlottes/Desktop/projects/Biu/Biu
    export STRINGS_FILE_OUTPUT_ENCODING=binary
    export STRIP_BITCODE_FROM_COPIED_FILES=NO
    export STRIP_INSTALLED_PRODUCT=YES
    export STRIP_STYLE=all
    export STRIP_SWIFT_SYMBOLS=YES
    export SUPPORTED_DEVICE_FAMILIES=1,2
    export SUPPORTED_PLATFORMS="iphonesimulator iphoneos"
    export SUPPORTS_TEXT_BASED_API=NO
    export SWIFT_ACTIVE_COMPILATION_CONDITIONS=DEBUG
    export SWIFT_OPTIMIZATION_LEVEL=-Onone
    export SWIFT_PLATFORM_TARGET_PREFIX=ios
    export SWIFT_VERSION=5.0
    export SYMROOT=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/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_DEXT_INSTALL_PATH=/System/Library/DriverExtensions
    export SYSTEM_DOCUMENTATION_DIR=/Library/Documentation
    export SYSTEM_KEXT_INSTALL_PATH=/System/Library/Extensions
    export SYSTEM_LIBRARY_DIR=/System/Library
    export TAPI_VERIFY_MODE=ErrorsOnly
    export TARGETED_DEVICE_FAMILY=1
    export TARGETNAME=Biu
    export TARGET_BUILD_DIR=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Products/Debug-iphonesimulator
    export TARGET_DEVICE_IDENTIFIER=E448E5CC-CD54-41DB-8B90-BD076D144836
    export TARGET_DEVICE_MODEL=iPhone8,4
    export TARGET_DEVICE_OS_VERSION=13.0
    export TARGET_NAME=Biu
    export TARGET_TEMP_DIR=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex/biu.build/Debug-iphonesimulator/Biu.build
    export TEMP_DIR=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex/biu.build/Debug-iphonesimulator/Biu.build
    export TEMP_FILES_DIR=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex/biu.build/Debug-iphonesimulator/Biu.build
    export TEMP_FILE_DIR=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex/biu.build/Debug-iphonesimulator/Biu.build
    export TEMP_ROOT=/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex
    export TOOLCHAINS=com.apple.dt.toolchain.XcodeDefault
    export TOOLCHAIN_DIR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
    export TREAT_MISSING_BASELINES_AS_TEST_FAILURES=NO
    export UID=501
    export UNLOCALIZED_RESOURCES_FOLDER_PATH=Biu.app
    export UNSTRIPPED_PRODUCT=NO
    export USER=charlottes
    export USER_APPS_DIR=/Users/charlottes/Applications
    export USER_LIBRARY_DIR=/Users/charlottes/Library
    export USE_DYNAMIC_NO_PIC=YES
    export USE_HEADERMAP=YES
    export USE_HEADER_SYMLINKS=NO
    export USE_LLVM_TARGET_TRIPLES=YES
    export USE_LLVM_TARGET_TRIPLES_FOR_CLANG=YES
    export USE_LLVM_TARGET_TRIPLES_FOR_LD=YES
    export USE_LLVM_TARGET_TRIPLES_FOR_TAPI=YES
    export VALIDATE_PRODUCT=NO
    export VALIDATE_WORKSPACE=NO
    export VALID_ARCHS="i386 x86_64"
    export VERBOSE_PBXCP=NO
    export VERSIONPLIST_PATH=Biu.app/version.plist
    export VERSION_INFO_BUILDER=charlottes
    export VERSION_INFO_FILE=Biu_vers.c
    export VERSION_INFO_STRING="\"@(#)PROGRAM:Biu  PROJECT:biu-561\""
    export WRAPPER_EXTENSION=app
    export WRAPPER_NAME=Biu.app
    export WRAPPER_SUFFIX=.app
    export WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES=NO
    export XCODE_APP_SUPPORT_DIR=/Applications/Xcode.app/Contents/Developer/Library/Xcode
    export XCODE_PRODUCT_BUILD_VERSION=11C504
    export XCODE_VERSION_ACTUAL=1131
    export XCODE_VERSION_MAJOR=1100
    export XCODE_VERSION_MINOR=1130
    export XPCSERVICES_FOLDER_PATH=Biu.app/XPCServices
    export YACC=yacc
    export arch=x86_64
    export variant=normal
    /bin/sh -c /Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex/biu.build/Debug-iphonesimulator/Biu.build/Script-DA643240233BCA560014E735.sh

之后找不到Alamofire框架
明明它就放在那里......

from biu.

CharlotteFallices avatar CharlotteFallices commented on May 28, 2024


刚才在检查后发现Carthage给我报了这么一段:

Charlottes-MacBook-Pro:Biu charlottes$ carthage update
*** Cloning Cache
*** Cloning SwiftyJSON
*** Cloning Kingfisher
*** Cloning Alamofire
*** Checking out Alamofire at "5.0.2"
*** Checking out Cache at "5.2.0"
*** Checking out Kingfisher at "5.13.2"
*** Checking out SwiftyJSON at "5.0.0"
*** Downloading Kingfisher.framework binary at "5.13.2 - KFImage Orientation"
*** xcodebuild output can be found in /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/carthage-xcodebuild.3pBIJv.log
*** Building scheme "Alamofire macOS" in Alamofire.xcworkspace
*** Building scheme "Alamofire watchOS" in Alamofire.xcworkspace
*** Building scheme "Alamofire tvOS" in Alamofire.xcworkspace
*** Building scheme "Alamofire iOS" in Alamofire.xcworkspace
*** Building scheme "Cache-macOS" in Cache.xcodeproj
*** Building scheme "Cache-tvOS" in Cache.xcodeproj
*** Building scheme "Cache-iOS" in Cache.xcodeproj
*** Building scheme "Kingfisher" in Kingfisher.xcworkspace
Failed to write to ./Carthage/Build/Mac/Kingfisher.framework: 
Error Domain=NSCocoaErrorDomain 
Code=260 
"The file “Kingfisher.framework” couldn’t be opened because there is no such file." 
UserInfo{
NSURL=file:///var/root/Library/Caches/org.carthage.CarthageKit/DerivedData/11.3.1_11C504/Kingfisher/5.13.2/Build/Intermediates.noindex/ArchiveIntermediates/Kingfisher/BuildProductsPath/Release-iphoneos/Kingfisher.framework, 
NSFilePath=/var/root/Library/Caches/org.carthage.CarthageKit/DerivedData/11.3.1_11C504/Kingfisher/5.13.2/Build/Intermediates.noindex/ArchiveIntermediates/Kingfisher/BuildProductsPath/Release-iphoneos/Kingfisher.framework,
 NSUnderlyingError=0x7ff92dcd8b10 
{
Error Domain=NSPOSIXErrorDomain 
Code=2 
"No such file or directory"
}
}

然后去翻了一下NSError,里面有这么一段:

enum{
    NSFileNoSuchFileError = 4,
    NSFileLockingError = 255,
    NSFileReadUnknownError = 256,
    NSFileReadNoPermissionError = 257,
    NSFileReadInvalidFileNameError = 258,
    NSFileReadCorruptFileError = 259,
    NSFileReadNoSuchFileError = 260,
    NSFileReadInapplicableStringEncodingError = 261,
    NSFileReadUnsupportedSchemeError = 262,
    NSFileReadTooLargeError = 263,
    NSFileReadUnknownStringEncodingError = 264,
    NSFileWriteUnknownError = 512,
    NSFileWriteNoPermissionError = 513,
    NSFileWriteInvalidFileNameError = 514,
    NSFileWriteInapplicableStringEncodingError = 517,
    NSFileWriteUnsupportedSchemeError = 518,
    NSFileWriteOutOfSpaceError = 640,
    NSFileWriteVolumeReadOnlyError = 642,
    NSKeyValueValidationError = 1024,
    NSFormattingError = 2048,
    NSUserCancelledError = 3072,
    
    NSFileErrorMinimum = 0,
    NSFileErrorMaximum = 1023,
    NSValidationErrorMinimum = 1024,
    NSValidationErrorMaximum = 2047,
    NSFormattingErrorMinimum = 2048,
    NSFormattingErrorMaximum = 2559,
    
    NSPropertyListReadCorruptError = 3840,
    NSPropertyListReadUnknownVersionError = 3841,
    NSPropertyListReadStreamError = 3842,
    NSPropertyListWriteStreamError = 3851,
    NSPropertyListErrorMinimum = 3840,
    NSPropertyListErrorMaximum = 4095
    
    NSExecutableErrorMinimum = 3584,
    NSExecutableNotLoadableError = 3584,
    NSExecutableArchitectureMismatchError = 3585,
    NSExecutableRuntimeMismatchError = 3586,
    NSExecutableLoadError = 3587,
    NSExecutableLinkError = 3588,
    NSExecutableErrorMaximum = 3839
}

然后没找到后面那个NSPOSIXErrorDomain
试着搜了一下NSposix错误集
然后搜出来一堆网络问题......
然后又查了一下posix
出来这么一段:

a set of formal descriptions that provide a standard for the design of operating systems, especially ones that are compatible with Unix.

......所以是设计规范嘛
但是NS的设计规范又跟我这一只如此可爱的仙人球又有什么关系呢?
......
还是来解决一下前面那个NSCocoaErrorDomain
这个集报了一个260
NSFileReadNoSuchFileError嘛......QAQ

*** Building scheme "Kingfisher" in Kingfisher.xcworkspace

下面出现的话
那就手动下一份依赖就好了......
先改一下Cartfile的顺序吧......

from biu.

CharlotteFallices avatar CharlotteFallices commented on May 28, 2024

......调完之后就:

"GitHub API request failed: 
networkError(
Error Domain=NSURLErrorDomain 
Code=-1004 
"Could not connect to the server."
 UserInfo=
{
NSUnderlyingError=0x7fb3a642e9f0 
{
Error Domain=kCFErrorDomainCFNetwork 
Code=-1004 
"(null)" 
UserInfo=
{
_kCFStreamErrorCodeKey=61, 
_kCFStreamErrorDomainKey=1
}
}, NSErrorFailingURLStringKey=https://api.github.com/repos/SwiftyJSON/SwiftyJSON/releases/tags/5.0.0?, 
NSErrorFailingURLKey=https://api.github.com/repos/SwiftyJSON/SwiftyJSON/releases/tags/5.0.0?, 
_kCFStreamErrorDomainKey=1,
 _kCFStreamErrorCodeKey=61, 
NSLocalizedDescription=Could not connect to the server.
}
)"

然后就:

enum
{
    NSURLErrorUnknown = -1,
    NSURLErrorCancelled = -999,
    NSURLErrorBadURL = -1000,
    NSURLErrorTimedOut = -1001,
    NSURLErrorUnsupportedURL = -1002,
    NSURLErrorCannotFindHost = -1003,
    NSURLErrorCannotConnectToHost = -1004,
    NSURLErrorDataLengthExceedsMaximum = -1103,
    NSURLErrorNetworkConnectionLost = -1005,
    NSURLErrorDNSLookupFailed = -1006,
    NSURLErrorHTTPTooManyRedirects = -1007,
    NSURLErrorResourceUnavailable = -1008,
    NSURLErrorNotConnectedToInternet = -1009,
    NSURLErrorRedirectToNonExistentLocation = -1010,
    NSURLErrorBadServerResponse = -1011,
    NSURLErrorUserCancelledAuthentication = -1012,
    NSURLErrorUserAuthenticationRequired = -1013,
    NSURLErrorZeroByteResource = -1014,
    NSURLErrorCannotDecodeRawData = -1015,
    NSURLErrorCannotDecodeContentData = -1016,
    NSURLErrorCannotParseResponse = -1017,
    NSURLErrorFileDoesNotExist = -1100,
    NSURLErrorFileIsDirectory = -1101,
    NSURLErrorNoPermissionsToReadFile = -1102,
    NSURLErrorSecureConnectionFailed = -1200,
    NSURLErrorServerCertificateHasBadDate = -1201,
    NSURLErrorServerCertificateUntrusted = -1202,
    NSURLErrorServerCertificateHasUnknownRoot = -1203,
    NSURLErrorServerCertificateNotYetValid = -1204,
    NSURLErrorClientCertificateRejected = -1205,
    NSURLErrorClientCertificateRequired = -1206,
    NSURLErrorCannotLoadFromNetwork = -2000,
    NSURLErrorCannotCreateFile = -3000,
    NSURLErrorCannotOpenFile = -3001,
    NSURLErrorCannotCloseFile = -3002,
    NSURLErrorCannotWriteToFile = -3003,
    NSURLErrorCannotRemoveFile = -3004,
    NSURLErrorCannotMoveFile = -3005,
    NSURLErrorDownloadDecodingFailedMidStream = -3006,
    NSURLErrorDownloadDecodingFailedToComplete = -3007
}

-1004就是NSURLErrorCannotConnectToHost
???????
啥?
我翻个墙试试去......

from biu.

CharlotteFallices avatar CharlotteFallices commented on May 28, 2024

可以了==
谢谢吖qwq
所以说能不能发一下Build Phases/Copy Bundle Resources/Biu......

from biu.

CharlotteFallices avatar CharlotteFallices commented on May 28, 2024

==
截屏2020-03-05 下午7 41 39

from biu.

CharlotteFallices avatar CharlotteFallices commented on May 28, 2024

或许吧......忽然发现编译参数里面加了个Legacy......

from biu.

CharlotteFallices avatar CharlotteFallices commented on May 28, 2024

所以这个编译参数到底哪里有问题吖......

sudo swift
sudo clang -target x86_64-apple-ios13.0-simulator -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk -L/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Products/Debug-iphonesimulator -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift -F/Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Products/Debug-iphonesimulator -F/Users/charlottes/Desktop/projects/Biu/Biu/Carthage/Build/iOS -F/Users/charlottes/Desktop/projects/Biu/Biu/Carthage/External -filelist /Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex/biu.build/Debug-iphonesimulator/Biu.build/Objects-normal/x86_64/Biu.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex/biu.build/Debug-iphonesimulator/Biu.build/Objects-normal/x86_64/Biu_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex/biu.build/Debug-iphonesimulator/Biu.build/Objects-normal/x86_64/Biu.swiftmodule -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex/biu.build/Debug-iphonesimulator/Biu.build/Biu.app-Simulated.xcent -lswiftCoreLocation -lAccessibility -lcoretls_cfhelpers -lswiftCallKit -lmav_ipc_router_dynamic -lIOACIPCICEBB -lAWDProtobufGCK -framework NotificationCenter -lswiftsimd -framework Security -licucore -lswiftCoreMIDI -lBKDM1 -framework CoreML -lETLEFSDumpDynamic -lBBUpdaterDynamic_stubs -framework MetricKit -lARI -framework IOSurface -lcurses -framework Vision -framework ImageCaptureCore -lswiftPencilKit -framework BusinessChat -llockdown -lswiftAssetsLibrary -framework CoreMotion -framework NetworkExtension -lswiftUIKit -framework CoreLocation -lAWDProtobufFacetimeiMessage -lBBUpdaterDynamic -framework BackgroundTasks -framework CoreNFC -lcryptex -framework Social -framework CoreAudioKit -lswiftNetwork -lpthread -lresolv.9 -ltzupdate -lmis -framework Twitter -lswiftNaturalLanguage -lobjc.A -framework GSS -lnetworkextension -lbz2 -lmarisa -ldl -lswiftMetal -framework Accelerate -lswiftCoreData -lCRFSuite -framework VideoToolbox -framework MetalKit -lUSBTransport -framework MessageUI -lswiftModelIO -framework MediaToolbox -lperfcheck -lgermantok -framework AudioUnit -framework Network -lipsec.A -limg4 -llzma -lz.1.2.5 -lDHCPServer -lexslt -framework XcodeKit -framework EventKit -framework LocalAuthentication -lswiftGameplayKit -lafc -framework CoreFoundation -ltidy.A -lswiftIntents -linfo -lproc -lheimdal-asn1 -framework Python3 -ldscsym -lMemoryResourceException -framework NewsstandKit -lWirelessAudioIPC -framework PassKit -framework GLKit -lAppleSSEExt -lm -lutil -lauthinstall -lAWDSupportFramework -lswiftDarwin -framework CoreHaptics -licucore.A -lobjc -lmenu -framework QuickLook -lInFieldCollection -lcupolicy -lETLDLOADCoreDumpDynamic -liconv.2.4.0 -lfire2 -framework iAd -framework Photos -lcryptex_core_development -lDHCPServer.A -framework OpenGLES -framework AssetsLibrary -late -lCRFSuite0.12 -framework Kingfisher -lSystem -framework GameKit -lTelephonyBasebandDynamic -lswiftCore -framework QuickLookThumbnailing -lChineseTokenizer -lz -framework AddressBookUI /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/AppleConvergedTransport.tbd -framework HealthKit -lncurses -lAXSpeechManager -lpanel.5.4 -framework DeviceCheck -framework SceneKit -lETLDLFDynamic -liconv.2 -lHDLCDynamic -framework AdSupport -framework PushKit -lbz2.1.0.5 -framework Cache -framework SwiftyJSON -lswiftARKit -framework ImageIO -larchive.2 -lc++ -lz.1 -lswiftCoreMedia -limg4_development -lCTGreenTeaLogger -llangid -lPPMDataModel -lFDR -ledit -lnfstorage -lform -lswiftDispatch -lswiftSwiftOnoneSupport -framework IdentityLookup -lswiftSpeech -lTelephonyIOKitDynamic -lxpc_datastores -lMatch.1 -framework CryptoTokenKit -lswiftSceneKit -framework CoreMIDI -lswiftCoreAudio -lnfshared -lmenu.5.4 -lSystem.B -lxslt -framework Messages -framework ClassKit -lSystem_asan -framework ReplayKit -lAppleHIDSWDFlash -framework UserNotificationsUI -lRoseBooter -framework HealthKitUI -lomadm -framework IntentsUI -lpoll -lsystemstats -framework AddressBook -lswiftAVFoundation -framework VisionKit -framework GameController -lKTLDynamic -framework CoreMedia -framework SpriteKit -lIOReport -lz.1.1.3 -lAudioToolboxUtility -lxml2 -framework GameplayKit -lswiftMediaPlayer -lnfrestore -lncurses.5.4 -llzma.5 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/ACIPCBTLib.tbd -framework ARKit -ltidy -framework ContactsUI -framework FileProviderUI -lWAPI -lswiftMetricKit -framework HomeKit -framework Alamofire -lswiftos -ltermcap -framework SafariServices -lresolv -lswiftXCTest -lTelephonyUtilDynamic -lSystem.B_asan -ledit.2 -framework PhotosUI -ledit.3 -lmorphun -lETLDynamic -lbz2.1.0 -lswiftGLKit -lusrtcp -lz.1.2.8 -framework MobileCoreServices -lAHTRestore -lsqlite3.0 -lAWDSupport -lapple_nghttp2 -framework CoreTelephony -framework UIKit -ldbm -lLeaksAtExit -framework AVFoundation -lspindump -lform.5.4 -lH5Dynamic -lAudioStatistics -lParallelCompression -framework CallKit -lAppletTranslationLibrary -framework ExternalAccessory -framework JavaScriptCore -lcharset.1.0.0 -lTelephonyUSBDynamic -lsqlite3 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/CarrierBundleUtilities.tbd -liconv -lAWDProtobufBluetooth -lswiftDemangle -lATCommandStudioDynamic -lcoretls -llocker -lc++.1 -framework MultipeerConnectivity -ltailspin -lMTLCapture -lc++abi -framework Contacts -lPPM -framework MapKit -framework Foundation -lbsm -lmecabra -lETLSAHDynamic -lextension -lrpcsvc -lenergytrace -framework SwiftUI -lcryptex_development -lMatch -lLLVM -lMaxEnt -larchive -framework SoundAnalysis -lcups -lFDRDecode -lxslt.1 -lMobileGestalt -lIOABP -lswiftCompression -leasyperf -lgmalloc -framework CoreImage -lobjc-trampolines -framework CarPlay -lswiftSpriteKit -lETLDMCDynamic -lolaf -lpanel -lipconfig -lQMIParserDynamic -framework WebKit -framework CoreVideo -lMobileCheckpoint -lsp -lcharset -framework Accounts -lapp_launch_measurement -framework LinkPresentation -lipsec -lswiftCoreFoundation -lcompression -lcups.2 -lFosl_dynamic -lThaiTokenizer -framework InterfaceBuilderKit -lswiftAccelerate -framework AVKit -lswiftFoundation -lprequelite -framework FileProvider -framework OpenAL -lBasebandManager -lreadline -framework StoreKit -lswiftContacts -lxml2.2 -lswiftCoreNFC -lPCITransport -lAppPatch -lswiftMapKit -lnetwork -lbsm.0 -ldns_services -framework MetalPerformanceShaders -framework QuartzCore -framework MediaAccessibility -lsysdiagnose -lBKDM2 -lETLDIAGLoggingDynamic -framework CoreBluetooth -lamsupport -framework Intents -framework CoreServices -framework KingfisherSwiftUI -lc -lswiftQuartzCore -framework CoreSpotlight -lswiftCoreML -framework CoreAudioTypes -lSMC -framework PencilKit -lz.1.2.11 -lswiftMetalKit -framework XCTest -framework CoreGraphics -lAXSafeCategoryBundle -framework WatchConnectivity -lktrace -framework CoreText -lswiftObjectiveC -lboringssl -lAWDProtobufFacetime -framework CoreData -lncurses.5 -framework Metal -lfire3 -lcharset.1 -framework AudioToolbox -lutil1.0 -framework VideoSubscriberAccount -ledit.3.0 -framework ModelIO -lAWDProtobufLocation -lexslt.0 -lMobileGestaltExtensions -lswiftHomeKit -lswiftCloudKit -lswiftCoreImage -framework PDFKit -lswiftPhotos -framework SystemConfiguration -lIOACIPC -lmecab -lAudioIssueDetector -framework NaturalLanguage -lTelephonyDebugDynamic -lcryptex_core -lSecRecord -lsandbox.1 -lacmobileshim -lswiftVision -framework CloudKit -lswiftCoreGraphics -framework IdentityLookupUI -framework CFNetwork -framework MediaPlayer -lARIServer -lsandbox -framework AuthenticationServices -lcmph -framework CoreAudio -framework Speech -framework EventKitUI -framework UserNotifications -lReverseProxyDevice -lETLDLOADDynamic -lIOAccessoryManager -Xlinker -dependency_info -Xlinker /Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Intermediates.noindex/biu.build/Debug-iphonesimulator/Biu.build/Objects-normal/x86_64/Biu_dependency_info.dat -o /Users/charlottes/Library/Developer/Xcode/DerivedData/biu-fgacliyydcjbzibjfduwxhxgqbva/Build/Products/Debug-iphonesimulator/Biu.app/Biu

报的是Command Ld failed with a nonzero exit code的说QAQ

from biu.

CharlotteFallices avatar CharlotteFallices commented on May 28, 2024

唔......
可以发一下
Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk
嘛QAQ

from biu.

Mikubill avatar Mikubill commented on May 28, 2024

缺SDK有可能是xcode版本太低..?
能否提供一下xcode和osx版本

(如果需要特定的sdk的话可以在 https://developer.apple.com/download/ 找一下

from biu.

Mikubill avatar Mikubill commented on May 28, 2024

欸?话说编译为什么不直接用xcodebuild或者xctool或者Command + B呢(疑问)

from biu.

CharlotteFallices avatar CharlotteFallices commented on May 28, 2024

唔......大概是因为我的XCode有它自己的想法?

from biu.

CharlotteFallices avatar CharlotteFallices commented on May 28, 2024

然后XCode是11.4,macOS是10.15.4的说==

from biu.

CharlotteFallices avatar CharlotteFallices commented on May 28, 2024

==

from biu.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.