Skip to content

Conversation

@mbernson
Copy link
Contributor

@mbernson mbernson commented Nov 27, 2025

In this commit, the import statement at the top of libPhoneNumber.h was removed. This causes the build to fail because the FOUNDATION_EXPORT macro is undefined.

This PR adds an import for #import <Foundation/Foundation.h> to fix it.

@LowAmmo
Copy link
Collaborator

LowAmmo commented Dec 1, 2025

@mbernson - How are you consuming this library? SPM? Cocoapods?

Is the issue with FOUNDATION_EXPORT not being defined coming from building this library, or building your application/component?

What version of Xcode are you building with?

I'm just not seeing this problem...so curious how to recreate and why I'm not seeing it...

@ayoze
Copy link

ayoze commented Dec 1, 2025

Same problem here.

@LowAmmo
Copy link
Collaborator

LowAmmo commented Dec 1, 2025

@ayoze - Can you describe your build environment and how you are getting the error?

(also, @ayoze or @mbernson if one of you could create an issue and tie it to this PR - as a place to document exactly what the problem is, that would be much appreciated!)

@mbernson
Copy link
Contributor Author

mbernson commented Dec 1, 2025

Hi @LowAmmo, I've opened an issue with more information as you've requested: #436

@LowAmmo LowAmmo linked an issue Dec 1, 2025 that may be closed by this pull request
@LowAmmo LowAmmo merged commit 52e6d90 into iziz:master Dec 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build error: unknown type name 'FOUNDATION_EXPORT'

4 participants