FLEXTool / FLEX

An in-app debugging and exploration tool for iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SPM not working with FLEX.

Seth-CBS opened this issue · comments

commented

Environment

  • Platform+version: iOS 14+
  • FLEX version: SPM - 4.7.0 & master branch

Bug Report

I am unable to compile my project with FLEX when added through SPM. My team is attempting to update all of our frameworks to SPM from Carthage. We have figured a pathway for all of them besides FLEX and one other we are working with. After adding so many successfully, I believe I followed the normal process to a "T" and have tested it multiple times.

Both versions will have their packages fully resolve without issues. Then I add FLEX to the app's target's frameworks and try to compile. Every time I get the error, "Framework not found FLEX". Anything to point me in the right direction would be appreciated.

One other note is the installation guide for the FLEX SPM is for adding it to another package, but not a project's target. There is no package.swift file when implementing it through the Xcode Project -> Package Dependencies.

Screen Shot 2022-10-10 at 11 18 16 AM

commented

We still had a build setting referencing FLEX from our Carthage installation. It was a weird error, but that is on Xcode. Everything seems to be working now!