You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed xcpretty and then execute the Makefile using make build but the build fails:
rm -r acextract.xcarchive
rm: acextract.xcarchive: No such file or directory
make: [build] Error 1 (ignored)
xcodebuild \
-project acextract.xcodeproj \
-scheme acextract \
-archivePath /Users/user/Documents/acextract/acextract.xcarchive \
archive | xcpretty -c
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:x86_64, id:41A4E177-67E0-59EC-83B5-B1A7A8E0536D }
{ platform:macOS, name:Any Mac }
[x] error: generate-pch command failed with exit code 1 (use -v to see invocation)
[x] /Users/user/Documents/acextract/acextract/CoreUI.h:109:13: expected a type
- (nullable CGPDFDocumentRef)pdfDocument;
^
[x] /Users/user/Documents/acextract/acextract/CoreUI.h:111:13: expected a type
- (nullable CGImageRef)unslicedImage;
^
[x] error: failed to emit precompiled header '/Users/user/Library/Developer/Xcode/DerivedData/acextract-eladrcnvwagendfcrpthmbutkmmz/Build/Intermediates.noindex/ArchiveIntermediates/acextract/PrecompiledHeaders/acextract-Bridging-Header-swift_2OEU7PU7L0HTU-clang_171HMTJZZUKMX.pch' for bridging header /Users/user/Documents/acextract/acextract/acextract-Bridging-Header.h
** ARCHIVE FAILED **
The following build commands failed:
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler (in target 'acextract' from project 'acextract')
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'acextract' from project 'acextract')
PrecompileSwiftBridgingHeader normal arm64 (in target 'acextract' from project 'acextract')
(3 failures)
rm /Users/user/Documents/acextract/acextract.bin
rm: /Users/user/Documents/acextract/acextract.bin: No such file or directory
make: [build] Error 1 (ignored)
cp acextract.xcarchive/Products/usr/local/bin/acextract /Users/user/Documents/acextract/acextract.bin
cp: acextract.xcarchive/Products/usr/local/bin/acextract: No such file or directory
make: *** [build] Error 1
Xcode 13.1 Build version 13A1030d
macOS 11.6 BuildVersion: 20G165
The text was updated successfully, but these errors were encountered:
I installed xcpretty and then execute the Makefile using
make build
but the build fails:Xcode 13.1 Build version 13A1030d
macOS 11.6 BuildVersion: 20G165
The text was updated successfully, but these errors were encountered: