[✓] Flutter (Channel stable, 3.13.4, on macOS 14.1.1 23B81 darwin-arm64, locale zh-Hans-CN)
[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
`flutter config --android-sdk` to update to that location.
[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
[✓] Chrome - develop for the web
[!] Android Studio (not installed)
[✓] VS Code (version 1.84.2)
[✓] Connected device (3 available)
! Error: Browsing on the local area network for cciPhone. 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)
! Error: Browsing on the local area network for iPhone. 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)
Question
i use this plugin in flutter, and use flutter build ios-framework --output=<path> to buid frameworks, then put it to new iOS project. the error shows like below
ld: warning: Could not find or use auto-linked framework 'CoreAudioTypes': framework 'CoreAudioTypes' not found
ld: Undefined symbols:
_OBJC_CLASS_$_PAGFile, referenced from:
in pag[6](TGFlutterPagRender.o)
_OBJC_CLASS_$_PAGPlayer, referenced from:
in pag[6](TGFlutterPagRender.o)
_OBJC_CLASS_$_PAGSurface, referenced from:
in pag[6](TGFlutterPagRender.o)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Showing Recent Messages
Undefined symbols:
Linker command failed with exit code 1 (use -v to see invocation)
Note: if i run flutter project dirctly, it is no problems
Try
if this new ios project delete all pag plugin, 1. Pag.xcframework (Embed&sign) 2. FlutterPluginRegistrant(Do not embed). the project work well, but the function of the pag will disappear
Env
pag: ^1.0.4
flutter doctor
Question
i use this plugin in flutter, and use
flutter build ios-framework --output=<path>
to buid frameworks, then put it to new iOS project. the error shows like belowNote: if i run flutter project dirctly, it is no problems
Try
if this new ios project delete all pag plugin, 1. Pag.xcframework (Embed&sign) 2. FlutterPluginRegistrant(Do not embed). the project work well, but the function of the pag will disappear