-
Notifications
You must be signed in to change notification settings - Fork 239
chore(sdk): bump to universal macOS KDF + new CDN; regen pods #3175
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
base: dev
Are you sure you want to change the base?
Conversation
…niversal-mac-builds
… pointer to bd2dfb9
…into universal-mac-builds # Conflicts: # sdk
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Visit the preview URL for this PR (updated for commit ab5437a): https://walletrc--pull-3175-merge-mrgo5o01.web.app (expires Wed, 22 Oct 2025 17:03:44 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: f66a4ff03faa546f12f0ae5a841bd9eff2714dcc |
|
1. I see that the So it should run on both arm64 and x86_64 without any issues. For full testing we still need macOS code signing. It would also be great if someone could add my Apple account to the |
|
Thanks for the review, @DeckerSU. The |
|
@DeckerSU please check out the latest changes. |
It uses |
Looks good, but I expected all occurrences of the |
|
Confirmed login/swap functionality in linux, web, windows, and android. |
…into chore/sdk-universal-macos-cdn-pods
…4 guidance Use $(ARCHS_STANDARD) to build universal (arm64 + x86_64). Note: Failed builds only showed a warning for flutter_secure_storage; CI may fail-fast on the first problematic pod and not evaluate all pods. cc @smk762
… for others Align pods Debug with local-arch-only preference; keep Profile/Release universal via ONLY_ACTIVE_ARCH=NO. Refs: review note on inconsistent Debug arch settings; this ensures faster local builds while preserving universal builds for non-Debug.
…OS configs - Adjust analytics APIs (Firebase & Matomo) - Update macOS GoogleService-Info.plist and Xcode project settings - Sync sdk submodule/dir changes
Revert changes which weren’t supposed to be committed
…into chore/sdk-universal-macos-cdn-pods
|
Confirmed login/swap functionality in pre-silicon MacOS via #3185 |
…n signing support for standalone distribution (#3185) * change product bundle identifier (com.komodo.wallet) * Set sdk submodule to chore/sdk-universal-macos-cdn-pods #3175 * XCode: add production scheme and corresponding configurations * make Release-production sign with Developer ID Application * sdk: temp following submodules for patch-macos-release-profile new https://github.com/KomodoPlatform/komodo-defi-sdk-flutter/tree/patch-macos-release-profile branch for macos Developer ID Application release preparations. * sdk: update submodules * add OTHER_CODE_SIGN_FLAGS --options=runtime --timestamp * fix developement team for Release-production after this - kdf binary is signed (but still without timestamp) * fix codesigning for Pods (now CP-User signing in Pods receive correct env) 'Release-production'=> :release, - CocoaPods will create this config in Pods project * add --options=runtime --timestamp for codesigning pods * sdk: pin version with code_sign_if_enabled in cp-user sh script * sdk: bump to new location of KDF binary under MacOS * macos: XCode project update / Pods_Runner.framework in Frameworks * build(macos): set CODE_SIGN_INJECT_BASE_ENTITLEMENTS to NO for Release need to remove below from Entitlements "com.apple.security.get-task-allow" = 1; To check: codesign -d --entitlements :- "build/macos/Build/Products/Release-production/Komodo Wallet.app" | plutil -p - Read more: https://developer.apple.com/documentation/security/resolving-common-notarization-issues#3087731 * update .gitignore to exclude dist/ directory * feat: add make-dmg.sh script for building DMG files on macOS This script automates the process of creating a DMG file for the Komodo Wallet application, including setting up the Finder layout and handling background images. It requires macOS and utilizes hdiutil, osascript, and ditto for the operations. * feat: add test-sign-timestamp.sh script for verifying code signing and timestamping on macOS This script checks the code signing and timestamping of the Komodo Wallet application, providing feedback on the presence of timestamps and the authority of the timestamping service. It simplifies the verification process for macOS app builds. * feat: enhance make-dmg.sh script with default app path and usage instructions * chore: update Podfile.lock to include device_info_plus and update dependencies * chore: update subproject commit reference in sdk * feat: add README.md for contrib scripts and enhance test-sign-timestamp.sh * chore(sdk): roll submodule to latest dev - Update .gitmodules to track dev - Sync sdk to origin/dev --------- Co-authored-by: Nitride <[email protected]>
Summary
sdksubmodule to track universal macOS support and updated KDF binary sources (commit bd2dfb9).device_info_plusto iOS/macOS pods and regenerates Podfiles; updateskomodo_defi_frameworkchecksums.Changes
sdk.devbuilds.komodo.earthwithnebula.decker.imfallback alongside GitHub API.komodo_defi_frameworkpodspec to prune non-target slices in Release and re-sign; prefer universal2 artifacts.device_info_plusin Pods; regeneratePodfile.lockto reflect new dependencies andkomodo_defi_frameworkchecksum.Why
device_info_plusfor future UX/telemetry and platform parity.Platform impact
device_info_plus.QA checklist
device_info_plusis linked without warnings.Risk/rollback
sdksubmodule pointer to the previous commit.Notes
Podfile.lockchecksums forkomodo_defi_frameworkare aligned on both platforms after regenerating pods.Reference
Note
Gate Firebase/Matomo analytics by availability, adjust macOS Podfile for signing/arch, add device_info_plus to pods, update dummy Firebase plist, and bump the sdk submodule.
AnalyticsApi.isAvailable()and conditionally register providers inanalytics_repo.FirebaseAnalyticsApi: implement availability checks (validFirebaseOptions, exclude Linux); skip init when unavailable.MatomoAnalyticsApi: implementisAvailable()based onMATOMO_URL/MATOMO_SITE_ID.macos/Podfile: add CocoaPods CDN source; enforce hardened runtime and timestamped signing viaOTHER_CODE_SIGN_FLAGS; setARCHS=$(ARCHS_STANDARD)andONLY_ACTIVE_ARCHDebug-only.macos/Runner/GoogleService-Info.plist: replace placeholders with dummy values.device_info_plusto iOS/macOS Pods; regenerate locks; updatekomodo_defi_frameworkchecksums.sdkpointer toffa7663.Written by Cursor Bugbot for commit 88123d5. This will update automatically on new commits. Configure here.