[ 
https://issues.apache.org/jira/browse/CB-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13483233#comment-13483233
 ] 

Dwayne Coussement commented on CB-1614:
---------------------------------------

MacBook-Air-van-Dwayne:bin dwayne$ ./diagnose_project 
/Users/dwayne/Documents/GIT/TapCrowd/src/TapcrowdV2.xcodeproj 


-------------------------------------BEGIN--------------------------------------
Inspecting project: 
/Users/dwayne/Documents/GIT/TapCrowd/src/TapcrowdV2.xcodeproj/project.pbxproj


--------------------------------------------------------------------------------
Finding your project's sub-projects...

Sub-project: {'path': 'CordovaLib.xcodeproj', 'name': '(not found)', 
'sourceTree': '<group>'}
Sub-project: {'path': 'three20/src/Three20/Three20.xcodeproj', 'name': 
'Three20.xcodeproj', 'sourceTree': 'SOURCE_ROOT'}
Sub-project: {'path': 'three20/src/Three20Core/Three20Core.xcodeproj', 'name': 
'Three20Core.xcodeproj', 'sourceTree': 'SOURCE_ROOT'}
Sub-project: {'path': 'three20/src/Three20Network/Three20Network.xcodeproj', 
'name': 'Three20Network.xcodeproj', 'sourceTree': 'SOURCE_ROOT'}
Sub-project: {'path': 'three20/src/Three20Style/Three20Style.xcodeproj', 
'name': 'Three20Style.xcodeproj', 'sourceTree': 'SOURCE_ROOT'}
Sub-project: {'path': 'three20/src/Three20UI/Three20UI.xcodeproj', 'name': 
'Three20UI.xcodeproj', 'sourceTree': 'SOURCE_ROOT'}
Sub-project: {'path': 'three20/src/Three20UICommon/Three20UICommon.xcodeproj', 
'name': 'Three20UICommon.xcodeproj', 'sourceTree': 'SOURCE_ROOT'}
Sub-project: {'path': 
'three20/src/Three20UINavigator/Three20UINavigator.xcodeproj', 'name': 
'Three20UINavigator.xcodeproj', 'sourceTree': 'SOURCE_ROOT'}


--------------------------------------------------------------------------------
Inspecting your project's Build Settings...

Project :
{   'Debug': {   'ARCHS': '$(ARCHS_STANDARD_32_BIT)',
                 'GCC_VERSION': '',
                 'HEADER_SEARCH_PATHS': [   '$(SDKROOT)/usr/include/libxml2',
                                            '$(BUILT_PRODUCTS_DIR)/../three20',
                                            
'$(BUILT_PRODUCTS_DIR)/../../three20',
                                            'three20/Build/Products/three20'],
                 'IPHONEOS_DEPLOYMENT_TARGET': '4.3',
                 'OTHER_LDFLAGS': '-ObjC',
                 'USER_HEADER_SEARCH_PATHS': '(not found)'},
    'Release': {   'ARCHS': '$(ARCHS_STANDARD_32_BIT)',
                   'GCC_VERSION': '',
                   'HEADER_SEARCH_PATHS': [   '$(SDKROOT)/usr/include/libxml2',
                                              
'$(BUILT_PRODUCTS_DIR)/../three20',
                                              
'$(BUILT_PRODUCTS_DIR)/../../three20',
                                              'three20/Build/Products/three20'],
                   'IPHONEOS_DEPLOYMENT_TARGET': '4.3',
                   'OTHER_LDFLAGS': '-ObjC',
                   'USER_HEADER_SEARCH_PATHS': '(not found)'}}
Targets :
{   'TapcrowdV2': {   'Debug': {   'ARCHS': '$(ARCHS_STANDARD_32_BIT)',
                                   'GCC_VERSION': 
'com.apple.compilers.llvm.clang.1_0',
                                   'HEADER_SEARCH_PATHS': [   
'$(SDKROOT)/usr/include/libxml2',
                                                              
'$(BUILT_PRODUCTS_DIR)/../three20',
                                                              
'$(BUILT_PRODUCTS_DIR)/../../three20',
                                                              
'three20/Build/Products/three20',
                                                              
'$(OBJROOT)/UninstalledProducts/include'],
                                   'IPHONEOS_DEPLOYMENT_TARGET': '4.3',
                                   'OTHER_LDFLAGS': [   '-ObjC',
                                                        '-licucore',
                                                        '-all_load',
                                                        '-Obj-C'],
                                   'USER_HEADER_SEARCH_PATHS': '(not found)'},
                      'Release': {   'ARCHS': '$(ARCHS_STANDARD_32_BIT)',
                                     'GCC_VERSION': 
'com.apple.compilers.llvm.clang.1_0',
                                     'HEADER_SEARCH_PATHS': [   
'$(SDKROOT)/usr/include/libxml2',
                                                                
'$(BUILT_PRODUCTS_DIR)/../three20',
                                                                
'$(BUILT_PRODUCTS_DIR)/../../three20',
                                                                
'three20/Build/Products/three20',
                                                                
'$(OBJROOT)/UninstalledProducts/include'],
                                     'IPHONEOS_DEPLOYMENT_TARGET': '4.3',
                                     'OTHER_LDFLAGS': [   '-ObjC',
                                                          '-licucore',
                                                          '-all_load',
                                                          '-Obj-C'],
                                     'USER_HEADER_SEARCH_PATHS': '(not 
found)'}},
    'TapcrowdV2Tests': {   'Debug': {   'ARCHS': '(not found)',
                                        'GCC_VERSION': '(not found)',
                                        'HEADER_SEARCH_PATHS': [   
'$(SDKROOT)/usr/include/libxml2',
                                                                   
'$(BUILT_PRODUCTS_DIR)/../three20',
                                                                   
'$(BUILT_PRODUCTS_DIR)/../../three20',
                                                                   
'three20/Build/Products/three20'],
                                        'IPHONEOS_DEPLOYMENT_TARGET': '(not 
found)',
                                        'OTHER_LDFLAGS': [   '-framework',
                                                             'SenTestingKit'],
                                        'USER_HEADER_SEARCH_PATHS': '(not 
found)'},
                           'Release': {   'ARCHS': '(not found)',
                                          'GCC_VERSION': '(not found)',
                                          'HEADER_SEARCH_PATHS': '(not found)',
                                          'IPHONEOS_DEPLOYMENT_TARGET': '(not 
found)',
                                          'OTHER_LDFLAGS': [   '-framework',
                                                               'SenTestingKit'],
                                          'USER_HEADER_SEARCH_PATHS': '(not 
found)'}}}


--------------------------------------------------------------------------------
Inspecting Xcode Preferences...

CORDOVALIB: /Users/dwayne/Documents/CordovaLib
Build Location Style: Unique


--------------------------------------------------------------------------------
Inspecting your CordovaLib's Build Settings...

Your project is *NOT* using the CORDOVALIB Xcode variable (source tree).
Path is: /Users/dwayne/Documents/GIT/TapCrowd/src/CordovaLib.xcodeproj 

/Users/dwayne/Documents/GIT/TapCrowd/src/CordovaLib.xcodeproj/project.pbxproj: 
file does not exist or is not readable or is not a regular file
Traceback (most recent call last):
  File "./diagnose_project", line 216, in <module>
    main(sys.argv)
  File "./diagnose_project", line 183, in main
    cdvPlist = getXcodePlist(cdvlibPbx)
  File "./diagnose_project", line 56, in getXcodePlist
    return plistlib.readPlist( tmpfile )
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py",
 line 75, in readPlist
    pathOrFile = open(pathOrFile)
IOError: [Errno 2] No such file or directory: 
'/var/folders/l3/r1ty_l9j1d53kqrkvg97m6r80000gq/T/tmp1tYwUA.xml'
                
> release build via command line tools
> ------------------------------------
>
>                 Key: CB-1614
>                 URL: https://issues.apache.org/jira/browse/CB-1614
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>            Reporter: Dwayne Coussement
>            Assignee: Shazron Abdullah
>             Fix For: 2.3.0
>
>
> When you try to make a release build with the command line tools you get an 
> error like:
> fatal error: 'Cordova/CDVViewController.h' file not found
> #import <Cordova/CDVViewController.h>
> this works perfectly in the normal Xcode GUI environment, should work with 
> the command line tools too

--
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

Reply via email to