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

Build Error: "DEVELOPMENT_ASSET_PATHS does not exist" #1

Open
sollted opened this issue Jan 18, 2024 · 3 comments
Open

Build Error: "DEVELOPMENT_ASSET_PATHS does not exist" #1

sollted opened this issue Jan 18, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@sollted
Copy link

sollted commented Jan 18, 2024

Hi i really like your project and i wanted to build it on my machine so cloned the repo didnt make any changes and i get this error:

PeerChat/PeerChat.xcodeproj One of the paths in DEVELOPMENT_ASSET_PATHS does not exist: PeerChat/PeerSotial/Preview Content

i have school project same as yours would you be willing to explain the code to me?

i would be very gratefull.

@Lukas1h
Copy link
Owner

Lukas1h commented Jan 22, 2024

Huh that's an interesting error. Not sure what's causing it. I'm away from the computer right now. When I get back I'll right up an explanation. Is there any specific part of the code that you need explained?

@Lukas1h
Copy link
Owner

Lukas1h commented Jan 24, 2024

So pretty much all the logic is contained in the Model class in PeerChat/Model/Model.swift.

When it gets init'd it registers some of the Multipeer Connectivity stuff, and sets the delegate of those classes to the Model class itself.

MCNearbyServiceBrowserDelegate as it says in the name handles finding other peers.
MCSessionDelegate handles sending and receiving, and connecting to new peers.
MCNearbyServiceAdvertiserDelegate handles broadcasting to the peer itself to other peers so they can find each other.

Is there anything else that needs explained?

I'm currently working on trying to fix the build issue.

@Lukas1h Lukas1h changed the title problems with building Build Error: "DEVELOPMENT_ASSET_PATHS does not exist" Jan 24, 2024
@Lukas1h Lukas1h added the bug Something isn't working label Jan 24, 2024
@Lukas1h
Copy link
Owner

Lukas1h commented Jan 24, 2024

Could you try the following fix:

  • Create a new XCode project
  • Copy all the code from the old project to the new one.
  • Build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants