This error is only showing when working with Xcode 14 beta 6. While building my project, I get an error for "Resource bundle not found. Run 'pod install' to update the copy resources script" but 'pod install' doesn't fix the error. The only difference in the Copy Pods Resources Build Phase is that the resource with the error has an input file path of "${PODS_CONFIGURATION_BUILD_DIR}/..." where other successful resources have a path of "${PODS_ROOT}/...". (The project builds successfully in Xcode 13.4.1) Do I need to set a new path for the resource? Why is the error only showing in the beta version?
Post
Replies
Boosts
Views
Activity
I was reading that this crash is likely due to a incorrect variable assignment, does that align with this output? If so, how can I determine where/what variable is being assigned? Or where should I be looking instead? I've been unable to reproduce the crash so far.
Thread 20 Crashed:
0 libsystem_kernel.dylib 0x00000001cc615578 __pthread_kill (libsystem_kernel.dylib)
1 libsystem_c.dylib 0x0000000195480178 abort (libsystem_c.dylib)
2 libswiftCore.dylib 0x00000001880a8b98 swift::fatalError(unsigned int, char const*, ...) (libswiftCore.dylib)
3 libswiftCore.dylib 0x00000001880a8bb8 swift::warningv(unsigned int, char const*, char*) (libswiftCore.dylib)
4 libswiftCore.dylib 0x000000018809eb80 swift::swift_dynamicCastFailure(swift::TargetMetadata<swift::InProcess> const*, swift::TargetMetadata<swift::InProcess> const*, char const*) (libswiftCore.dylib)
5 libswiftCore.dylib 0x000000018809ebfc swift::_conformsToProtocol(swift::OpaqueValue const*, swift::TargetMetadata<swift::InProcess> const*, swift::TargetProtocolDescriptorRef<swift::InProcess>, swift::TargetWitnessTable<swift::InProcess> const**) (libswiftCore.dylib)
6 libswiftCore.dylib 0x000000018809fd14 swift_dynamicCastClassUnconditionalImpl(void const*, swift::TargetClassMetadata<swift::InProcess, swift::TargetAnyClassMetadataObjCInterop<swift::InProcess>> const*, char const*, unsigned int, unsigned int) (libswiftCore.dylib)