Posts

Post not yet marked as solved
0 Replies
1.7k Views
I have Xcode 10.1 installed and I am trying to build my Mixed (Objc+Swift) Xcode Project from command line with following command.xcodebuild clean build -project XXXX.xcodeproj -scheme XXXX-UAT -sdk iphonesimulator VALID_ARCHS=arm64 ARCHS=arm64But he build is failing with following errors../Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLAvailability.h:15:9: error: could not build module 'Darwin'#import <Availability.h>43 errors generated.<unknown>:0: error: failed to emit precompiled header '/Users/XXXX/Library/Developer/Xcode/DerivedData/JEMSMobilePad-etvexzuimetipsgkduetvaetsnxz/Build/Intermediates.noindex/PrecompiledHeaders/***-Header-swift_13786O2PLA2D2-clang_OJ7UAS6Z3L0V.pch' for bridging header '/Users/XXXX/Documents/WorkingCopy/xxxx/***/***/***-Bridging-Header.h'<unknown>:0: error: generate-pch command failed with exit code 1 (use -v to see invocation)** BUILD FAILED **The following build commands failed: PrecompileSwiftBridgingHeader normal arm64 CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compilerCan someone plese help me with this error?Thanks in Advance
Posted
by AmolJP.
Last updated
.