MaatheusGois / lan-scanner

An iOS Lan Network Scanner in Swift Package Manager
MIT License
38 stars 17 forks source link

Unable to Build #9

Open sarfraz-pentaloop opened 9 months ago

sarfraz-pentaloop commented 9 months ago

unable to build the project, I am using Xcode 14.3.1

sarfraz-pentaloop commented 9 months ago

facing this issues /lan-scanner-develop/Example/LanScannerExample.xcodeproj: Missing package product 'LanScanner'

MaatheusGois commented 8 months ago

When you did the project clone, are you changed the project name? Because the example is associate with the SPM, the repo name need be: lan-scanner

pmacro commented 8 months ago

This issue is because the example project includes the lan-scanner package two ways: as a package dependency on https://github.com/MaatheusGois/lan-scanner, and as a dependency on the package one folder above the example project.

To fix, just remove one of them.