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

chore(cordova/apple): introduce XCode subproject #1787

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

fortuna
Copy link
Collaborator

@fortuna fortuna commented Nov 21, 2023

This PR introduces a subproject (OutlineLib) to the main Cordova project, and moves the VPN Extension to it.

This has some advantages:

  • Allows us to define bundles outside the Cordova project, which is not possible in Swift Packages. This reduces the need to edit the main project.
  • Allows us to move away from the Swift Package

Notice that the new project still depends on the Swift Package. The goal is to eventually move all the code to the OutlineLib subproject, so we can get rid of the Swift package.

I'm hoping that after we finish this, the Cordova project generated by iOS can be minimally edited to just add the subproject dependency and set the dependencies of the main app target, which could perhaps be done automatically.

image

@fortuna fortuna requested a review from sbruens November 21, 2023 22:56
@fortuna fortuna requested a review from a team as a code owner November 21, 2023 22:56
Copy link

codecov bot commented Nov 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f38b935) 32% compared to head (b76c86d) 32%.

Additional details and impacted files
@@          Coverage Diff           @@
##           master   #1787   +/-   ##
======================================
  Coverage      32%     32%           
======================================
  Files          45      45           
  Lines        2609    2609           
  Branches      337     337           
======================================
  Hits          859     859           
  Misses       1750    1750           
Flag Coverage Δ
apple 15% <ø> (ø)
ios 15% <ø> (ø)
maccatalyst 15% <ø> (ø)
macos 15% <ø> (ø)
unittests 32% <ø> (ø)
www 40% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fortuna fortuna changed the title chore(cordova/ios): Introduce XCode subproject chore(cordova/apple): introduce XCode subproject Nov 21, 2023
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
Copy link
Contributor

Choose a reason for hiding this comment

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

This shouldn't need version information injected on bulid, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants