iOS build failes in PGB
See original GitHub issueDear all,
I am trying to developed a very simple prototype for iOS, however PGB always throws an error. If I remove the plugin / config line
<plugin spec="https://github.com/chariotsolutions/phonegap-nfc.git" source="git" />
the build passes successfully.
App-ID is 2814573.
The following build commands failed: CompileC /Users/phonegap/Library/Developer/Xcode/DerivedData/NFC_Test-eeofxxwbgnwiqtdcybqstaxloonf/Build/Intermediates/ArchiveIntermediates/NFC\ Test/IntermediateBuildFilesPath/NFC\ Test.build/Release-iphoneos/NFC\ Test.build/Objects-normal/armv7/NfcPlugin.o NFC\ Test/Plugins/phonegap-nfc/NfcPlugin.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler (1 failure) Error code 65 for command: xcodebuild with args: -xcconfig,/private/tmp/gimlet/2814573/project/cordova/build-release.xcconfig,-workspace,NFC Test.xcworkspace,-scheme,NFC Test,-configuration,Release,-destination,generic/platform=iOS,-archivePath,NFC Test.xcarchive,archive,CONFIGURATION_BUILD_DIR=/private/tmp/gimlet/2814573/project/build/device,SHARED_PRECOMPS_DIR=/private/tmp/gimlet/2814573/project/build/sharedpch
Any idea?
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (3 by maintainers)
I also get an error
phonegap-nfc/NfcPlugin.h:11:9: fatal error: ‘CoreNFC/CoreNFC.h’ file not found #import <CoreNFC/CoreNFC.h>
@mgoetz85 do you have this error too or different?
Version 0.7.1 of phonegap-nfc now automatically adds the NFC framework to the project. It’s possible this fixes the PhoneGap Build problem. This assumes that PhoneGap Build is compiling with Xcode 9.