Skip to content

[Bug]: Compilation Error (iOS): Variable length array folded to constant array as an extension #3433

@travistrue2008

Description

@travistrue2008

System Info

System:
OS: macOS 26.0.1
CPU: (11) arm64 Apple M3 Pro
Memory: 99.69 MB / 18.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.19.0 - ~/.nvm/versions/node/v20.19.0/bin/node
npm: 10.8.2 - ~/.nvm/versions/node/v20.19.0/bin/npm
pnpm: 10.18.3 - ~/.nvm/versions/node/v20.19.0/bin/pnpm
bun: 1.3.0 - ~/.bun/bin/bun

Details

The latest published version of the Lynx framework (v3.4.2) has a compilation error in LynxBackgroundRenderer.. This compilation error was fixed in this commit over a month ago, however this PR was created/merged after the latest release. The last 2 versions of this pod that's published on cocoapods are broken.

Reproduce link

No response

Reproduce Steps

  1. Run npx create-lynxjs-app, and follow the CLI. Make sure to select iOS for options. This builds a Lynx project similar to rspeedy, except it also generates Gradle and Xcode projects that builds a barebones Lynx app using the cocoapods version of the Lynx framework.
  2. Add this line of code in the Podfile: pod 'PrimJS/quickjs_debugger', '= 2.14.0-rc.1'
  3. Open the Xcode workspace, and build the app

Expected Behavior
The app should build successfully

Actual Behavior
The app fails with 3 compiler errors related to: Variable length array folded to constant array as an extension in LynxBackgroundRenderer.h.

Adding a new patch release will fix this issue.

Metadata

Metadata

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions