sandeep arneja created CB-1554:
----------------------------------
Summary: cordovalib.a is red in xode and builds fail on jenkins
Key: CB-1554
URL: https://issues.apache.org/jira/browse/CB-1554
Project: Apache Cordova
Issue Type: Bug
Components: iOS
Affects Versions: 2.1.0
Reporter: sandeep arneja
Assignee: Shazron Abdullah
Priority: Critical
cordovalib.a is red in "link binaries with libraries"
http://screencast.com/t/D88xA0DImM
I have already updated my project and cordova project settings to:
1. Only have armv6
2. support 4.3 +
3. build active architecture only - YES
The project for some reason still builds fine on my local machine but fails on
jenkins.
Here is the debug output:
-------------------------------------BEGIN--------------------------------------
Inspecting project: /Users/sarneja/projects/desk/Desk.xcodeproj/project.pbxproj
--------------------------------------------------------------------------------
Finding your project's sub-projects...
Sub-project: {'path': 'CordovaLib/CordovaLib.xcodeproj', 'name':
'CordovaLib.xcodeproj', 'sourceTree': '<group>'}
--------------------------------------------------------------------------------
Inspecting your project's Build Settings...
Debug :
{ 'ARCHS': '$(ARCHS_STANDARD_32_BIT)',
'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
'HEADER_SEARCH_PATHS': [ '"$(TARGET_BUILD_DIR)/usr/local/lib/include"',
'"$(OBJROOT)/UninstalledProducts/include"',
'"$(BUILT_PRODUCTS_DIR)"'],
'IPHONEOS_DEPLOYMENT_TARGET': '4.3',
'OTHER_LDFLAGS': [ '-weak_framework',
'CoreFoundation',
'-weak_framework',
'UIKit',
'-weak_framework',
'AVFoundation',
'-weak_framework',
'CoreMedia',
'-weak-lSystem',
'-all_load',
'-Obj-C'],
'USER_HEADER_SEARCH_PATHS': ''}
Release :
{ 'ARCHS': '$(ARCHS_STANDARD_32_BIT)',
'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
'HEADER_SEARCH_PATHS': [ '"$(TARGET_BUILD_DIR)/usr/local/lib/include"',
'"$(OBJROOT)/UninstalledProducts/include"',
'"$(BUILT_PRODUCTS_DIR)"'],
'IPHONEOS_DEPLOYMENT_TARGET': '4.3',
'OTHER_LDFLAGS': [ '-weak_framework',
'CoreFoundation',
'-weak_framework',
'UIKit',
'-weak_framework',
'AVFoundation',
'-weak_framework',
'CoreMedia',
'-weak-lSystem',
'-all_load',
'-Obj-C'],
'USER_HEADER_SEARCH_PATHS': ''}
--------------------------------------------------------------------------------
Inspecting Xcode Preferences...
CORDOVALIB: (not found)
Build Location Style: Unique
--------------------------------------------------------------------------------
Inspecting your CordovaLib's Build Settings...
Path is: CordovaLib/CordovaLib.xcodeproj
{ 'Debug': { 'ARCHS': '$(ARCHS_STANDARD_32_BIT)',
'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
'IPHONEOS_DEPLOYMENT_TARGET': '4.3',
'OTHER_LDFLAGS': '(not found)',
'PUBLIC_HEADERS_FOLDER_PATH': 'include/Cordova',
'USER_HEADER_SEARCH_PATHS': ''},
'Release': { 'ARCHS': '$(ARCHS_STANDARD_32_BIT)',
'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
'IPHONEOS_DEPLOYMENT_TARGET': '4.3',
'OTHER_LDFLAGS': '(not found)',
'PUBLIC_HEADERS_FOLDER_PATH': 'include/Cordova',
'USER_HEADER_SEARCH_PATHS': '(not found)'}}
--------------------------------------------------------------------------------
Inspecting CordovaLib Version...
VERSION file: 2.1.0
CDVAvailability.h version: __CORDOVA_2_1_0
--------------------------------------END---------------------------------------
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira