-
Notifications
You must be signed in to change notification settings - Fork 987
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
nix: set ios status-go targets #17139
Conversation
Jenkins BuildsClick to see older builds (24)
|
ci builds, make release-ios:
ci PR builds: make run-ios-device:
make run-ios:
ci e2e build:
|
71acd85
to
d3815fa
Compare
outputFileName = "Statusgo.xcframework"; | ||
inherit meta source goBuildLdFlags; | ||
inherit meta source goBuildLdFlags targets; |
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.
Are we not doing a map here? Like we do from Gradle architectures to Gomobile architectures?
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.
No, we don't.
iOS ARCH
is set inside Xcode project file by a combination defferent options. Resulted ARCH can be extracted.
Although in our case we can do a much simpler "mapping":
- if it's a
device
build - build status-go forios
target - if it's a
simulator
build - build status-go foriossimulator
target
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.
Yeah, lets keep it simple.
38becf9
to
c1e4e30
Compare
Some notes left:
|
3d2bff0
to
62f4615
Compare
62f4615
to
1b4cd84
Compare
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.
Looks good, but needs testing with devs.
1b4cd84
to
8539c7f
Compare
@siddarthkay @cammellos, can you please help to test the PR?
|
8539c7f
to
b7a0907
Compare
Summary
In order to build less for iOS we need to set status-go targets depending on iOS platform (or device type):
iossimulator
(both x86 and arm)ios
As for app architecture, after some research:
arm64
. Which is good, we only havearm64
iphones currently