Open helloMrTom opened 2 years ago
Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.0.3, on macOS 11.6 20G165 darwin-x64, locale zh-Hans-CN) Checking Android licenses is taking an unexpectedly long time...[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 13.0) [✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome) ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable. [✓] Android Studio (version 2021.2) [✓] VS Code (version 1.68.1)
It is using old flutter version 2.10.4
ld: building for iOS Simulator, but linking in dylib built for iOS, file '/Volumes/zkq/wechat_flutter-master/ios/Pods/TXIMSDK_iOS/ImSDK.framework/ImSDK' for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) note: Using new build system note: Planning note: Build preparation complete note: Building targets in parallel Result bundle written to path: /var/folders/f2/pfjm83yx3qj6wlghsf0v30zw0000gn/T/flutter_tools.wttWs7/flutter_ios_build_temp_dirjh4BCc/temporary_xcresult_bundle Error (Xcode): Building for iOS Simulator, but linking in dylib built for iOS, file '/Volumes/zkq/wechat_flutter-master/ios/Pods/TXIMSDK_iOS/ImSDK.framework/ImSDK' for architecture arm64
Could not build the application for the simulator. Error launching application on iPhone 13 Pro Max.
求解决