我的單元測驗在 Xcode 13.2 中運行良好。
我將 Xcode 升級到 13.3,現在我的一些單元測驗失敗了。即使是一個空的測驗用例也會被破壞。這讓我相信 13.3 中的一些內部更新了一些東西。
注意:我的代碼庫中沒有使用 of NSPredicate。
碰撞:

錯誤日志:
2022-03-22 10:01:59.109894-0700 xctest[68458:1354303] [general] NSPredicate:禁止將 NSFunctionExpression 與“NSBundle”實體一起使用。dyld4 配置:DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot DYLD_LIBRARY_PATH=/Users/{me}/ Library/Developer/Xcode/DerivedData/{app_name}-fgvbgpssjjxufdcidapunqbvyado/Build/Products/Debug-iphonesimulator DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/ IOS
uj5u.com熱心網友回復:
我也看到了這個,但是添加一個測驗主機為我修復了它,甚至是一個空的。
轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/449110.html
