Closed radiochild577 closed 2 years ago
Hi! I'm glad that you're enjoying the app π₯³
The 2.0 release was built around iOS 15 APIs (i.e. the whole Portainer-related code is using async/await), so it would be hard for me to make all of it working on iOS 14 too π I could make a single build supporting iOS 14, but I would be unable to provide future updates. Let me know if this works for you!
That would be awesome. I'll be updating to iOS 15 eventually but the timeline is out of my hands. In the meantime a limited iOS 14 compatible build, even without future support, would be GREATLY appreciated!
~~Here it is: Harbour.ipa.zip π
Please let me know if this works for you, as it was built with a non-standard toolchain (swift-DEVELOPMENT-SNAPSHOT-2021-10-05-a-osx
) and I don't have any device below iOS 15 πΆ~~
Thanks for the quick build. Looked like this is for minimum of 14.7 so it won't let me install since I'm on 14.3 :(
That one installed fine, but crashes on launch. Here's a portion of the crash log - happy to share more if needed
Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Description: DYLD, dyld: Using shared cache: EEFDD874-2301-31BF-B255-11CE61E827BD | Library not loaded: @rpath/libswift_Concurrency.dylib | Referenced from: /private/var/containers/Bundle/Application/32AFEBCA-D99E-44F5-A90D-36E27F072215/Harbour.app/Harbour | Reason: image not found Triggered by Thread: 0
That tells me all I need. I'll look into that, thanks!
Can you check these ones (if one works, ignore the rest): - Harbour-tbd-optional.ipa.zip - Harbour-tbd-required.ipa.zip - Harbour-dylib-optional.ipa.zip - Harbour-dylib-required.ipa.zip
The 2 'optional' versions installed fine and did not crash on launch. However, they did crash as soon as I entered my URL and login info. Might be because I'm not on my local network with the docker system, but connecting through VPN? I'll try them again when I get home later today and report back.
The 2 'required' ones installed but crash on launch.
Just tried on the same LAN as my docker server and same result for the 'optional' named IPAs - crashes when I enter the URL and login info.
Portion of the crash log below, but can provide more if needed
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0xfffffffffffffff8
VM Region Info: 0xfffffffffffffff8 is not in any region. Bytes after previous region: 18446743592673214457
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
commpage (reserved) 1000000000-7000000000 [384.0G] ---/--- SM=NUL ...(unallocated)
--->
UNUSED SPACE AT END
Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [5801] Triggered by Thread: 0
No crashes this time! Installed fine and I'm able to login to Portainer successfully. I can access and change the settings in the app, but the root screen after logging in just shows 'Select endpoint'.
Also, on the first launch I wasn't presented with a logging prompt/popup like the previous versions. Had to click settings icon at top and login. Not an issue though, just a difference I noticed in case it matters.
Click the "tag" icon in the top right corner and tap "Refresh" - if you have only one endpoint it should select it automatically, but if it won't, select one from the list.
iOS 14 doesn't support multiple sheets, so the Setup/Login screen isn't presented on the first run - it works fine on the full build βΊοΈ
That makes sense for the initial popup not showing. After I login the tag icon isn't showing - the settings icon moves from top left to top right, and top left icon is blank?
Also it didn't save my login info/password even with the option selected, but does save the URL of my docker instance
Appreciate your continued attempts here. I understand if it's more trouble than it's worth for you
Hate to say it but this one crashes on launch and isn't even showing a crash log at all
Ok! This one installed fine and I logged in successfully! It shows my containers after logging in, but when I click on one it can't seem to load the info and gives a red error at the top that reads "The data couldn't be read because i...". I can't see all of the messages. Could this be an issue with permissions or docker config on my end?
It may be that, but not necessarily. You can drag down on the error notification and it will show the whole message.
Can you catch the failing request through proxy and send me the response? It may be possible that I'm decoding something wrong π
Ah thanks! Couldn't figure out how to see the full alert. It says "The data couldn't be read because it's missing". But it's not missing π
How would I catch the fading request through proxy? Sorry, not sure exactly what you mean here. I run a reverse proxy on my LAN, but couldn't connect through that in Harbour. Had to enter the IP:port of my docker machine to connect in the app. Happy to help do this if you can explain a little more π
Also the app does not save my login info between app launches
Can you try this one, use it for a bit, then go to Settings β π€« β Copy logs
, remove private/sensitive stuff and send them to my e-mail?
I've never saw any errors regarding missing data, so I'm really confused πΆβπ«οΈ
Regarding not saving login info, can you check if you have any entries named Harbour ({password,token,username})
in your iCloud keychain (the macOS one)?
Also, sorry for so many builds, but I don't do any telemetry/analytics so I have no idea what's happening πΆ
Forwarding:
Why was there no data when checking details? It turns out that the "Platform" key in ContainerDetail payload is optional, and because of that, the whole data wasn't decoded (see: "keyNotFound" in logs). Fixed! Regarding not saving login info: App uses a shared Keychain (to allow widgets and other extensions access credentials). When sideloading, it doesn't update entitlements, so it failed (see: "OSStatus error"). Fixed!
Attached build fixes those two issues but leaves logging enabled, so that it's easier for me to debug any other errors if any show up πΆβπ«οΈ
Been using Harbour on my iPhone 11 Pro before it was even released as a TestFlight beta (sideloaded from github source). Love this project and happy to see that it's moving towards an app store release. One question though - I'm still on iOS 14 for work reasons, and cannot upgrade to iOS 15 yet. Is there any reason why the TestFlight build requires iOS 15 as the minimum compatible version? Any chance for iOS 14 being supported?