xterm.dart
xterm.dart copied to clipboard
The process exited with exit code 255
Hi everyone!
I try to run source code from example/lib/main.dart
in a separate project (from scratch) (revision number ecf8c1dfd9606f9520d9405c11b34fa0502d8798
).
Window builds, but I get a message: the process exited with exit code 255
.
Could you, please, help with this?

If I try run example/lib/main.dart
inside xterm.dart
from updated master brach I get:
Launching lib/main.dart on macOS in debug mode...
Running pod install...
CocoaPods' output:
↳
Preparing
Analyzing dependencies
Inspecting targets to integrate
Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)
Finding Podfile changes
A macos_window_utils
R flutter_acrylic
- FlutterMacOS
- flutter_pty
Fetching external sources
-> Fetching podspec for `FlutterMacOS` from `Flutter/ephemeral`
-> Fetching podspec for `flutter_pty` from `Flutter/ephemeral/.symlinks/plugins/flutter_pty/macos`
-> Fetching podspec for `macos_window_utils` from `Flutter/ephemeral/.symlinks/plugins/macos_window_utils/macos`
Resolving dependencies of `Podfile`
CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only performed in repo update
[!] CocoaPods could not find compatible versions for pod "macos_window_utils":
In Podfile:
macos_window_utils (from `Flutter/ephemeral/.symlinks/plugins/macos_window_utils/macos`)
Specs satisfying the `macos_window_utils (from `Flutter/ephemeral/.symlinks/plugins/macos_window_utils/macos`)` dependency were found, but they required a higher minimum deployment target.
/opt/homebrew/Cellar/cocoapods/1.12.0/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:317:in `raise_error_unless_state'
/opt/homebrew/Cellar/cocoapods/1.12.0/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:299:in `block in unwind_for_conflict'
<internal:kernel>:90:in `tap'
/opt/homebrew/Cellar/cocoapods/1.12.0/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:297:in `unwind_for_conflict'
/opt/homebrew/Cellar/cocoapods/1.12.0/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:682:in `attempt_to_activate'
/opt/homebrew/Cellar/cocoapods/1.12.0/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:254:in `process_topmost_state'
/opt/homebrew/Cellar/cocoapods/1.12.0/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:182:in `resolve'
/opt/homebrew/Cellar/cocoapods/1.12.0/libexec/gems/molinillo-0.8.0/lib/molinillo/resolver.rb:43:in `resolve'
/opt/homebrew/Cellar/cocoapods/1.12.0/libexec/gems/cocoapods-1.12.0/lib/cocoapods/resolver.rb:94:in `resolve'
/opt/homebrew/Cellar/cocoapods/1.12.0/libexec/gems/cocoapods-1.12.0/lib/cocoapods/installer/analyzer.rb:1082:in `block in resolve_dependencies'
/opt/homebrew/Cellar/cocoapods/1.12.0/libexec/gems/cocoapods-1.12.0/lib/cocoapods/user_interface.rb:64:in `section'
/opt/homebrew/Cellar/cocoapods/1.12.0/libexec/gems/cocoapods-1.12.0/lib/cocoapods/installer/analyzer.rb:1080:in `resolve_dependencies'
/opt/homebrew/Cellar/cocoapods/1.12.0/libexec/gems/cocoapods-1.12.0/lib/cocoapods/installer/analyzer.rb:125:in `analyze'
/opt/homebrew/Cellar/cocoapods/1.12.0/libexec/gems/cocoapods-1.12.0/lib/cocoapods/installer.rb:422:in `analyze'
/opt/homebrew/Cellar/cocoapods/1.12.0/libexec/gems/cocoapods-1.12.0/lib/cocoapods/installer.rb:244:in `block in resolve_dependencies'
/opt/homebrew/Cellar/cocoapods/1.12.0/libexec/gems/cocoapods-1.12.0/lib/cocoapods/user_interface.rb:64:in `section'
/opt/homebrew/Cellar/cocoapods/1.12.0/libexec/gems/cocoapods-1.12.0/lib/cocoapods/installer.rb:243:in `resolve_dependencies'
/opt/homebrew/Cellar/cocoapods/1.12.0/libexec/gems/cocoapods-1.12.0/lib/cocoapods/installer.rb:162:in `install!'
/opt/homebrew/Cellar/cocoapods/1.12.0/libexec/gems/cocoapods-1.12.0/lib/cocoapods/command/install.rb:52:in `run'
/opt/homebrew/Cellar/cocoapods/1.12.0/libexec/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
/opt/homebrew/Cellar/cocoapods/1.12.0/libexec/gems/cocoapods-1.12.0/lib/cocoapods/command.rb:52:in `run'
/opt/homebrew/Cellar/cocoapods/1.12.0/libexec/gems/cocoapods-1.12.0/bin/pod:55:in `<top (required)>'
/opt/homebrew/Cellar/cocoapods/1.12.0/libexec/bin/pod:25:in `load'
/opt/homebrew/Cellar/cocoapods/1.12.0/libexec/bin/pod:25:in `<main>'
Exception: Error running pod install
@OLavrik
https://github.com/TerminalStudio/xterm.dart/issues/147#issuecomment-1386779457 This solved it on my case.
This is my pubspec.yaml.

if you are on m1 then run this inside your macos directory.
arch -arm64 pod install
Make sure your Podfile has
platform :osx, '10.15'

I'm also getting this, but in my case, I'm on an intel mac.
I'm also getting this, but in my case, I'm on an intel mac.
@tes735
If its an intel mac, after changing Podfile platform version platform :osx, '10.15'
, you can just simply run pod install inside ur macos directory.
To resolve the error 255 issue, you only have to remove sandbox from your "macos/Runner/DebugProfile.entitlements" file like this comment suggested here https://github.com/TerminalStudio/xterm.dart/issues/147#issuecomment-1386779457 and you are good to go.
@bishaladhikari Thanks for your attention!!
This helps me: Remove:
<key>com.apple.security.app-sandbox</key>
<true/>
@OLavrik this solves my issues for debugging and creating a release build. But I am not able to upload the app to appstoreconnect. If I remove this key, it is giving the error "Asset Validation Failed". Apparently, Apple has made it mandatory to enable the app-sandbox.
Any idea?