You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "sandeep arneja (JIRA)" <ji...@apache.org> on 2012/09/27 19:36:07 UTC

[jira] [Created] (CB-1554) cordovalib.a is red in xode and builds fail on jenkins

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

[jira] [Commented] (CB-1554) cordovalib.a is red in xode and builds fail on jenkins

Posted by "sandeep arneja (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13465071#comment-13465071 ] 

sandeep arneja commented on CB-1554:
------------------------------------

[~agrieve] Yes it builds perfectly from command line on my machine. I guess we can close this ticket. I was just wondering why the cordovalib.a is red in xcode.
                
> 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: Andrew Grieve
>            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

[jira] [Closed] (CB-1554) cordovalib.a is red in xode and builds fail on jenkins

Posted by "sandeep arneja (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sandeep arneja closed CB-1554.
------------------------------

    Resolution: Not A Problem
    
> 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: Andrew Grieve
>            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

[jira] [Commented] (CB-1554) cordovalib.a is red in xode and builds fail on jenkins

Posted by "sandeep arneja (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13465109#comment-13465109 ] 

sandeep arneja commented on CB-1554:
------------------------------------

[~agrieve] after u mentioned the debug i script i opened it up and looked in it.. and then answer was right there.... when calling xcodebuild it passes in CONFIGURATION_BUILD_DIR=\"$PROJECT_DIR/build and its this build directory which has cordovalib.a

that was what i need on my jenkins box too.

thank you
                
> 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: Andrew Grieve
>            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

[jira] [Commented] (CB-1554) cordovalib.a is red in xode and builds fail on jenkins

Posted by "Andrew Grieve (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13464958#comment-13464958 ] 

Andrew Grieve commented on CB-1554:
-----------------------------------

Does it work if you build from the command line via the cordova/debug script? (aka, using xcodebuild)?
                
> 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

[jira] [Assigned] (CB-1554) cordovalib.a is red in xode and builds fail on jenkins

Posted by "Andrew Grieve (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Grieve reassigned CB-1554:
---------------------------------

    Assignee: Andrew Grieve  (was: Shazron Abdullah)
    
> 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: Andrew Grieve
>            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

[jira] [Commented] (CB-1554) cordovalib.a is red in xode and builds fail on jenkins

Posted by "Andrew Grieve (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13465646#comment-13465646 ] 

Andrew Grieve commented on CB-1554:
-----------------------------------

Great! Glad you got it working :)
                
> 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: Andrew Grieve
>            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