Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Could not build module Foundation" error when compiling for iOS with SDK 15.2 #5

Open
itsdarshankumar opened this issue Oct 22, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@itsdarshankumar
Copy link

Godot version

3.4.1

System information

Mac 12.0.1

Issue description

Compiling for iOS using

scons p=iphone tools=no target=release arch=arm64

get lots of this kinds of errors.

In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.h:8:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/NSString+UserNotifications.h:8:9: fatal error: could not build module 'Foundation'
#import <Foundation/Foundation.h>

In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h:8:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/c++/v1/stdbool.h:28:15: fatal error: could not build module 'Darwin'
#include_next <stdbool.h>

Steps to reproduce

Compiling for iOS using

scons p=iphone tools=no target=release arch=arm64

Minimal reproduction project

No response

@itsdarshankumar itsdarshankumar added enhancement New feature or request good first issue Good for newcomers labels Oct 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant