microsoft / microsoft/fluentui-apple

Input and output files of Core_ios not being set

Open
#2,062 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
977
Forks
180
Avg merge
21h 38m
Merged PRs (30d)
1

Description

Environment Information
  • Platform:
    • iOS
    • macOS
  • Package version(s): N/A (affects all)
  • Xcode and OS versions: N/A (affects all)
Please provide a reproduction of the bug:

When building in Xcode, you get a warning like this every time:

Run script build phase '[CP-User] Optimize resource bundle' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase.

This is because the input and output files of that subspec script aren't set.

Priorities and help requested:

Are you willing to submit a PR to fix? - Potentially, but I'm very busy right now.

Requested priority: Normal

Products/applications affected: N/A

Contributor guide

Open the contributing guide

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 Core_ios subspec and its Xcode '[CP-User] Optimize resource bundle' script phase. Reproduce an iOS build and inspect the phase's dependency settings; done when its input and output files are set and the repeated-build warning no longer appears.

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
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.