Giter Site home page Giter Site logo

Comments (3)

andycall avatar andycall commented on August 14, 2024
Errno::ENOENT - No such file or directory @ rb_check_realpath_internal - /Users/username/Documents/workspace/webf/webf/example/macos/Flutter/ephemeral/.symlinks/plugins/webf/macos/libwebf.dylib

It seems like npm run build:bridge:macos didn't complete

from webf.

david-clang avatar david-clang commented on August 14, 2024

flutter run -d macos --verbose

[   +4 ms] executing: sw_vers -productName
[  +43 ms] Exit code 0 from: sw_vers -productName
[        ] macOS
[        ] executing: sw_vers -productVersion
[  +23 ms] Exit code 0 from: sw_vers -productVersion
[        ] 14.1.1
[        ] executing: sw_vers -buildVersion
[  +27 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 23B81
[        ] executing: uname -m
[  +10 ms] Exit code 0 from: uname -m
[        ] x86_64
[  +12 ms] executing: sysctl hw.optional.arm64
[  +11 ms] Exit code 0 from: sysctl hw.optional.arm64
[        ] hw.optional.arm64: 1
[ +120 ms] executing: sysctl hw.optional.arm64
[  +11 ms] Exit code 0 from: sysctl hw.optional.arm64
[        ] hw.optional.arm64: 1
[        ] executing: /usr/bin/arch -arm64e xcrun xcodebuild -version
[ +201 ms] Exit code 0 from: /usr/bin/arch -arm64e xcrun xcodebuild -version
[        ] Xcode 15.0
           Build version 15A240d
[   +2 ms] executing: /usr/bin/arch -arm64e xcrun xcdevice list --timeout 5
[   +7 ms] 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.
[   +1 ms] 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.
[  +31 ms] 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 'WindowsEngineArtifacts' 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.
[  +50 ms] Skipping pub get: version match.
[  +56 ms] Found plugin path_provider_linux at /Users/username/.pub-cache/hosted/pub.flutter-io.cn/path_provider_linux-2.2.1/
[   +5 ms] Found plugin path_provider_windows at /Users/username/.pub-cache/hosted/pub.flutter-io.cn/path_provider_windows-2.2.1/
[  +26 ms] Found plugin shared_preferences at /Users/username/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences-2.2.0/
[   +1 ms] Found plugin shared_preferences_android at /Users/username/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_android-2.2.1/
[   +3 ms] Found plugin shared_preferences_foundation at /Users/username/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_foundation-2.3.5/
[   +3 ms] Found plugin shared_preferences_linux at /Users/username/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_linux-2.3.2/
[   +2 ms] Found plugin shared_preferences_web at /Users/username/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_web-2.2.2/
[   +1 ms] Found plugin shared_preferences_windows at /Users/username/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_windows-2.3.2/
[  +19 ms] Found plugin webf at /Users/username/Documents/workspace/webf/webf/
[  +29 ms] Found plugin path_provider_linux at /Users/username/.pub-cache/hosted/pub.flutter-io.cn/path_provider_linux-2.2.1/
[   +3 ms] Found plugin path_provider_windows at /Users/username/.pub-cache/hosted/pub.flutter-io.cn/path_provider_windows-2.2.1/
[   +5 ms] Found plugin shared_preferences at /Users/username/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences-2.2.0/
[   +1 ms] Found plugin shared_preferences_android at /Users/username/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_android-2.2.1/
[   +1 ms] Found plugin shared_preferences_foundation at /Users/username/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_foundation-2.3.5/
[   +1 ms] Found plugin shared_preferences_linux at /Users/username/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_linux-2.3.2/
[   +1 ms] Found plugin shared_preferences_web at /Users/username/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_web-2.2.2/
[        ] Found plugin shared_preferences_windows at /Users/username/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_windows-2.3.2/
[   +9 ms] Found plugin webf at /Users/username/Documents/workspace/webf/webf/
[  +56 ms] Generating /Users/username/Documents/workspace/webf/webf/example/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +93 ms] Initializing file store
[   +7 ms] Skipping target: gen_localizations
[   +2 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents:
/Users/username/Documents/workspace/webf/webf/example/.dart_tool/package_config_subset,/Users/username/Documents/workspace/webf/webf/example/.dart_tool/flutter_build/dart_plugin_registrant.dart}
[  +52 ms] Found plugin path_provider_linux at /Users/username/.pub-cache/hosted/pub.flutter-io.cn/path_provider_linux-2.2.1/
[   +1 ms] Found plugin path_provider_windows at /Users/username/.pub-cache/hosted/pub.flutter-io.cn/path_provider_windows-2.2.1/
[   +2 ms] Found plugin shared_preferences at /Users/username/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences-2.2.0/
[        ] Found plugin shared_preferences_android at /Users/username/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_android-2.2.1/
[   +1 ms] Found plugin shared_preferences_foundation at /Users/username/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_foundation-2.3.5/
[   +1 ms] Found plugin shared_preferences_linux at /Users/username/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_linux-2.3.2/
[   +1 ms] Found plugin shared_preferences_web at /Users/username/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_web-2.2.2/
[        ] Found plugin shared_preferences_windows at /Users/username/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_windows-2.3.2/
[   +7 ms] Found plugin webf at /Users/username/Documents/workspace/webf/webf/
[   +6 ms] gen_dart_plugin_registrant: Complete
[   +1 ms] Skipping target: _composite
[   +1 ms] complete
[   +3 ms] Launching lib/main.dart on macOS in debug mode...
[   +2 ms] /Users/username/Documents/workspace/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/username/Documents/workspace/flutter/bin/cache/dart-sdk/bin/snapshots/frontend_server.dart.snapshot --sdk-root
/Users/username/Documents/workspace/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true
-DFLUTTER_WEB_CANVASKIT_URL=https://www.gstatic.com/flutter-canvaskit/3f3e560236539b7e2702f5ac790b2a4691b32d49/ --output-dill /var/folders/_4/_prnq_px1d546kbsyfc9j5_h0000gn/T/flutter_tools.H94VFm/flutter_tool.RY9GqP/app.dill --packages
/Users/username/Documents/workspace/webf/webf/example/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill
build/dd704641fca0f13458e044aee43be5d8.cache.dill.track.dill --source file:///Users/username/Documents/workspace/webf/webf/example/.dart_tool/flutter_build/dart_plugin_registrant.dart --source package:flutter/src/dart_plugin_registrant.dart
-Dflutter.dart_plugin_registrant=file:///Users/username/Documents/workspace/webf/webf/example/.dart_tool/flutter_build/dart_plugin_registrant.dart --verbosity=error --enable-experiment=alternative-invalidation-strategy
[  +17 ms] executing: /usr/bin/plutil -convert xml1 -o - /Users/username/Documents/workspace/webf/webf/example/macos/Runner/Info.plist
[  +29 ms] Exit code 0 from: /usr/bin/plutil -convert xml1 -o - /Users/username/Documents/workspace/webf/webf/example/macos/Runner/Info.plist
[        ] <?xml version="1.0" encoding="UTF-8"?>
           <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
           <plist version="1.0">
           <dict>
           	<key>CFBundleDevelopmentRegion</key>
           	<string>$(DEVELOPMENT_LANGUAGE)</string>
           	<key>CFBundleExecutable</key>
           	<string>$(EXECUTABLE_NAME)</string>
           	<key>CFBundleIconFile</key>
           	<string></string>
           	<key>CFBundleIdentifier</key>
           	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
           	<key>CFBundleInfoDictionaryVersion</key>
           	<string>6.0</string>
           	<key>CFBundleName</key>
           	<string>$(PRODUCT_NAME)</string>
           	<key>CFBundlePackageType</key>
           	<string>APPL</string>
           	<key>CFBundleShortVersionString</key>
           	<string>$(FLUTTER_BUILD_NAME)</string>
           	<key>CFBundleVersion</key>
           	<string>$(FLUTTER_BUILD_NUMBER)</string>
           	<key>LSMinimumSystemVersion</key>
           	<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
           	<key>NSHumanReadableCopyright</key>
           	<string>$(PRODUCT_COPYRIGHT)</string>
           	<key>NSMainNibFile</key>
           	<string>MainMenu</string>
           	<key>NSPrincipalClass</key>
           	<string>NSApplication</string>
           </dict>
           </plist>
[  +41 ms] <- compile package:webf_example/main.dart
[  +22 ms] Found plugin path_provider_linux at /Users/username/.pub-cache/hosted/pub.flutter-io.cn/path_provider_linux-2.2.1/
[   +6 ms] Found plugin path_provider_windows at /Users/username/.pub-cache/hosted/pub.flutter-io.cn/path_provider_windows-2.2.1/
[  +47 ms] Found plugin shared_preferences at /Users/username/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences-2.2.0/
[        ] Found plugin shared_preferences_android at /Users/username/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_android-2.2.1/
[        ] Found plugin shared_preferences_foundation at /Users/username/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_foundation-2.3.5/
[        ] Found plugin shared_preferences_linux at /Users/username/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_linux-2.3.2/
[   +1 ms] Found plugin shared_preferences_web at /Users/username/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_web-2.2.2/
[        ] Found plugin shared_preferences_windows at /Users/username/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_windows-2.3.2/
[   +8 ms] Found plugin webf at /Users/username/Documents/workspace/webf/webf/
[   +6 ms] executing: which pod
[  +19 ms] executing: pod --version
[+1021 ms] 1.11.3
[   +1 ms] Running pod install...
[+2733 ms] Running pod install... (completed in 2,724ms)
[        ] CocoaPods' output:
           ↳
[   +1 ms]       Preparing
           
               Analyzing dependencies
           
               Inspecting targets to integrate
                 Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)
           
               Fetching external sources
               -> Fetching podspec for `FlutterMacOS` from `Flutter/ephemeral`
               -> Fetching podspec for `shared_preferences_foundation` from `Flutter/ephemeral/.symlinks/plugins/shared_preferences_foundation/darwin`
               -> Fetching podspec for `webf` from `Flutter/ephemeral/.symlinks/plugins/webf/macos`
           
               Resolving dependencies of `Podfile`
                 CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only performed in repo update
                 CDN: trunk Relative path: all_pods_versions_c_0_4.txt exists! Returning local because checking is only performed in repo update
                 CDN: trunk Relative path: Specs/c/0/4/Flutter/3.13.0/Flutter.podspec.json exists! Returning local because checking is only performed in repo update
                 CDN: trunk Relative path: Specs/c/0/4/Flutter/3.13.0/Flutter.podspec.json exists! Returning local because checking is only performed in repo update
                 CDN: trunk Relative path: Specs/c/0/4/Flutter/3.0.0/Flutter.podspec.json exists! Returning local because checking is only performed in repo update
                 CDN: trunk Relative path: Specs/c/0/4/Flutter/2.10.2/Flutter.podspec.json exists! Returning local because checking is only performed in repo update
                 CDN: trunk Relative path: Specs/c/0/4/Flutter/2.5/Flutter.podspec.json exists! Returning local because checking is only performed in repo update
                 CDN: trunk Relative path: Specs/c/0/4/Flutter/2.0.2/Flutter.podspec.json exists! Returning local because checking is only performed in repo update
                 CDN: trunk Relative path: Specs/c/0/4/Flutter/2.0.1/Flutter.podspec.json exists! Returning local because checking is only performed in repo update
                 CDN: trunk Relative path: Specs/c/0/4/Flutter/2.0.0/Flutter.podspec.json exists! Returning local because checking is only performed in repo update
                 CDN: trunk Relative path: Specs/c/0/4/Flutter/1.22.4/Flutter.podspec.json exists! Returning local because checking is only performed in repo update
                 CDN: trunk Relative path: Specs/c/0/4/Flutter/1.20.0/Flutter.podspec.json exists! Returning local because checking is only performed in repo update
                 CDN: trunk Relative path: Specs/c/0/4/Flutter/1.17.0/Flutter.podspec.json exists! Returning local because checking is only performed in repo update
                 CDN: trunk Relative path: Specs/c/0/4/Flutter/1.12.1309/Flutter.podspec.json exists! Returning local because checking is only performed in repo update
                 CDN: trunk Relative path: Specs/c/0/4/Flutter/1.12.1307/Flutter.podspec.json exists! Returning local because checking is only performed in repo update
                 CDN: trunk Relative path: Specs/c/0/4/Flutter/1.12.1303/Flutter.podspec.json exists! Returning local because checking is only performed in repo update
                 CDN: trunk Relative path: Specs/c/0/4/Flutter/1.9.102/Flutter.podspec.json exists! Returning local because checking is only performed in repo update
                 CDN: trunk Relative path: Specs/c/0/4/Flutter/1.3.300/Flutter.podspec.json exists! Returning local because checking is only performed in repo update
                 CDN: trunk Relative path: Specs/c/0/4/Flutter/1.3.200/Flutter.podspec.json exists! Returning local because checking is only performed in repo update
                 CDN: trunk Relative path: Specs/c/0/4/Flutter/1.3.1/Flutter.podspec.json exists! Returning local because checking is only performed in repo update
                 CDN: trunk Relative path: Specs/c/0/4/Flutter/1.2.1/Flutter.podspec.json exists! Returning local because checking is only performed in repo update
                 CDN: trunk Relative path: Specs/c/0/4/Flutter/1.0.0/Flutter.podspec.json exists! Returning local because checking is only performed in repo update
               Using binary strategy: sourcecode default
               Using binary strategy: sourcecode default
           
               Comparing resolved specification to the sandbox manifest
                 A FlutterMacOS
                 A shared_preferences_foundation
                 A webf
           
               Downloading dependencies
           
               -> Installing FlutterMacOS (1.0.0)
           
               -> Installing shared_preferences_foundation (0.0.1)
           
               -> Installing webf (0.1.0)
                > Running prepare command
                  $ /bin/bash -c  set -e bash prepare.sh
                 - Running pre install hooks
                 - Running pre integrate hooks
           
               Generating Pods project
                 - Creating Pods project
                 - Installing files into Pods project
                   - Adding source files
                   - Adding frameworks
                   - Adding libraries
                 CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only performed in repo update
           
               ――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
           
               ### Command
           
               ```
               /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/bin/pod install --verbose
               ```
           
               ### Report
           
               * What did you do?
           
               * What did you expect to happen?
           
               * What happened instead?
           
           
               ### Stack
           
               ```
                  CocoaPods : 1.11.3
                       Ruby : ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [arm64-darwin21]
                   RubyGems : 3.3.11
                       Host : macOS 14.1.1 (23B81)
                      Xcode : 15.0 (15A240d)
                        Git : git version 2.39.3 (Apple Git-145)
               Ruby lib dir : /opt/homebrew/Cellar/ruby/3.1.2_1/lib
               Repositories : temu-podspecs-binary-debug-podspecs - git - [email protected]:podspecs/binary-debug-podspecs.git @ da313f1759a1d60ce19619f5283aca0b8a8f41b9
           
                              temu-podspecs-sourcecode-podspecs - git - [email protected]:podspecs/sourcecode-podspecs.git @ d3e3808bd15b370c01027b91a247a9a15dc03b4f
           
                              trunk - CDN - https://cdn.cocoapods.org/
               ```
           
               ### Plugins
           
               ```
               cocoapods-deintegrate : 1.0.5
               cocoapods-pdd         : 0.3.0.pre.BG
               cocoapods-plugins     : 1.0.0
               cocoapods-search      : 1.0.1
               cocoapods-trunk       : 1.6.0
               cocoapods-try         : 1.2.0
               cocoapods-util        : 0.4.0
               ```
           
               ### Podfile
           
               ```ruby
               platform :osx, '10.14'
           
               # CocoaPods analytics sends network stats synchronously affecting flutter build latency.
               ENV['COCOAPODS_DISABLE_STATS'] = 'true'
           
               project 'Runner', {
                 'Debug' => :debug,
                 'Profile' => :release,
                 'Release' => :release,
               }
           
               def flutter_root
                 generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'ephemeral', 'Flutter-Generated.xcconfig'), __FILE__)
                 unless File.exist?(generated_xcode_build_settings_path)
                   raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure \"flutter pub get\" is executed first"
                 end
           
                 File.foreach(generated_xcode_build_settings_path) do |line|
                   matches = line.match(/FLUTTER_ROOT\=(.*)/)
                   return matches[1].strip if matches
                 end
                 raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Flutter-Generated.xcconfig, then run \"flutter pub get\""
               end
           
               require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
           
               flutter_macos_podfile_setup
           
               target 'Runner' do
                 use_frameworks!
                 use_modular_headers!
           
                 flutter_install_all_macos_pods File.dirname(File.realpath(__FILE__))
               end
           
               post_install do |installer|
                 installer.pods_project.targets.each do |target|
                   flutter_additional_macos_build_settings(target)
                   target.build_configurations.each do |config|
                     config.build_settings['MACOSX_DEPLOYMENT_TARGET'] = '10.14'
                   end
                 end
               end
               ```
           
               ### Error
           
               ```
               Errno::ENOENT - No such file or directory @ rb_check_realpath_internal - /Users/username/Documents/workspace/webf/webf/example/macos/Flutter/ephemeral/.symlinks/plugins/webf/macos/libwebf.dylib
               /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/project.rb:326:in `realpath'
               /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/project.rb:326:in `realpath'
               /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/project.rb:326:in `reference_for_path'
               /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/project.rb:269:in `add_file_reference'
               /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb:228:in `block (2 levels) in add_file_accessors_paths_to_pods_group'
               /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb:227:in `map'
               /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb:227:in `block in add_file_accessors_paths_to_pods_group'
               /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb:217:in `each'
               /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb:217:in `flat_map'
               /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb:217:in `add_file_accessors_paths_to_pods_group'
               /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb:119:in `block in add_vendored_libraries'
               /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:149:in `message'
               /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb:118:in `add_vendored_libraries'
               /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb:51:in `install!'
               /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer/xcode/pods_project_generator.rb:102:in `block in install_file_references'
               /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:149:in `message'
               /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer/xcode/pods_project_generator.rb:100:in `install_file_references'
               /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer/xcode/single_pods_project_generator.rb:17:in `generate!'
               /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:314:in `block in create_and_save_projects'
               /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:64:in `section'
               /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:309:in `create_and_save_projects'
               /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:301:in `generate_pods_project'
               /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:180:in `integrate'
               /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:167:in `install!'
               /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/command/install.rb:52:in `run'
               /Users/username/.rvm/rubies/ruby-3.1.2/lib/ruby/gems/3.1.0/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
               /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/command.rb:52:in `run'
               /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/bin/pod:55:in `<top (required)>'
               /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/bin/pod:25:in `load'
               /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/bin/pod:25:in `<main>'
               ```
           
               ――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
           
               [!] Oh no, an error occurred.
           
               Search for existing GitHub issues similar to yours:

https://github.com/CocoaPods/CocoaPods/search?q=No+such+file+or+directory+%40+rb_check_realpath_internal+-+%2FUsers%2Fusername%2FDocuments%2Fworkspace%2Fwebf%2Fwebf%2Fexample%2Fmacos%2FFlutter%2Fephemeral%2F.symlinks%2Fplugins%2Fwebf%2Fmacos%2Flibwebf.dylib&typ
               e=Issues
           
               If none exists, create a ticket, with the template displayed above, on:
               https://github.com/CocoaPods/CocoaPods/issues/new
           
               Be sure to first read the contributing guide for details on how to properly submit a ticket:
               https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md
           
               Don't forget to anonymize any private data!
           
               Looking for related issues on cocoapods/cocoapods...
               Found no similar issues. To create a new issue, please visit:
               https://github.com/cocoapods/cocoapods/issues/new
           
[+2067 ms] [
                      {
                        "ignored" : false,
                        "modelCode" : "MacBookPro18,4",
                        "simulator" : false,
                        "modelName" : "MacBook Pro",
                        "operatingSystemVersion" : "14.1.1 (23B81)",
                        "identifier" : "00006001-000269D02150401E",
                        "platform" : "com.apple.platform.macosx",
                        "architecture" : "arm64e",
                        "interface" : "usb",
                        "available" : true,
                        "name" : "My Mac",
                        "modelUTI" : "com.apple.macbookpro-14-2021"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "17.0 (21A328)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone15,5",
                        "identifier" : "7D13978A-9204-49AE-97F0-F119EE721CFB",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.iphone-15-plus-1",
                        "modelName" : "iPhone 15 Plus",
                        "name" : "iPhone 15 Plus",
                        "ignored" : false
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "17.0 (21A328)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad14,3",
                        "identifier" : "5D6E973A-9D4E-483D-9C9F-63012E45C4F7",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.ipad-pro-11-4th-1",
                        "modelName" : "iPad Pro (11-inch) (4th generation)",
                        "name" : "iPad Pro (11-inch) (4th generation)",
                        "ignored" : false
                      },
                      {
                        "ignored" : false,
                        "modelCode" : "iPhone12,1",
                        "simulator" : false,
                        "modelName" : "iPhone 11",
                        "error" : {
                          "code" : -27,
                          "failureReason" : "",
                          "description" : "Browsing on the local area network for xxx",
                          "recoverySuggestion" : "Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.\nThe device must be opted into Developer Mode to connect wirelessly.",
                          "domain" : "com.apple.dt.deviceprep"
                        },
                        "operatingSystemVersion" : "17.2.1 (21C66)",
                        "identifier" : "00008030-0019046E018B802E",
                        "platform" : "com.apple.platform.iphoneos",
                        "architecture" : "arm64e",
                        "interface" : "usb",
                        "available" : false,
                        "name" : "xxx",
                        "modelUTI" : "com.apple.iphone-11-1"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "17.0 (21A328)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone14,6",
                        "identifier" : "87B19963-C13C-4069-B6FD-76BA3FEDB1D8",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.iphone-se3-1",
                        "modelName" : "iPhone SE (3rd generation)",
                        "name" : "iPhone SE (3rd generation)",
                        "ignored" : false
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "17.0 (21A328)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone14,7",
                        "identifier" : "484CC735-8E10-4215-8F99-B11682B9B168",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.iphone-14-1",
                        "modelName" : "iPhone 14",
                        "name" : "iPhone 14",
                        "ignored" : false
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "17.0 (21A328)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad13,17",
                        "identifier" : "AE4E50AA-D858-4242-8A6D-D1271F079936",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.ipad-air5-1",
                        "modelName" : "iPad Air (5th generation)",
                        "name" : "iPad Air (5th generation)",
                        "ignored" : false
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "17.0 (21A328)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone15,4",
                        "identifier" : "F72D3E29-53E5-423B-A04B-DBF6CA98FE50",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.iphone-15-1",
                        "modelName" : "iPhone 15",
                        "name" : "iPhone 15",
                        "ignored" : false
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "17.0 (21A328)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad14,5",
                        "identifier" : "54760435-3510-4D2C-9C4A-E579CAFD1488",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.ipad-pro-12point9-6th-1",
                        "modelName" : "iPad Pro (12.9-inch) (6th generation)",
                        "name" : "iPad Pro (12.9-inch) (6th generation)",
                        "ignored" : false
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "17.0 (21A328)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad13,18",
                        "identifier" : "FC9BF91B-7F15-4424-B648-FC522D8DF944",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.ipad-10-1",
                        "modelName" : "iPad (10th generation)",
                        "name" : "iPad (10th generation)",
                        "ignored" : false
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "17.0 (21A328)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone16,2",
                        "identifier" : "8056DE78-AD76-42D3-9C62-5F1A275C0C62",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.iphone-15-pro-max-1",
                        "modelName" : "iPhone 15 Pro Max",
                        "name" : "iPhone 15 Pro Max",
                        "ignored" : false
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "17.0 (21A328)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad14,1",
                        "identifier" : "8C3701ED-364E-491E-8198-16C0EBB4166B",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.ipad-mini6-1",
                        "modelName" : "iPad mini (6th generation)",
                        "name" : "iPad mini (6th generation)",
                        "ignored" : false
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "17.0 (21A328)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone16,1",
                        "identifier" : "8EDB6B26-C3CE-41FA-9CAC-CC0D1D8F1CF6",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.iphone-15-pro-1",
                        "modelName" : "iPhone 15 Pro",
                        "name" : "iPhone 15 Pro",
                        "ignored" : false
                      }
                    ]

                    2024-01-24 00:53:54.871 xcdevice[46409:4058415]  DVTDeviceOperation: 00008030-0019046E018B802E: skipping implicit preparation because autoConnectStyle == ignored
                    2024-01-24 00:53:54.871 xcdevice[46409:4058415]  DVTDeviceOperation: 00008030-0019046E018B802E: skipping implicit preparation because autoConnectStyle == ignored
[   +4 ms] executing: /usr/bin/arch -arm64e xcrun devicectl --version
[  +76 ms] Exit code 0 from: /usr/bin/arch -arm64e xcrun devicectl --version
[   +1 ms] 348.1
[   +2 ms] executing: /usr/bin/arch -arm64e xcrun devicectl list devices --timeout 5 --json-output /var/folders/_4/_prnq_px1d546kbsyfc9j5_h0000gn/T/flutter_tools.H94VFm/core_devices.NhCxkj/core_device_list.json
[ +485 ms] Devices:
                    Name         Hostname                                     Identifier                             State         Model                 
                    ----------   ------------------------------------------   ------------------------------------   -----------   ----------------------
                    xxx   00008030-0019046E018B802E.coredevice.local   E4A7129C-06CC-4258-8626-FB61754A6E68   unavailable   iPhone 11 (iPhone12,1)
[        ] {
             "info" : {
               "arguments" : [
                 "devicectl",
                 "list",
                 "devices",
                 "--timeout",
                 "5",
                 "--json-output",
                 "/var/folders/_4/_prnq_px1d546kbsyfc9j5_h0000gn/T/flutter_tools.H94VFm/core_devices.NhCxkj/core_device_list.json"
               ],
               "commandType" : "devicectl.list.devices",
               "environment" : {
                 "TERM" : "xterm-256color"
               },
               "jsonVersion" : 2,
               "outcome" : "success",
               "version" : "348.1"
             },
             "result" : {
               "devices" : [
                 {
                   "capabilities" : [
                     {
                       "featureIdentifier" : "com.apple.coredevice.feature.unpairdevice",
                       "name" : "Unpair Device"
                     }
                   ],
                   "connectionProperties" : {
                     "authenticationType" : "manualPairing",
                     "isMobileDeviceOnly" : false,
                     "lastConnectionDate" : "2024-01-22T09:53:41.959Z",
                     "pairingState" : "paired",
                     "potentialHostnames" : [
                       "00008030-0019046E018B802E.coredevice.local",
                       "E4A7129C-06CC-4258-8626-FB61754A6E68.coredevice.local"
                     ],
                     "tunnelState" : "unavailable"
                   },
                   "deviceProperties" : {
                     "bootedFromSnapshot" : true,
                     "bootedSnapshotName" : "com.apple.os.update-080AE4DDDA7FDA96444939CED49A0BE056C6319A3FCCB08DD9BC0D9E60DC943CD74E965FCDF28E93B5426475CE725B7B",
                     "ddiServicesAvailable" : false,
                     "developerModeStatus" : "enabled",
                     "hasInternalOSBuild" : false,
                     "name" : "xxx",
                     "osBuildUpdate" : "21C66",
                     "osVersionNumber" : "17.2.1",
                     "rootFileSystemIsWritable" : false
                   },
                   "hardwareProperties" : {
                     "cpuType" : {
                       "name" : "arm64e",
                       "subType" : 2,
                       "type" : 16777228
                     },
                     "deviceType" : "iPhone",
                     "ecid" : 7041744936599598,
                     "hardwareModel" : "N104AP",
                     "internalStorageCapacity" : 128000000000,
                     "isProductionFused" : true,
                     "marketingName" : "iPhone 11",
                     "platform" : "iOS",
                     "productType" : "iPhone12,1",
                     "reality" : "physical",
                     "serialNumber" : "G0ND4CR1N741",
                     "supportedCPUTypes" : [
                       {
                         "name" : "arm64e",
                         "subType" : 2,
                         "type" : 16777228
                       },
                       {
                         "name" : "arm64",
                         "subType" : 0,
                         "type" : 16777228
                       },
                       {
                         "name" : "arm64",
                         "subType" : 1,
                         "type" : 16777228
                       },
                       {
                         "name" : "arm64_32",
                         "subType" : 1,
                         "type" : 33554444
                       }
                     ],
                     "supportedDeviceFamilies" : [
                       1
                     ],
                     "thinningProductType" : "iPhone12,1",
                     "udid" : "00008030-0019046E018B802E"
                   },
                   "identifier" : "E4A7129C-06CC-4258-8626-FB61754A6E68",
                   "visibilityClass" : "default"
                 }
               ]
             }
           }

[   +9 ms] Error: Browsing on the local area network for xxx. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
           The device must be opted into Developer Mode to connect wirelessly. (code -27)
[+3241 ms] Exception: Error running pod install
[   +3 ms] "flutter run" took 10,620ms.
[   +3 ms] 
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:752:9)
           <asynchronous suspension>
           #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1350:27)
           <asynchronous suspension>
           #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #4      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
           <asynchronous suspension>
           #5      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:348:9)
           <asynchronous suspension>
           #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:294:5)
           <asynchronous suspension>
           #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:112:9)
           <asynchronous suspension>
           #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #10     main (package:flutter_tools/executable.dart:90:3)
           <asynchronous suspension>
           
           
[  +57 ms] ensureAnalyticsSent: 53ms
[        ] Running 1 shutdown hook
[   +2 ms] Shutdown hooks complete
[        ] exiting with code 1

from webf.

david-clang avatar david-clang commented on August 14, 2024

This issue has been resolved.
Pay attention to the errors in building the bridge. I did not install cmake.
/bin/sh: cmake: command not found

from webf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.