Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Feb 2, 2021. It is now read-only.
/xctoolPublic archive

Make xctool play nice with Find Implicit Dependencies#98

Merged
fpotter merged 4 commits intomasterfromfpotter/fix-implicit-dependencies
Jul 12, 2013

Conversation

fpotter
Copy link
Contributor

When xctool builds tests, it generates a throwaway workspace and scheme and then callsxcodebuild on that workspace/scheme.

There were 2 problems that prevented implicit dependencies from working --

  1. The generated scheme needed to setbuildImplicitDependencies = "YES" if the original scheme said to use implicit dependencies.
  2. The generated workspace needed to include all projects in the original workspace given to xctool. If it didn't, xcodebuild wouldn't have enough information to calculate dependencies. (Previously, we only included those projects which were mentioned explicitly in the original scheme given to xctool).

Thisfixes#62 and#16, and xctool will finally play nice with CocoaPods out of the box.

…ethods.This `populate` method is getting pretty big - let's refactor it a bit.
…methods.This populate function was getting too long.
…tings.If the original scheme enabled 'parallelizeBuildables' or'buildImplicitDependencies', then the generated scheme should use them,too.
…s workspacePreviously, we only added projects for the buildables and testables tothe generated workspace.  This was fine, but it doesn't give Xcode'sFind Implicit Dependencies feature enough information to work from.Let's make the generated workspace include all the projects.Test Plan:Tests pass.  Verified that find implicit dependencies now works with aCocoaPods project.
@yas375
Copy link
Contributor

I've just tried this branch on my dummy test project which was created for#16 and it works with implicit dependencies!

The only change I was required to do is to setONLY_ACTIVE_ARCH=NO for bothFooBar andFooBarTests targets.

2013-07-10_1151
It wasYES by default forDebug configuration.

Thank you@fpotter for your job! 👍

@fpotter
Copy link
ContributorAuthor

@yas375 Thanks for verifying!

@yas375
Copy link
Contributor

@fpotter sure! :)

fpotter added a commit that referenced this pull requestJul 12, 2013
Make xctool play nice with Find Implicit Dependencies
@fpotterfpotter merged commit3677d7a intomasterJul 12, 2013
@fpotterfpotter deleted the fpotter/fix-implicit-dependencies branchJuly 12, 2013 19:40
@alloy
Copy link

Awesome!

tomquist pushed a commit to tomquist/xctool that referenced this pull requestAug 23, 2013
…cit-dependenciesMake xctool play nice with Find Implicit Dependencies
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Enable Support for Implicit Dependencies
3 participants
@fpotter@yas375@alloy

[8]ページ先頭

©2009-2025 Movatter.jp