flutter_vlc_player icon indicating copy to clipboard operation
flutter_vlc_player copied to clipboard

Xcode 13 Archive Error

Open jing-pei opened this issue 4 years ago • 2 comments

CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'flutter_vlc_player' from project 'Pods')

cd /Users/angus/Projects/xcam_one/ios/Pods`
export DEVELOPER_DIR\=/Applications/Xcode.app/Contents/Developer`
export SDKROOT\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.0.sdk

Info

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -incremental -module-name flutter_vlc_player -O -whole-module-optimization -enforce-exclusivity\=checked @/Users/angus/Library/Developer/Xcode/DerivedData/Runner-amfkkylupflqwyebiuxwmqokazgc/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/flutter_vlc_player.build/Objects-normal/arm64/flutter_vlc_player.SwiftFileList -D COCOAPODS -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.0.sdk -target arm64-apple-ios9.0 -g -module-cache-path /Users/angus/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -embed-bitcode -swift-version 5 -I /Users/angus/Library/Developer/Xcode/DerivedData/Runner-amfkkylupflqwyebiuxwmqokazgc/Build/Intermediates.noindex/ArchiveIntermediates/Runner/BuildProductsPath/Release-iphoneos/flutter_vlc_player -F /Users/angus/Library/Developer/Xcode/DerivedData/Runner-amfkkylupflqwyebiuxwmqokazgc/Build/Intermediates.noindex/ArchiveIntermediates/Runner/BuildProductsPath/Release-iphoneos/flutter_vlc_player -F /Users/angus/flutter/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64_armv7 -F /Users/angus/Projects/xcam_one/ios/Pods/MobileVLCKit -F /Users/angus/Library/Developer/Xcode/DerivedData/Runner-amfkkylupflqwyebiuxwmqokazgc/Build/Intermediates.noindex/ArchiveIntermediates/Runner/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/MobileVLCKit -c -num-threads 8 -output-file-map /Users/angus/Library/Developer/Xcode/DerivedData/Runner-amfkkylupflqwyebiuxwmqokazgc/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/flutter_vlc_player.build/Objects-normal/arm64/flutter_vlc_player-OutputFileMap.json -parseable-output -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/angus/Library/Developer/Xcode/DerivedData/Runner-amfkkylupflqwyebiuxwmqokazgc/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/flutter_vlc_player.build/Objects-normal/arm64/flutter_vlc_player.swiftmodule -Xcc -I/Users/angus/Library/Developer/Xcode/DerivedData/Runner-amfkkylupflqwyebiuxwmqokazgc/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/flutter_vlc_player.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/angus/Library/Developer/Xcode/DerivedData/Runner-amfkkylupflqwyebiuxwmqokazgc/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/flutter_vlc_player.build/flutter_vlc_player-generated-files.hmap -Xcc -I/Users/angus/Library/Developer/Xcode/DerivedData/Runner-amfkkylupflqwyebiuxwmqokazgc/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/flutter_vlc_player.build/flutter_vlc_player-own-target-headers.hmap -Xcc -I/Users/angus/Library/Developer/Xcode/DerivedData/Runner-amfkkylupflqwyebiuxwmqokazgc/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/flutter_vlc_player.build/flutter_vlc_player-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/angus/Library/Developer/Xcode/DerivedData/Runner-amfkkylupflqwyebiuxwmqokazgc/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/flutter_vlc_player.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/angus/Library/Developer/Xcode/DerivedData/Runner-amfkkylupflqwyebiuxwmqokazgc/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/flutter_vlc_player.build/flutter_vlc_player-project-headers.hmap -Xcc -I/Users/angus/Library/Developer/Xcode/DerivedData/Runner-amfkkylupflqwyebiuxwmqokazgc/Build/Intermediates.noindex/ArchiveIntermediates/Runner/BuildProductsPath/Release-iphoneos/flutter_vlc_player/include -Xcc -I/Users/angus/Library/Developer/Xcode/DerivedData/Runner-amfkkylupflqwyebiuxwmqokazgc/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/flutter_vlc_player.build/DerivedSources-normal/arm64 -Xcc -I/Users/angus/Library/Developer/Xcode/DerivedData/Runner-amfkkylupflqwyebiuxwmqokazgc/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/flutter_vlc_player.build/DerivedSources/arm64 -Xcc -I/Users/angus/Library/Developer/Xcode/DerivedData/Runner-amfkkylupflqwyebiuxwmqokazgc/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/flutter_vlc_player.build/DerivedSources -Xcc -DPOD_CONFIGURATION_RELEASE\=1 -Xcc -DCOCOAPODS\=1 -emit-objc-header -emit-objc-header-path /Users/angus/Library/Developer/Xcode/DerivedData/Runner-amfkkylupflqwyebiuxwmqokazgc/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/flutter_vlc_player.build/Objects-normal/arm64/flutter_vlc_player-Swift.h -import-underlying-module -Xcc -ivfsoverlay -Xcc /Users/angus/Library/Developer/Xcode/DerivedData/Runner-amfkkylupflqwyebiuxwmqokazgc/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/flutter_vlc_player.build/unextended-module-overlay.yaml -working-directory /Users/angus/Projects/xcam_one/ios/Pods

image

Flutter doctor -v

[✓] Flutter (Channel stable, 2.5.2, on macOS 12.0 21A5552a darwin-x64, locale zh-Hans-CN)
    • Flutter version 2.5.2 at /Users/angus/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 3595343e20 (2 weeks ago), 2021-09-30 12:58:18 -0700
    • Engine revision 6ac856380f
    • Dart version 2.14.3
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/angus/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.0, Build version 13A233
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android 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.10+0-b96-7281165)

[✓] IntelliJ IDEA Ultimate Edition (version 2021.1.3)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 58.0.3
    • Dart plugin version 211.7727

[✓] VS Code (version 1.61.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.27.0

[✓] Connected device (4 available)
    • M2007J22C (mobile) • qwq875q8z5em75hy          • android-arm64  • Android 11 (API 30)
    • Pepe (mobile)      • 00008101-001178DC3ED8001E • ios            • iOS 15.0.2 19A404
    • macOS (desktop)    • macos                     • darwin-x64     • macOS 12.0 21A5552a darwin-x64
    • Chrome (web)       • chrome                    • web-javascript • Google Chrome 94.0.4606.81
    ! Error: iPad is not connected. Xcode will continue when iPad is connected. (code -13)

jing-pei avatar Oct 15 '21 13:10 jing-pei

Build Settings -> Compilation Mode -> Switch to "Incremental", the problem still exists

stackoverflow

image

jing-pei avatar Oct 15 '21 13:10 jing-pei

check the permission of Xcode in privacy setting..

dunghacknicktao avatar Dec 29 '21 07:12 dunghacknicktao