WIP: First try at getting an iOS build ready #78
No reviewers
Labels
No Label
accessibility
android
before-launch
blocked-on-external-dependency
bug
chat-overlay
document-workaround
double-column
duplicate
enhancement
fix-pending
flutter-bug
group-experiment
help wanted
invalid
invite-overlay
needs-testing
packaging
privacy
provisionally-fixed
question
theme
tor
windows
wontfix
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: flutter/flutter_app#78
Loading…
Reference in New Issue
No description provided.
Delete Branch "(deleted):ios_build"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is a draft PR!
It allows anybody interested to help me debug why I get
no matching architecture in universal wrapper
Drone Build Status: failure
https://build.openprivacy.ca/flutter/flutter_app/299
First try at getting an iOS build readyto WIP: First try at getting an iOS build readyWow this is amazing, thanks!
I'm just finishing off a bunch of build automation work, but if you have more questions I can prolly try and answer some and over the next few weeks might get more time to help support this port :)
@ -66,2 +66,4 @@
} else if (Platform.isLinux) {
library = DynamicLibrary.open("libCwtch.so");
} else if (Platform.isIOS) {
print(Platform.environment);
rm in final version
done
@ -8,3 +8,3 @@
url: "https://pub.dartlang.org"
source: hosted
version: "3.1.2"
version: "2.0.13"
Can you elaborate on why all the packages got downgraded for your build?
We're still very WIP so we haven't quite pinned down a specific flutter version, but its the dev channel, anywhere from 2.1 to 2.3 I beleive
In fact this is what I get if I do
so it's not on purpose - more that I do something wrong ;) I just tried to check out the
trunk
version, and if I doflutter pub get
, it downgrades the package-versions.I upgraded to Android Studio 4.2 and now it doesn't have this behaviour anymore.
Drone Build Status: failure
https://build.openprivacy.ca/flutter/flutter_app/313
Also added
Makefile
and theios/Podfile*
so that people can correctly try out and help me figure out why this fails...Drone Build Status: failure
https://build.openprivacy.ca/flutter/flutter_app/354
Thanks to @Pleurinae from Twitter to point out that a
.a
library is static, anddlopen
is dynamic. In the end I needed to do:DynamicLibrary.process()
to get the symbolsNow it complains that there is no tor - which is correct, as this is the next step ;)
hey you still around. sorry this got dropped in the rush to beta, but we're def looking to start proceeding on Mac support
Hi dan, yes, still here ;) I had to take care of some projects of my own, but I would be happy to continue hacking a bit on this.
Btw, at my job we did a library using https://gitlab.torproject.org/tpo/core/arti to create a simple HTTPS request over tor. We have now an iOS Swift package and an Android maven package that exports a simple "call_arti" method. As soon as we find a good name (currently it's called arti-rest), we'll make it public.
As I didn't look into how you're using tor in your app I was wondering if that could be of interest. Or if it's easier trying to reproduce what you did on Android with iOS.
ah cool! currently we're managing tor through https://git.openprivacy.ca/openprivacy/connectivity
so I've ported your patches to the new repos at
I should be getting those merged shortly.
However we have concern's about the viability of an iOS port, from what we've seen from Briar, having long running tor on iOS may be challenging? we'll prolly be looking at trying to get a MacOS build working first as support for it should be more straight forward once we figure out the infastructure (actually getting a mac for any of our devs, figuring out how to do automated cloud builds for it...).
But happy to merge some iOS support in the mean time for interested parties to keep experimenting with ahead of us :)
OK - continuing discussion there...
Pull request closed