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

clarification on texture example #222

Open
wweevv-johndpope opened this issue Aug 27, 2022 · 1 comment
Open

clarification on texture example #222

wweevv-johndpope opened this issue Aug 27, 2022 · 1 comment

Comments

@wweevv-johndpope
Copy link

https://github.com/wweevv-johndpope/Telegram-iOS/tree/dev/async

I can see the texture example successfully build / extract to vendor folder etc.

I have spent last day and half attempting to use this code in project above.

I can see the vendor folder get populated just as the sample project does - but I can't verify I can then use the asyncdisplaykit inside a project.

I started to install telusi and went down that rabbit hole attempting to generate an xcode project
it wasn't succesful. I guess the texture sample is just a framework?
I want a TextureProject sample that does same as texture - but uses it inside a appdelegate.swift
It's like I'm missing a global configuration.... been pulling my hair out....
Please help.
Screen Shot 2022-08-27 at 9 50 17 pm

BACKGROUND
Telegram uses a slimmed down fork of asyncdisplaykit locally - but they threw out some useful classes.
I'm attempting to upgrade it.

@wweevv-johndpope
Copy link
Author

wweevv-johndpope commented Aug 27, 2022

Screen Shot 2022-08-27 at 10 00 14 pm

should this name correspond to the swift import statement?

objc_library(name="all", deps=["//Vendor/Texture:Texture"])

objc_library(name="AsyncDisplayKit", deps=["//Vendor/Texture:Texture"])

should this be inside an iosframework for texture to work?
Screen Shot 2022-08-27 at 10 02 34 pm

When I run this command in telegram - I get a project ok


 python3 build-system/Make/Make.py \
    --cacheDir="$HOME/telegram-bazel-cache" \
    generateProject \
    --configurationPath="$HOME/telegram-configuration" \
    --disableExtensions \
    --disableProvisioningProfiles

Screen Shot 2022-08-27 at 10 03 52 pm

but then can't access

Screen Shot 2022-08-27 at 10 04 35 pm

I check the dependencies for that group - and it seems fine.... not sure what's going wrong..
Screen Shot 2022-08-27 at 10 05 02 pm

N.B.
I took the codebase and replaced 110 references

Screen Shot 2022-08-27 at 10 06 47 pm

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

1 participant