iOS_Error(五)

iOS_Error(五)

平时遇到的一些error+解决办法,记录 for 再次遇到

  • The linked framework ‘Pods_QNBUALiveIncubator_Example.framework’ is missing one or more architectures required by this target: armv7.
    Target > Build Settings > Build Options > Allow Multi-Platform Builds: YES

  • 找不到类
    Target - Search paths - User Header Search paths
    新增一个值 ${SRCROOT} - Recursive (在根目录递归查找)

  • “XCBBuildService”意外退出。
    退出Xcode,清理DerivedData,后打开重试

  • The certificate used to sign “*” has either expired or has been revoked. An updated certificate is required to sign and install the application.

  1. Delete all provisioning profiles at ~/Library/MobileDevice/Provisioning\ Profiles
  2. Clean the project by holding Shift(⇧)+Command(⌘)+K or selecting Product > Clean (it might be labelled “Clean Build Folder”)
  3. Restart Xcode
  • Build service could not create build operation: unknown error while handling message: MsgHandlingError(message: “unable to initiate PIF transfer session (operation in progress?)”)
    1.Clean Xcode and Close Xcode
    2.delete ~/Library/Developer/Xcode/DerivedData

  • File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a
    Linker command failed with exit code 1 (use -v to see invocation)
    库限制的iOS版本太低了,改高点就好了

  • ~/Pods/RenderCore/RenderCore.framework/Headers/CKNonNull.h:47:33 No member named ‘move’ in namespace ‘std’; did you mean ‘modf’?
    #include

  • Cannot find ‘XXX’ in scope
    pod install 时某些库安装失败了,重新 pod install 一下

你可能感兴趣的:(iOS错误Error,ios,xcode,macos)