Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add remote Swift packages to the Frameworks build phase #487

Merged
merged 2 commits into from
Oct 8, 2019

Conversation

kwridan
Copy link
Collaborator

@kwridan kwridan commented Oct 8, 2019

  • There was a typo in one of the helper methods that adds remote Swift packages that led to products being added to the sources build phase rather than the frameworks build phase

Screen Shot 2019-10-08 at 8 54 37 AM

Test Plan:

  • Update tuist/tuist to point to this branch of XcodeProj
  • Run tuist generate within fixtures/ios_app_with_remote_swift_package
  • Verify the remote packages do not appear within the sources build phase

- There was a typo in one of the helper methods that adds remote Swift packages that led to products being added to the sources build phase rather than the frameworks build phase

Test Plan:

- Update tuist/tuist to point to this branch of XcodeProj
- Run `tuist generate` within `fixtures/ios_app_with_remote_swift_package`
- Verify the remote packages do not appear within the sources build phase
@kwridan kwridan requested a review from fortmarek October 8, 2019 08:00
Copy link
Member

@fortmarek fortmarek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, should have noticed it when I was adding local package 🙂

@tuistbot
Copy link

tuistbot commented Oct 8, 2019

SwiftLint found issues

Warnings

File Line Reason
PBXProject.swift 200 Line should be 150 characters or less: currently 155 characters (line_length)
PBXProject.swift 381 Line should be 150 characters or less: currently 153 characters (line_length)

Generated by 🚫 Danger

@codecov
Copy link

codecov bot commented Oct 8, 2019

Codecov Report

Merging #487 into master will decrease coverage by 0.07%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #487      +/-   ##
=========================================
- Coverage   82.47%   82.4%   -0.08%     
=========================================
  Files         148     148              
  Lines        8052    8052              
=========================================
- Hits         6641    6635       -6     
- Misses       1411    1417       +6
Impacted Files Coverage Δ
...odeProjTests/Objects/Project/PBXProjectTests.swift 100% <100%> (ø) ⬆️
Sources/XcodeProj/Objects/Project/PBXProject.swift 83.02% <100%> (ø) ⬆️
Sources/XcodeProj/Objects/Targets/PBXTarget.swift 78.57% <0%> (-4.77%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7b899a0...1ad5891. Read the comment docs.

@kwridan kwridan merged commit ea74aaf into master Oct 8, 2019
@kwridan kwridan deleted the fixes/remote-swift-packages branch October 8, 2019 10:39
damirdavletov added a commit to badoo/xcodeproj that referenced this pull request Mar 13, 2020
…clab_dev

* 'master' of https://github.com/badoo/xcodeproj:
  Updated changelog
  Tests for adding system library to group
  Add remote Swift packages to the Frameworks build phase (tuist#487)
  Bump cocoapods from 1.8.1 to 1.8.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants