openframeworks / openframeworks/projectGenerator

(iOS) Projects created with addons that specify extra frameworks to include fail to build on Big Sur

Open
#267 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
90
Forks
79
Avg merge
2d 9h
Merged PRs (30d)
5

Description

So to quickly preface this - this will likely be massively unhelpful in solving the issue so I apologize ahead of time. That said I will try to describe the issue as best I can.

Basically in short - I manage a iOS addon and as I was going to update some things today. I got hit with some very odd errors during compilation with regards to things like missing definitions for OpenGL(I know it's slated for deprecation but last I heard that hadn't happened quite yet) as well as other seemingly important frameworks.

  • This is from a fresh download of oF and my addon,
  • No changes were made at this point. I was just testing things due to me only recently updating to Big Sur

After some digging I saw a suggestion somewhere suggesting that the linked frameworks in the addon could be the issue. I tried it a few ways but ultimately the fix was to

  • Remove specified frameworks from addon_config.mk in my addon
  • Create a blank project with my addon included.
  • Re-add the necessary frameworks my addon needs.

I don't have the link off-hand (if I find it again I will edit the issue) but I also saw another suggestion was to remove all the absolute paths under Framework Search Paths within build settings.

Any ideas as to what might be happening? Is there another way I can bundle the frameworks my addon requires without running into issues? Worst case I can just make a note saying that new users should add the additional frameworks but it'd be really great to have the whole process baked in.

Thank you!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure on Big Sur with a fresh openFrameworks download and an addon whose addon_config.mk specifies extra frameworks. Compare that generated project with the workaround that removes those entries and manually adds the frameworks, including the Framework Search Paths settings. Done means addon-specified frameworks are included without manual project changes and the generated iOS project builds.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios
Domain
build-system, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.