LeoMobileDeveloper / LeoMobileDeveloper/Blogs

自定义 module 的 framework build 后, 并不会包含 module 中的代码

Open
#9 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted
Dominant language
Objective-C
Stars
1.6k
Forks
295
PR merge metrics
No merged PRs in 30d

Description

自定义 module 的 framework build 后, 并不会包含 module 中的代码,
而是通过 search path 去原路径寻找的, 如果把 framework 项目的路径修改,
或者把framework 丢个别人都会报 Missing required module
module 之间应该应该都是相互引用的, 并不会直接编译到二进制文件中,
查了好久还没有查到解决办法

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 reproducing the custom module framework build and then move the resulting framework away from its original project path. Check how its search path and module references are packaged; done means the moved framework contains or resolves its module code without reporting Missing required module. No source files or tests are identified in the issue.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.