-
-
Notifications
You must be signed in to change notification settings - Fork 260
Open
Description
Steps to reproduce
- Xcode (16.2) -> Product -> Archive
- flutter_pdfview : 1.4.0
Flutter doctor output
[✓] Flutter (Channel stable, 3.24.4, on macOS 15.0.1 24A348 darwin-x64, locale en-VN)
• Flutter version 3.24.4 on channel stable at /Users/sangnn/Documents/Sendo/Resouce/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 603104015d (4 months ago), 2024-10-24 08:01:25 -0700
• Engine revision db49896cf2
• Dart version 3.5.4
• DevTools version 2.37.3
[!] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
• Android SDK at /Users/sangnn/Library/Android/sdk
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/to/macos-android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 16.2)
• Xcode at /Applications/[Xcode.app/Contents/Developer](http://xcode.app/Contents/Developer)
• Build 16C5032a
• CocoaPods version 1.15.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google [Chrome.app/Contents/MacOS/Google](http://chrome.app/Contents/MacOS/Google) Chrome
[✓] Android Studio (version 2021.2)
• Android Studio at /Applications/Android [Studio.app/Contents](http://studio.app/Contents)
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
[✓] VS Code (version 1.96.3)
• VS Code at /Applications/Visual Studio [Code.app/Contents](http://code.app/Contents)
• Flutter extension version 3.102.0
[✓] Connected device (4 available)
• sendo’s iPhone (mobile) • 00008030-0001105A2E44802E • ios • iOS
17.7 21H16
• iPhone 16 Pro Max (mobile) • F75AAE77-5C18-4B89-AFAC-294C02E60D9C • ios •
com.apple.CoreSimulator.SimRuntime.iOS-18-2 (simulator)
• macOS (desktop) • macos • darwin-x64 • macOS
15.0.1 24A348 darwin-x64
• Chrome (web) • chrome • web-javascript • Google
Chrome 133.0.6943.142
! Error: Browsing on the local area network for iPhone của C2C. 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 sendo’s 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)
! Error: Browsing on the local area network for iPhone (2). 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)
[✓] Network resources
• All expected network resources are available.
! Doctor found issues in 1 category.
Actual results
I can run the project on the Simulator, but I can't archive it.
Logs
/Applications/[Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/usr/include/libkern/OSByteOrder.h:55:10](http://xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/usr/include/libkern/OSByteOrder.h:55:10): error: 'libkern/machine/OSByteOrder.h' file not found (in target 'flutter_pdfview' from project 'Pods')
/Users/sangnn/Documents/Sendo/Work/station-app/ios/Pods/Target Support Files/flutter_pdfview/flutter_pdfview-prefix.pch:2:9: note: while building module 'UIKit' imported from /Users/sangnn/Documents/Sendo/Work/station-app/ios/Pods/Target Support Files/flutter_pdfview/flutter_pdfview-prefix.pch:2:
/Applications/[Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:9](http://xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:9): note: while building module 'Foundation' imported from /Applications/[Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8](http://xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8):
/Applications/[Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:10](http://xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:10): note: while building module 'CoreFoundation' imported from /Applications/[Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6](http://xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6):
/Applications/[Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:75:10](http://xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:75:10): note: while building module 'Darwin' imported from /Applications/[Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:75](http://xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:75):
/Users/sangnn/Documents/Sendo/Work/station-app/ios/Pods/<module-includes>:144:9: note: in file included from <module-includes>:144:
/Applications/[Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/usr/include/mach/mach.h:67:10](http://xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/usr/include/mach/mach.h:67:10): note: in file included from /Applications/[Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/usr/include/mach/mach.h:67](http://xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/usr/include/mach/mach.h:67):
/Applications/[Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/usr/include/mach/mach_interface.h:42:10](http://xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/usr/include/mach/mach_interface.h:42:10): note: in file included from /Applications/[Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/usr/include/mach/mach_interface.h:42](http://xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/usr/include/mach/mach_interface.h:42):
/Applications/[Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/usr/include/mach/clock_priv.h:7:10](http://xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/usr/include/mach/clock_priv.h:7:10): note: in file included from /Applications/[Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/usr/include/mach/clock_priv.h:7](http://xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/usr/include/mach/clock_priv.h:7):
/Applications/[Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/usr/include/mach/ndr.h:37:10](http://xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/usr/include/mach/ndr.h:37:10): note: in file included from /Applications/[Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/usr/include/mach/ndr.h:37](http://xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/usr/include/mach/ndr.h:37):
/Applications/[Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:75:10](http://xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:75:10): error: Could not build module 'Darwin' (in target 'flutter_pdfview' from project 'Pods')
Metadata
Metadata
Assignees
Labels
No labels
