thielepaul / photoprism-mobile

Flutter App for PhotoPrism
GNU General Public License v3.0
892 stars 72 forks source link

iOS build instructions #64

Closed drewwells closed 3 years ago

drewwells commented 4 years ago

I wanted to install this on my phone, but did not find any instructions on how to do so. So far, this is where I got.

Requirements cocoapod flutter brew install cocoapod

For Flutter, Checkout stable version of github.com/flutter/flutter. Execute flutter to do a dart based installation of the binary and dependencies

flutter

navigate to photoprism-mobile, run flutter pub get

Now you should be able to build. At this point, you will need to do some iOS signing. flutter run

I was not able to get this to install under org.photoprism.photoprism. I changed the bundle identifier and it built with a personal (non-paying) iOS account.

If this all works, you can now install the pod cd ios; pod install

At this point, xCode could build the project but threw some errors. I'm guessing those are environment specific problems for me.

thielepaul commented 4 years ago

I think the steps for me were:

About my build environment: hackintosh, iPhone 6, Flutter v1.17.4, on Mac OS X 10.15.3 19D76

Are you able to build and run a empty flutter app (generated via flutter create testapp)?

thielepaul commented 4 years ago

If you just want to test the app on your iPhone you can also use the following testflight link: https://testflight.apple.com/join/Rxzv6JpC