Trying to run it on iOS #74
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
2 Participants
Notifications
Total Time Spent: 8 seconds
Due Date
ineiti
8 seconds
No due date set.
Dependencies
No dependencies set.
Reference: flutter/flutter_app#74
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
Hi there,
I'm trying to get the app running on iOS. So far I used https://rogchap.com/2020/09/14/running-go-code-on-ios-and-android/ to compile libcwtch-go for iOS and then tried to convince Xcode that it puts it all together. You'll have to run it on a Mac - I used the following versions:
And then open the project with Android Studio and do the following:
Run
buttonIt starts to compile, and after 2-3 minutes, I get the following error in the app:
What is strange is, that
lipo
reportsx86_64
andarmv7
as architectures:I tried all kinds of arguments, asked Google, tried running it on an ipad simulation, but it refuses to run.
Any idea would be very welcome :)
Hi @ineiti thanks for diving into this!
I think the best next step is probably to open a PR in https://git.openprivacy.ca/flutter/libcwtch-go to include the iOS build steps in the makefile - that will give us a common reference to the build steps and we can start working out where the archiecture issue is being introduced. It will also give us a path towards eventual automation.
(Doing a quick check I did fine this discussion in dart: https://github.com/dart-lang/sdk/issues/39231 which has some additional considerations regarding the M1 and also code signing which may or may not be applicable)
OK, added the PR for flutter/libcwtch-go#39 and one for flutter/flutter_app#78
Both are draft-PRs, the libcwtch-go specifically because it doesn't work yet in flutter_app!
For the link about
dart-lang
, I think you're one step ahead of me, and this will only bite me later. I'm not concerned yet with app-signing, even though this is known to be tricky with iOS. I have bad memories about this ;) Or perhaps it is app-signing?I'll try the simple example from scratch, and then try to take it from there.