openframeworks / openframeworks/projectGenerator

Add addDylib function similar to addFramework

Open
#320 10 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

For macOS/iOS Xcode

Currently addons with dylibs cause projects to fail to run as the dlyibs are not copied into the Bundle.

We should add a function similar to addFramework so dylibs are not just linked but added to the Copy File Build Phase.

Good reference here for how to do that:
https://github.com/openframeworks/projectGenerator/blob/master/ofxProjectGenerator/src/projects/xcodeProject.cpp#L422-L509

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

Start by locating the existing addFramework implementation and compare it with xcodeProject.cpp lines 422-509 from the linked reference. Trace how the generated Xcode project handles linked frameworks and its Copy File Build Phase. Done means dylibs are both linked and copied into the application Bundle for macOS/iOS projects.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, macos
Domain
build-system, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.