-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to build project FAILED #249
Comments
Could you try this:
|
by the way, we are not supporting macOS Monterey and using some new APIs introduceted after Xcode 14.2, so you might be need to upgrade macOS and Xcode first. |
Hi thanks for the tip, it seems to rsolve issues for now. BTW what new api ? Can you hive som exemple for me It would be nice study material |
One of the new APIs that iMast uses is this one: https://developer.apple.com/documentation/authenticationservices/webauthenticationsession This API provides a Web Authentication Session to the SwiftUI app. What 'Web Authentication Session' means is that it can open a web page (like an OAuth authorization page) in the app with Safari's cookie, if the user consents to it. This means that if users have already logged in to the Mastodon WebUI, they will not need to input their password again to authorize iMast. Previously, the login screen was written using a third-party form builder with the UIKit version of that API (which is available for older iOS versions), but I wanted to replace it with a SwiftUI implementation since I want to reduce third-party dependencies. However, I prefer not to write custom glue code if Apple provides an official drop-in replacement API that works well in the latest iOS versions. This is my policy to reduce development costs. By the way, if you want to localize app texts, it can be quite tricky:
|
Hi am trying to build iMast on my macOS Monterey version...
is is my first time with Xcode/Swift soo please be patient with me xD
I succesfully run bundle install && pod install
Xcode version 14.2
And im getting following errors on build, mostly this one I think :
the package at '/' cannot be accessed (malformedResponse("unexpected tree entry \'100644 blob ce3e58686de071fc8503680b073c7fbebfd3d9a3\t\"\\342\\200\\273ikemen.podspec\"\' in \'040000 tree 2f3998c1c15d043de92dceabe06cc77cab966a56\t.github\n100644 blob ca8eabde3b1bddf047d0695ed73553f54c9f3ee1\t.gitignore\n040000 tree 0b6c3ae7a6e2226227ff5f9fb2d6a927ed4fd918\t.swiftpm\n100644 blob 0e37826f52d9f8dc192a5cf0175d66786d17e62f\t.travis.yml\n040000 tree e669645c8ff55d2f05569b470ed634cc3968eacf\tExample\n100644 blob e073238ff00b43c5012fc8c34566e62f282c2aa9\tGemfile\n100644 blob 72b0de73e309b48b8a5091238851ab3d7059e745\tGemfile.lock\n100644 blob e49a0781a68026ecacaa831160521ab5eddcdad9\tLICENSE\n100644 blob 12fbacee775cec2bf7002374d5fad79e94c49d96\tPackage.resolved\n100644 blob 838ae5375f526d9a233096f49788781bca1e3210\tPackage.swift\n040000 tree 24a82587b31820f1809f738c014116c6f7495c15\tPod\n100644 blob 796a4b81a069c3a8ca688fa8ac377bcb0d4e6d84\tREADME.md\n120000 blob 3c5a8e715ad5e81a0fba3ef0190e77a68be83f4b\t_Pods.xcodeproj\n100644 blob ce3e58686de071fc8503680b073c7fbebfd3d9a3\t\"\\342\\200\\273ikemen.podspec\"\'"))
The text was updated successfully, but these errors were encountered: