[forwardport] fix(ios): make sure we can build an iOS release (#598) (#599)

This diff forward ports f47b0c6c16e0cd417e3591358eb85b45962f307d to master.

Original commit message:

- - -

1. we now need to name the framework `.xcframework` otherwise
gomobile refuses to build a new framework for us ¯\_(ツ)_/¯

2. remove duplicate errno definition for iOS (iOS and darwin
are considered the same, therefore we don't need iOS defs)

Reference issue for this PR: https://github.com/ooni/probe/issues/1876

This diff WILL need to be forwardported to master.
This commit is contained in:
Simone Basso 2021-11-15 14:24:20 +01:00 committed by GitHub
commit 50576daec8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 28 additions and 329 deletions

4
go.mod
View file

@ -50,9 +50,9 @@ require (
gitlab.com/yawning/utls.git v0.0.12-1
golang.org/x/mod v0.5.1 // indirect
golang.org/x/net v0.0.0-20211109214657-ef0fda0de508
golang.org/x/sys v0.0.0-20211020064051-0ec99a608a1b
golang.org/x/sys v0.0.0-20211113001501-0c823b97ae02
golang.org/x/text v0.3.7 // indirect
golang.org/x/tools v0.1.7 // indirect
golang.org/x/tools v0.1.8-0.20211022200916-316ba0b74098 // indirect
gopkg.in/AlecAivazis/survey.v1 v1.8.8
gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 // indirect
upper.io/db.v3 v3.8.0+incompatible