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

ASMapNode and ASVideoNode are undefined in xcode #1471

Open
LeeWong opened this issue Apr 28, 2019 · 2 comments
Open

ASMapNode and ASVideoNode are undefined in xcode #1471

LeeWong opened this issue Apr 28, 2019 · 2 comments

Comments

@LeeWong
Copy link

LeeWong commented Apr 28, 2019

ASMapNode and ASVideoNode are undefined in xcode after frameworks are imported.

I think the problem might be the fact that carthage does not support subspec and flags (AS_USE_VIDEO and AS_USE_MAPKIT, etc.) have been added in the pod subspec. During carthage update, a part of .h and .mm files (such as ASMapNode.h ) are not included, even though the build shows successful. It caused undefined errors showing in xcode.

I am not sure how to solve it permanently but the temporary hack solution is to manually modify ASAvailability.h in the Carthage\Checkouts\texture\Source\Base folder :
and run carthage update --platform iOS --no-use-binaries texture.

Please provide a permanent solution.

@DrewKiino
Copy link

Any answer to this? This basically blocks usage for Texture's carthage implementation

@diepnguyendjv
Copy link

I have same issue when i tried to upgrade Texture 3.0.0 by Carthage. It worked well with cocoapod

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

No branches or pull requests

3 participants