-
Notifications
You must be signed in to change notification settings - Fork 101
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
Fix Windows CI #307
Comments
Please tell me whether this problem has been solved or is in progress? |
This is my first time using misx. I don't know where to get this publisher. After I commented it out, I could run PS C:\Users\Aurora\Documents\GitHub\sidekick> fvm flutter pub run msix:create -v
[ +118 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[ +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +42 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[ ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[ ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[ +129 ms] executing: [C:\Users\Aurora\Documents\GitHub\sidekick/] C:\Users\Aurora\fvm\versions\stable\bin\cache\dart-sdk\bin\dart pub --suppress-analytics run msix:create -v
FINE: Pub 3.5.1
MSG : Deprecated. Use `dart run` instead.
FINE: `pubspec.yaml` is newer than `pubspec.lock`
FINE: Touching `pubspec.lock`
FINE: `pubspec.lock` is newer than `.dart_tool\package_config.json`
FINE: Touching `.dart_tool\package_config.json`
FINE: Package Config up to date.
FINE: Package Config up to date.
[ 0.044s] parsing cli arguments
[ 0.158s] validating config values
[ 0.161s] pack files in build folder: C:\Users\Aurora\Documents\GitHub\sidekick\build\windows\x64\runner\Release
[ 0.167s] running "flutter build windows"...
[ 0.168s] build windows files with the command: "C:\Users\Aurora\fvm\versions\stable\bin\flutter build windows"
[ 11.885s] building msix files...
[ 11.886s] validating build files
[ 11.892s] cleaning temporary files
[ 11.905s] create app icons
[ 11.906s] generating icons
[ 18.320s] copying VC libraries
[ 18.340s] getting certificate publisher
[ 18.341s] getting certificate "Subject" by file certificate
[ 18.641s] generate appx manifest
[ 18.646s] generate package resource indexing files
[ 18.782s] packing msix files...
[ 18.783s] packing
[ 20.591s] cleaning temporary files
[ 20.604s] signing
msix created: build\windows\x64\runner\Release\sidekick.msixIO : Writing 8608 characters to text file C:\Users\Aurora\AppData\Local\Pub\Cache\log\pub_log.txt.
MSG : Logs written to C:\Users\Aurora\AppData\Local\Pub\Cache\log\pub_log.txt.
[+22976 ms] "flutter run" took 23,168ms.
[ +316 ms] ensureAnalyticsSent: 253ms
[ +2 ms] Running 1 shutdown hook
[ +5 ms] Shutdown hooks complete
[ +261 ms] exiting with code 0
|
The issue is we need to use the certificate I have bundled |
I created a socialnetwork.pfx for testing. I am not sure whether it is necessary to bind this file on the Microsoft platform. I think you can check whether your publisher is correct. msix_config:
display_name: Sidekick DEV Build
publisher_display_name: Eduardo M.
identity_name: 44484EduardoM.SidekickFlutter
# publisher: CN=1E781C91-227E-4505-B5B8-7E5EFE39D3A6
msix_version: 1.0.0.0
logo_path: assets\promo-windows\icon.png
architecture: x64
capabilities: "internetClient,removableStorage"
certificate_path: windows\socialnetwork.pfx
certificate_password: "123456"
install_certificate: false
build_windows: true
store: false |
Maybe there is a place in this Microsoft platform project that verifies this sha1 hash code. |
Apparently, now that I have fixed Linux once and for all, Windows has decided it does not want to work so... yay.
It looks like it is an issue regarding the cert being asked to install
The text was updated successfully, but these errors were encountered: