Search code examples
iosswiftswift3

error: unable to read module map contents from 'Target Support Files in iOS


i am getting following issue While running an application.but i am stuck at this issue

error: unable to read module map contents from 'Target Support Files/AFNetworking/AFNetworking.modulemap': Error Domain=NSCocoaErrorDomain Code=260 "The file “AFNetworking.modulemap” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Volumes/DATA/Working Projects/demo New/BackUp/21-3/demo/V1/Pods/Target Support Files/AFNetworking/AFNetworking.modulemap, NSUnderlyingError=0x7fae56f2e1c0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}

Please check Screenshot issue image

can you please help me to figure out this issue?


Solution

  • Xcode might be using another projects project path, even though your project is a new project. Closing Xcode and deleting the xcode preferences from ~/Library/Preferences/ might fix the issue.