Git Product home page Git Product logo

Comments (2)

omarshamali avatar omarshamali commented on May 26, 2024

I dont know if its a good fix or not, but i put a mark on both FYphoto as follows
Screen Shot 2022-10-17 at 8 54 00 PM

from fyphoto.

MixerTrixer avatar MixerTrixer commented on May 26, 2024

I found a little fix or a workaround for this weird issue.

What you need to do is first locate the FYPhoto images, they are located inside

"The project navigator>Pods>Pods>FYPhoto>Recources>FYPhoto.XCAssets"
Screenshot 2023-03-16 at 11 36 08
Screenshot 2023-03-16 at 11 39 58

Now that you have located all the images, copy all off them into a separate folder in your personal app.XCAssets like so:
Screenshot 2023-03-16 at 11 44 09

Now you must go to the file where the error occurred: XCAssets+Generated.swift
This file is located just above the pods resources folder where we got all the images.
Screenshot 2023-03-16 at 11 50 18

Now all you need to do Is to scroll all the way down to the BundleToken class and change the name of the URL, forResource to Assets.

The change is from this:
Screenshot 2023-03-16 at 12 07 17

Too this
Screenshot 2023-03-16 at 12 07 59

Now your app will read the images from your apps asset folder instead of the pods assets folder. which is more convenient.

from fyphoto.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.