diff --git a/CHANGELOG.md b/CHANGELOG.md index 026bc169..27e01ea7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ ### Features +* [FIX][mobile] Fixed iOS release build by removing stale CocoaPods references, using correct workspace target, fixing ExportOptions team ID, and adding auto-versioning from `package.json`. (#172) * [FEATURE][mobile] **Embedded dApp browser** for iOS and Android with multi-instance tabs, parked-dApp switcher tray, and native navbar overlay. * [FEATURE][all] Migrated backend from `WasmWebClient` to the new `MidenClient` TypeScript API. All service-worker WASM access now goes through `MidenClientInterface` wrapping the high-level `MidenClient` surface. * [FEATURE][all] Migrated frontend to `@miden-sdk/react` hooks (`useMiden`, `useSyncState`, `useAccount`, etc.), replacing manual sync and balance-polling logic. diff --git a/ios/App/App.xcodeproj/project.pbxproj b/ios/App/App.xcodeproj/project.pbxproj index f909bce9..0cd62359 100644 --- a/ios/App/App.xcodeproj/project.pbxproj +++ b/ios/App/App.xcodeproj/project.pbxproj @@ -34,7 +34,6 @@ 50B271D01FEDC1A000F3C39B /* public */ = {isa = PBXFileReference; lastKnownFileType = folder; path = public; sourceTree = ""; }; 873F0344C8952CB5585102E0 /* App.entitlements */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.entitlements; path = App.entitlements; sourceTree = ""; }; 958DCC722DB07C7200EA8C5F /* debug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = debug.xcconfig; path = ../debug.xcconfig; sourceTree = SOURCE_ROOT; }; - BFB20C26958B0AB36D108D0E /* Pods-App.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-App.release.xcconfig"; path = "Target Support Files/Pods-App/Pods-App.release.xcconfig"; sourceTree = ""; }; C7D4E92B3F8B1C5D00A2B9E2 /* BarcodeScannerPlugin.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = BarcodeScannerPlugin.swift; sourceTree = ""; }; /* End PBXFileReference section */ @@ -56,7 +55,6 @@ 958DCC722DB07C7200EA8C5F /* debug.xcconfig */, 504EC3061FED79650016851F /* App */, 504EC3051FED79650016851F /* Products */, - 7B7BBBA72F32232100E56E23 /* Recovered References */, ); sourceTree = ""; }; @@ -87,14 +85,6 @@ path = App; sourceTree = ""; }; - 7B7BBBA72F32232100E56E23 /* Recovered References */ = { - isa = PBXGroup; - children = ( - BFB20C26958B0AB36D108D0E /* Pods-App.release.xcconfig */, - ); - name = "Recovered References"; - sourceTree = ""; - }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -321,7 +311,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_ENTITLEMENTS = App/App.entitlements; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 2; + CURRENT_PROJECT_VERSION = 3; DEVELOPMENT_TEAM = YQ9XQQJ5ZM; INFOPLIST_FILE = App/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 15.0; @@ -341,12 +331,11 @@ }; 504EC3181FED79650016851F /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = BFB20C26958B0AB36D108D0E /* Pods-App.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_ENTITLEMENTS = App/App.entitlements; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 2; + CURRENT_PROJECT_VERSION = 3; DEVELOPMENT_TEAM = YQ9XQQJ5ZM; INFOPLIST_FILE = App/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 15.0; diff --git a/ios/App/ExportOptions.plist b/ios/App/ExportOptions.plist index 4226a506..c12138de 100644 --- a/ios/App/ExportOptions.plist +++ b/ios/App/ExportOptions.plist @@ -9,7 +9,7 @@ signingStyle automatic teamID - YOUR_TEAM_ID + YQ9XQQJ5ZM uploadSymbols manageAppVersionAndBuildNumber diff --git a/package.json b/package.json index 29a69056..12416f6b 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,8 @@ "mobile:android:release": "yarn mobile:sync && cd android && ./gradlew bundleRelease && echo 'AAB created at: android/app/build/outputs/bundle/release/app-release.aab'", "mobile:android:release:apk": "yarn mobile:sync && cd android && ./gradlew assembleRelease && echo 'APK created at: android/app/build/outputs/apk/release/app-release.apk'", "mobile:android:keystore": "keytool -genkey -v -keystore android/app/miden-release.keystore -alias miden -keyalg RSA -keysize 2048 -validity 10000", - "mobile:ios:release": "yarn mobile:sync && xcodebuild -project ios/App/App.xcodeproj -scheme App -configuration Release -archivePath ios/App/build/MidenWallet.xcarchive archive && echo 'Archive created at: ios/App/build/MidenWallet.xcarchive'", + "mobile:ios:set-version": "cd ios/App && xcrun agvtool new-marketing-version $(node -p \"require('../../package.json').version\") && xcrun agvtool next-version -all", + "mobile:ios:release": "yarn mobile:sync && yarn mobile:ios:set-version && xcodebuild -workspace ios/App/App.xcworkspace -scheme App -configuration Release -archivePath ios/App/build/MidenWallet.xcarchive archive && echo 'Archive created at: ios/App/build/MidenWallet.xcarchive'", "mobile:ios:export": "xcodebuild -exportArchive -archivePath ios/App/build/MidenWallet.xcarchive -exportPath ios/App/build/export -exportOptionsPlist ios/App/ExportOptions.plist", "zip": "ts-node --project ./tsconfig-utility.json ./utility/buildZip.ts", "test": "jest",