-
Notifications
You must be signed in to change notification settings - Fork 401
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
GitHub actions for building #695
base: master
Are you sure you want to change the base?
Conversation
e2fd348
to
3c5ab71
Compare
Signed-off-by: Ali Karbassi <[email protected]>
eb689d3
to
527c695
Compare
@cstigler I've been working on the build action for about a few weeks now (2-3 hours a day) and I'm stuck. The current problem is the build command. It throws an error when trying to link Sentry to SCKillerHelper.
Any ideas? |
344b2b9
to
59e099f
Compare
@karbassi You are a hero for even trying :) sorry for slow replies, life is busy right now so haven't had a ton of time for SC things Re linker error I'm unfortunately not sure... I assume you've installed all the CocoaPods including Sentry, right? I'm a little confused about why there'd be a directory not found error given that, but it sounds like they might be in the wrong location. Are you getting this every time you build the application, or only in your GH action workflow? Because it does build fine for me in Xcode... |
@cstigler I can't get a build on my own machine either. Can you try the following steps with a fresh checkout of the repo? gem install bundler
bundle install --jobs 4 --retry 3
bundle exec pod update
bundle exec pod install
xcodebuild CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -workspace SelfControl.xcworkspace -scheme "SelfControl" -configuration Release clean build or gem install cocoapods
pod update
pod install
xcodebuild CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -workspace SelfControl.xcworkspace -scheme "SelfControl" -configuration Release clean build Does either of these work? |
@karbassi I tried the |
@cstigler Giving it another try. It's failing on error: Resource "/Users/runner/Library/Developer/Xcode/DerivedData/SelfControl-dpdwanchopaupoeqgmaigqitevtq/Build/Products/Release/MASPreferences/MASPreferences.framework/en.lproj/MASPreferencesWindow.nib" not found. Run 'pod install' to update the copy resources script. See. https://github.com/karbassi/selfcontrol/runs/3798631253?check_suite_focus=true |
This is a work in progress to allow GitHub Actions to build selfcontrol.
Here are the actions running on my fork/branch. https://github.com/karbassi/selfcontrol/actions/workflows/test_only.yml
Once it's working, I'll clean up this PR.