Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

iOS build failes in PGB

See original GitHub issue

Dear 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="" 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\\ NFC\ Test/Plugins/phonegap-nfc/NfcPlugin.m normal armv7 objective-c (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:closed
  • Created 6 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

zxfrankcommented, Oct 20, 2017

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?

doncommented, Oct 23, 2017

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

PGB iOS Build fail when trying to use default icon. #633 - GitHub
I interpret the PGB documentation to state that I can put a single in config.xml,. ... PGB iOS Build fail when trying to...
Read more >
Build Failed — but no reason! | Apple Developer Forums
Hi, I'm experiencing weird Xcode behavior. I'm getting "build failed" after some alterations to the code, but Xcode will NOT give me the...
Read more >
ios - PhoneGap Windows Build Fail with Cordova Push ...
I found a solution... The problem was PhoneGap only works with push notification 1.8.1. so changed my config.xml files like this
Read more >
Error on registering in iOS - Pushwoosh
The problem that PGB don't put correct push entitlements into the executable during the build process. The entitlements section goes right ...
Read more >
cordova build failed, error: exit status 65 - Bitrise Discussions
Hi all,. I'm trying to migrate away from PGB, which is lacking the necessary updates to keep publishing iOS updates. I'm quite new...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found