Skip to content

Instantly share code, notes, and snippets.

@mattpodwysocki
Last active December 11, 2015 20:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattpodwysocki/0b11495ce1f1f60e2157 to your computer and use it in GitHub Desktop.
Save mattpodwysocki/0b11495ce1f1f60e2157 to your computer and use it in GitHub Desktop.
Build failing on OSX 10.11.2 and Xcode 7.2 for issue https://issues.apache.org/jira/browse/CB-10179
Executing "before_build" hook for all plugins.
Executing "before_prepare" hook for all plugins.
Searching PlatformJson files for differences between project vs. platform installed plugins
No differences found between project and ios platform. Continuing...
Generating config.xml from defaults for platform "ios"
Wrote out iOS Bundle Identifier to "com.podwysocki.testproject"
Wrote out iOS Bundle Version to "0.0.1"
iOS Product Name has not changed (still "TestProject")
updated project successfully
Executing "after_prepare" hook for all plugins.
Executing "before_compile" hook for all plugins.
Building project : /Users/matthewp/github/thali/TestProject/platforms/ios/TestProject.xcodeproj
Configuration : Debug
Platform : emulator
Build settings from command line:
ARCHS = i386
CONFIGURATION_BUILD_DIR = /Users/matthewp/github/thali/TestProject/platforms/ios/build/emulator
SDKROOT = iphonesimulator9.2
SHARED_PRECOMPS_DIR = /Users/matthewp/github/thali/TestProject/platforms/ios/build/sharedpch
VALID_ARCHS = i386
Build settings from configuration file '/Users/matthewp/github/thali/TestProject/platforms/ios/cordova/build-debug.xcconfig':
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES
CODE_SIGN_IDENTITY = iPhone Developer
ENABLE_BITCODE = NO
GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1
HEADER_SEARCH_PATHS = "$(TARGET_BUILD_DIR)/usr/local/lib/include" "$(OBJROOT)/UninstalledProducts/include" "$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include" "$(BUILT_PRODUCTS_DIR)"
IPHONEOS_DEPLOYMENT_TARGET = 8.0
OTHER_LDFLAGS = -ObjC
SWIFT_OBJC_BRIDGING_HEADER = $(PROJECT_DIR)/$(PROJECT_NAME)/Bridging-Header.h
TARGETED_DEVICE_FAMILY = 1,2
=== BUILD TARGET CordovaLib OF PROJECT CordovaLib WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET TestProject OF PROJECT TestProject WITH CONFIGURATION Debug ===
Check dependencies
PhaseScriptExecution Copy\ www\ directory build/TestProject.build/Debug-iphonesimulator/TestProject.build/Script-304B58A110DAC018002A0835.sh
cd /Users/matthewp/GitHub/thali/testproject/platforms/ios
/bin/sh -c /Users/matthewp/GitHub/thali/testproject/platforms/ios/build/TestProject.build/Debug-iphonesimulator/TestProject.build/Script-304B58A110DAC018002A0835.sh
ProcessInfoPlistFile /Users/matthewp/github/thali/TestProject/platforms/ios/build/emulator/TestProject.app/Info.plist TestProject/TestProject-Info.plist
cd /Users/matthewp/GitHub/thali/testproject/platforms/ios
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Library/Frameworks/Python.framework/Versions/3.5/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Android/sdk/platform-tools:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin:/usr/local/go/bin"
builtin-infoPlistUtility /Users/matthewp/GitHub/thali/testproject/platforms/ios/TestProject/TestProject-Info.plist -genpkginfo /Users/matthewp/github/thali/TestProject/platforms/ios/build/emulator/TestProject.app/PkgInfo -expandbuildsettings -format binary -platform iphonesimulator -additionalcontentfile /Users/matthewp/GitHub/thali/testproject/platforms/ios/build/TestProject.build/Debug-iphonesimulator/TestProject.build/MainViewController-PartialInfo.plist -additionalcontentfile /Users/matthewp/GitHub/thali/testproject/platforms/ios/build/TestProject.build/Debug-iphonesimulator/TestProject.build/assetcatalog_generated_info.plist -o /Users/matthewp/github/thali/TestProject/platforms/ios/build/emulator/TestProject.app/Info.plist
CompileC build/TestProject.build/Debug-iphonesimulator/TestProject.build/Objects-normal/i386/CDVCamera.o TestProject/Plugins/cordova-plugin-camera/CDVCamera.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/matthewp/GitHub/thali/testproject/platforms/ios
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Library/Frameworks/Python.framework/Versions/3.5/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Android/sdk/platform-tools:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin:/usr/local/go/bin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c99 -fobjc-arc -fmodules -gmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/folders/jn/ttfygy2126g2cz_tlyfrhfgc0000gn/C/org.llvm.clang/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-implicit-atomic-properties -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=8.0 -g -fvisibility=hidden -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/matthewp/GitHub/thali/testproject/platforms/ios/build/TestProject.build/Debug-iphonesimulator/TestProject.build/TestProject-generated-files.hmap -I/Users/matthewp/GitHub/thali/testproject/platforms/ios/build/TestProject.build/Debug-iphonesimulator/TestProject.build/TestProject-own-target-headers.hmap -I/Users/matthewp/GitHub/thali/testproject/platforms/ios/build/TestProject.build/Debug-iphonesimulator/TestProject.build/TestProject-all-target-headers.hmap -iquote /Users/matthewp/GitHub/thali/testproject/platforms/ios/build/TestProject.build/Debug-iphonesimulator/TestProject.build/TestProject-project-headers.hmap -I/Users/matthewp/github/thali/TestProject/platforms/ios/build/emulator/include -I/Users/matthewp/github/thali/TestProject/platforms/ios/build/emulator/usr/local/lib/include -I/Users/matthewp/GitHub/thali/testproject/platforms/ios/build/UninstalledProducts/include -I/Users/matthewp/GitHub/thali/testproject/platforms/ios/build/UninstalledProducts/iphonesimulator/include -I/Users/matthewp/github/thali/TestProject/platforms/ios/build/emulator -I/Users/matthewp/GitHub/thali/testproject/platforms/ios/build/TestProject.build/Debug-iphonesimulator/TestProject.build/DerivedSources/i386 -I/Users/matthewp/GitHub/thali/testproject/platforms/ios/build/TestProject.build/Debug-iphonesimulator/TestProject.build/DerivedSources -F/Users/matthewp/github/thali/TestProject/platforms/ios/build/emulator -include /Users/matthewp/github/thali/TestProject/platforms/ios/build/sharedpch/TestProject-Prefix-bstdxrqayevzqvaxhlivhsodnudo/TestProject-Prefix.pch -MMD -MT dependencies -MF /Users/matthewp/GitHub/thali/testproject/platforms/ios/build/TestProject.build/Debug-iphonesimulator/TestProject.build/Objects-normal/i386/CDVCamera.d --serialize-diagnostics /Users/matthewp/GitHub/thali/testproject/platforms/ios/build/TestProject.build/Debug-iphonesimulator/TestProject.build/Objects-normal/i386/CDVCamera.dia -c /Users/matthewp/GitHub/thali/testproject/platforms/ios/TestProject/Plugins/cordova-plugin-camera/CDVCamera.m -o /Users/matthewp/GitHub/thali/testproject/platforms/ios/build/TestProject.build/Debug-iphonesimulator/TestProject.build/Objects-normal/i386/CDVCamera.o
/Users/matthewp/GitHub/thali/testproject/platforms/ios/TestProject/Plugins/cordova-plugin-camera/CDVCamera.m:23:9: fatal error: 'Cordova/NSData+Base64.h' file not found
#import <Cordova/NSData+Base64.h>
^
1 error generated.
ERROR building one of the platforms: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/matthewp/github/thali/TestProject/platforms/ios/cordova/build-debug.xcconfig,-project,TestProject.xcodeproj,ARCHS=i386,-target,TestProject,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/matthewp/github/thali/TestProject/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/matthewp/github/thali/TestProject/platforms/ios/build/sharedpch
You may not have the required environment or OS to build this project
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment