sbugert / react-native-admob

A react-native component for Google AdMob banners
BSD 2-Clause "Simplified" License
1.13k stars 532 forks source link

could not build module 'CoreFoundation' #527

Open kostiantyn-solianyk opened 3 years ago

kostiantyn-solianyk commented 3 years ago

After installing this library, and running on IOS I always get error => could not build module 'CoreFoundation'

` /Users/skostiantyn/Projects/perkwiz-mobile/ios/Pods/../../node_modules/react-native/ReactCommon/fabric/graphics/platform/android/float.h:8:10: 'limits' file not found

#include <limits>
                  ^

❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:10: could not build module 'CoreFoundation'

#include <CoreFoundation/CoreFoundation.h>
         ^~~~~~~~

❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h:28:10: could not build module 'CoreFoundation'

#include <CoreFoundation/CFBase.h>
 ~~~~~~~~^

❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h:18:10: could not build module 'CoreFoundation'

#include <CoreFoundation/CoreFoundation.h>
 ~~~~~~~~^

❌  /Users/skostiantyn/Projects/perkwiz-mobile/ios/Pods/Target Support Files/Pods-perkwizMobile/Pods-perkwizMobile-dummy.m:1:9: could not build module 'Foundation'

#import <Foundation/Foundation.h>
 ~~~~~~~~^

error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening perkwizMobile.xcworkspace. Run CLI with --verbose flag for more details.
`
HL727 commented 1 year ago

same issues