FLEXTool / FLEXTool/Reflex

Compile failure on macOS: error: no such module ‘FLEX’

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
53
Forks
9
PR merge metrics
No merged PRs in 30d

Description

```
/Users/src/FLEXing/libreflex/Reflex/Reflex/FLEXSwiftMirror.swift:10:8: error: no such module 'FLEX'
import FLEX
^

```

I’m on macOS Monterey x86_64 with MacPorts, trying to compile from the command line an updated version of libFLEX.dylib for use on the new Dopamine v3.0 jailbreak on my iPad Pro 11” 2018 iOS 17.3.1. I managed to get FLEX latest to compile in debug configuration (idk how to get it to do Release?) but I keep getting this error above when I try to compile libreflex for Swift support.

The FLEX module map exists and I’m new to compiling swift projects so I don’t know how to resolve this.

Meanwhile I have been able to use the new libFLEX.dylib swapped in place of the libVolumeFLEX tweak’s dylib.

I have Xcode but do not use it at all, I do all my development over ssh terminal.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with libreflex/Reflex/Reflex/FLEXSwiftMirror.swift at the failing import and inspect the existing FLEX module map. Reproduce the command-line build on macOS, then compare the module's availability in the debug and release configurations; done means libreflex builds successfully with Swift support.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
build-system, mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.