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

macos redirector app + CI #66

Merged
merged 96 commits into from
Jul 25, 2023
Merged

Conversation

emanuele-em
Copy link
Member

Description

The pull request includes the following:

  • .app file
  • minimal source code without xcode project and configurations
  • build.rs To copy the executable to the right place so it can be launched properly

Copy link
Member

@mhils mhils left a comment

Choose a reason for hiding this comment

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

Let's untangle this a bit: In this PR, let's only add the macos-redirector app + a GitHub Actions CI to build it.

build.rs is meant to copy the final (compiled) app into mitmproxy_rs so that it's included as part of the wheel. Copying to /Applications will not help us on the target device. Let's leave build.rs out of the picture here for this PR. :-)

@emanuele-em emanuele-em requested a review from mhils July 19, 2023 21:19
- if: ${{ runner.os == 'macOS' }}
run: |
xcodebuild -project macos-redirector/MitmproxyAppleTunnel.xcodeproj -destination 'platform=macOS' CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED="NO" CODE_SIGN_ENTITLEMENTS="" CODE_SIGNING_ALLOWED="NO" -scheme MitmproxyAppleExtension build
xcodebuild -project macos-redirector/MitmproxyAppleTunnel.xcodeproj -destination 'platform=macOS' CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED="NO" CODE_SIGN_ENTITLEMENTS="" CODE_SIGNING_ALLOWED="NO" -scheme MitmproxyAppleTunnel build
Copy link
Member

Choose a reason for hiding this comment

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

This means binaries will not be signed at all, including for builds from the main branch? That needs to happen for them to work, no?

@mhils mhils enabled auto-merge (squash) July 25, 2023 17:44
Copy link
Member

@mhils mhils left a comment

Choose a reason for hiding this comment

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

🎉

@mhils mhils merged commit 2291ba1 into mitmproxy:main Jul 25, 2023
14 checks passed
@emanuele-em emanuele-em deleted the macos-redirector branch August 18, 2023 08:56
@emanuele-em emanuele-em restored the macos-redirector branch August 22, 2023 10:19
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.

2 participants