Xcode升级到15.0 iOS17.0会出现的问题

Xcode升级到15.0 iOS17.0会出现的问题

  • 1、Sandbox: rsync(77134) deny(1) file-write-create ...
  • 2、DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead.
  • 3、SDK does not contain 'libarclite' at the path...
  • 4、Cycle inside XXX; building could produce unreliable results.
  • 5、dyld: Library not loaded: : @rpath/AFNetworking.framework/AFNetworking

1、Sandbox: rsync(77134) deny(1) file-write-create …

解决办法:Build Settings 搜索 User Script Sandboxing,把== User Script Sandboxing== 改为 NO

2、DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead.

解决办法:全局搜索DT_TOOLCHAIN_DIR,一键替换成TOOLCHAIN_DIR

3、SDK does not contain ‘libarclite’ at the path…

解决方法:去pod里面搜索iOS Deployment Target,全部替换成最低支持iOS 12.0

4、Cycle inside XXX; building could produce unreliable results.

解决方法:将Build Phases中的各项重新拖动排序,按以下顺序排序
Xcode升级到15.0 iOS17.0会出现的问题_第1张图片

5、dyld: Library not loaded: : @rpath/AFNetworking.framework/AFNetworking

 Referenced from:            /Users/XXXXX/Library/Developer/CoreSimulator/Devices/XXXXX/data/Containers/Bundle/Application/XXXXX/XXXXX.app/XXXXX
  Reason: image not found

解决方法:执行pod deintegrate,然后再次执行pod install

你可能感兴趣的:(避坑,xcode,macos,objective-c,ios,cocoapods)