Pocket Casts iOS app 🎧
翻译准备中
媒体Swift · RubyGitHub @Automattic自行安装运营者未确认
试用过了吗? 点一下就好,无需登录。
正在加载完整 README。 以下为已保存的摘录。
Pocket Casts is the world's most powerful podcast platform, an app by listeners, for listeners.
If you don't already have it, you need to install Bundler:
Next you'll need to install all the dependencies needed for fastlane using this script:
If you're an external contributor run make external_contributor. After that you should be able to build and run the project.
We use SwiftLint to ensure code is spaced and formatted the same way and follows the same general conventions. We have a script that will run it over the whole project.查看完整 README ↗If you don't already have it, you need to install Bundler:
gem install bundler
Next you'll need to install all the dependencies needed for fastlane using this script:
make install_dependencies
Internal contributors need to install and set up a8c-secrets, then decrypt the project secrets before building:
a8c-secrets decrypt
Re-run it whenever the secrets are rotated; the build does not decrypt them for you.
External contributors don't need the secrets; see below.
If you're an external contributor run make external_contributor. After that you should be able to build and run the project.
We use SwiftLint to ensure code is spaced and formatted the same way and follows the same general conventions. We have a script that will run it over the whole project.
Once the required dependencies are installed via bundle exec pod install, you can run:
make format
You should do this before making a pull request.
Open the .xcodeproj file, select the Pocket Casts project and the Simulator Device you want to run on, and hit the play button.
You can learn more about localization at docs/Localization.md
The app uses Google Protocol Buffers to define our server objects.
To update server objects you'll need to install the protobuf command line tool as well as the Swift Protobuf translators. This can be done via Homebrew with:
brew install protobuf
brew install swift-protobuf
To update the protobuf files you can then run:
Replace the {API_PATH} with the full path to the pocketcasts-api/api/modules/protobuf/src/main/proto folder
make update_proto API_PATH={API_PATH}
Logs can be found in the app as a view and shared from there through the system sheet or mail:
When debugging analytics, the tracksLogging feature flag will enable logging for these events.
An export can be created with the database, settings plist, and logs for debugging purposes:
These exports can also be imported to the app, replacing the database and settings with the ones from the file. This will prompt the user before replacement.
All releases include dSYMs inside of the xcarchive file.
These can be used along with the MacSymbolicator app to symbolicate any crash logs.