liyan
liyan

Reputation: 1

fatal error: module 'Foundation' is needed but has not been provided, and implicit use of module files is disabled

When I use XCode 16 for building, I get the following error. The xcodebuild command I used triggered it. What is the problem?

 In file included from /var/folders/9b/70l7vl6j3577k0mstkzcv0n80000gp/T/frameworks-wdg2nklh/Pods/PandaRise/PandaRise/Classes/AView.m:9:
    export/Release-iphoneos/AFNetworking/AFNetworking.framework/Headers/AFNetworking.h:23:9: fatal error: module 'Foundation' is needed but has not been provided, and implicit use of module files is disabled
       23 | #import <Foundation/Foundation.h>
          |         ^
    1 error generated.

Upvotes: 0

Views: 16

Answers (0)

Related Questions