-
Notifications
You must be signed in to change notification settings - Fork 958
Mac universal builds #3120
base: main
Are you sure you want to change the base?
Mac universal builds #3120
Conversation
iOS/Podfile
Outdated
#use_frameworks! | ||
platform :osx, '11' | ||
workspace 'FlipperKit.xcworkspace' | ||
project '../PortForwardingMacApp.xcodeproj' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Placing the PortFrowarding project at the root level is messy. I only placed it there because the src is split between /PortForwardingMacApp/main.m
and /ios/FlipperKit/FKPortForwarding/*
.
Q: should we just refactor this and place the project and relevant sources under /desktop
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Decided to refactor anyway. PR now moves /ios/FlipperKit/FKPortForwarding/FKPortForwardingClient.*
to /desktop/PortForwardingMacApp
* added PortForwardingMacApp project target * updated Podfiles * updated electron builder to 22.14.10 * updated electron to 16.0.3 * added universal architecture to the build process
68a554f
to
4d49241
Compare
Pull Request Test Coverage Report for Build 1528623973
💛 - Coveralls |
Thanks for putting this together, @colinbendell! We'll probably need some time to look into this. I'm not quite sure what this means when rolling it out to M1s due the binary signing requires for which we currently have no infrastructure in place. |
@passy, Why not simply use ad-hoc signed binaries? This is the approach that homebrew uses instead of signing binaries. I've confirmed that with xcode 13 and the latest |
Any news on publishing universal builds? |
Let's not leave Mac Catalyst behind: #3117 |
what's the intersection with this PR and Mac Catalyst? |
Let me know if I can help at all with getting this over the line. Looks like the build might need some attention. |
Still waiting for this PR to get merged :( |
please hurry up react native devs apple silicon machines were released two years ago |
i guess this is just as good as #3553 |
Summary
New M1 Mac's must use rosetta to use Flipper. The Electron builder only produces x86_64 builds and the PortForwardingApp is precompiled and committed in the code base with an x64 build. This PR adds universal building of the electron app and the PortForwardingMacApp
Addresses: #3073, #2169, #2193, #2898
Changelog
Enable universal mac (mac/x64) builds
Test Plan
yarn build --mac
to build the application as per usualKind
isApple