Software Archive
Read-only legacy content
17061 Discussions

Build iOs Error phonegap-facebook-plugin cordova CLI 5.4.1

André_V_
Beginner
285 Views

I already tried this steps https://software.intel.com/en-us/forums/intel-xdk/topic/599093#comment-1851012 but still not working. If i remove facebook plugin the build works fine, if i put the build fails.

In the final of log is write:

** BUILD FAILED **


The following build commands failed:
	CompileC build/Taxi\ Curitiba.build/Release-iphoneos/Taxi\ Curitiba.build/Objects-normal/armv7/FacebookConnectPlugin.o Taxi\ Curitiba/Plugins/phonegap-facebook-plugin/FacebookConnectPlugin.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
ERROR building one of the platforms: Error code 65 for command: xcodebuild with args: -xcconfig,.../builds/build.2016-03-29.06-24-45.RpIrCv.tmp/RT_Curitiba/platforms/ios/cordova/build-release.xcconfig,-project,Taxi Curitiba.xcodeproj,ARCHS=armv7 arm64,-target,Taxi Curitiba,-configuration,Release,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=.../builds/build.2016-03-29.06-24-45.RpIrCv.tmp/RT_Curitiba/platforms/ios/build/device,SHARED_PRECOMPS_DIR=.../builds/build.2016-03-29.06-24-45.RpIrCv.tmp/RT_Curitiba/platforms/ios/build/sharedpch
You may not have the required environment or OS to build this project
Error: Error code 65 for command: xcodebuild with args: -xcconfig,.../builds/build.2016-03-29.06-24-45.RpIrCv.tmp/RT_Curitiba/platforms/ios/cordova/build-release.xcconfig,-project,Taxi Curitiba.xcodeproj,ARCHS=armv7 arm64,-target,Taxi Curitiba,-configuration,Release,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=.../builds/build.2016-03-29.06-24-45.RpIrCv.tmp/RT_Curitiba/platforms/ios/build/device,SHARED_PRECOMPS_DIR=.../builds/build.2016-03-29.06-24-45.RpIrCv.tmp/RT_Curitiba/platforms/ios/build/sharedpch

Before the update 3088 the build was working fine

0 Kudos
1 Solution
Anusha_M_Intel1
Employee
285 Views

Andre what are the other plugins you are using in your project?

Try this:

1. remove the existing fb plugin

2. add this 3rd party fb plugin  cordova-plugin-facebook4

3. You will need to update the Min Android API to at least 15 in the XDK Build Settings.

View solution in original post

0 Kudos
2 Replies
Anusha_M_Intel1
Employee
286 Views

Andre what are the other plugins you are using in your project?

Try this:

1. remove the existing fb plugin

2. add this 3rd party fb plugin  cordova-plugin-facebook4

3. You will need to update the Min Android API to at least 15 in the XDK Build Settings.

0 Kudos
André_V_
Beginner
285 Views

Thanks, I did it and now the build is normal.

0 Kudos
Reply