incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "PJ Dillon (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-1497) Fails Archiving CordovaLib in iOS
Date Tue, 18 Sep 2012 19:24:08 GMT

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

PJ Dillon edited comment on CB-1497 at 9/19/12 6:23 AM:
--------------------------------------------------------

-------------------------------------BEGIN--------------------------------------
Inspecting project: /docs/sulia/iOS-pg2/Sulia.xcodeproj/project.pbxproj


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

Sub-project: {'path': '../incubator-cordova-ios/CordovaLib/CordovaLib.xcodeproj', 'name':
'CordovaLib.xcodeproj', 'sourceTree': '<group>'}


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

Project :
{   'Debug': {   'ARCHS': ['armv6', 'armv7'],
                 '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.2',
                 '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': ['armv6', 'armv7'],
                   '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.2',
                   'OTHER_LDFLAGS': [   '-weak_framework',
                                        'CoreFoundation',
                                        '-weak_framework',
                                        'UIKit',
                                        '-weak_framework',
                                        'AVFoundation',
                                        '-weak_framework',
                                        'CoreMedia',
                                        '-weak-lSystem',
                                        '-all_load',
                                        '-Obj-C'],
                   'USER_HEADER_SEARCH_PATHS': ''}}
Targets :
{   'Sulia': {   'Debug': {   'ARCHS': '(not found)',
                              'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
                              'HEADER_SEARCH_PATHS': '(not found)',
                              'IPHONEOS_DEPLOYMENT_TARGET': '4.3',
                              'OTHER_LDFLAGS': [   '-weak_framework',
                                                   'CoreFoundation',
                                                   '-weak_framework',
                                                   'UIKit',
                                                   '-weak_framework',
                                                   'AVFoundation',
                                                   '-weak_framework',
                                                   'CoreMedia',
                                                   '-weak-lSystem',
                                                   '-all_load',
                                                   '-lsqlite3.0',
                                                   '-Obj-C'],
                              'USER_HEADER_SEARCH_PATHS': '(not found)'},
                 'Release': {   'ARCHS': '(not found)',
                                'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
                                'HEADER_SEARCH_PATHS': '(not found)',
                                'IPHONEOS_DEPLOYMENT_TARGET': '4.3',
                                'OTHER_LDFLAGS': [   '-weak_framework',
                                                     'CoreFoundation',
                                                     '-weak_framework',
                                                     'UIKit',
                                                     '-weak_framework',
                                                     'AVFoundation',
                                                     '-weak_framework',
                                                     'CoreMedia',
                                                     '-weak-lSystem',
                                                     '-all_load',
                                                     '-lsqlite3.0',
                                                     '-Obj-C'],
                                'USER_HEADER_SEARCH_PATHS': '(not found)'}}}


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

CORDOVALIB: /Users/pjdillon/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: /docs/sulia/incubator-cordova-ios/CordovaLib/CordovaLib.xcodeproj 

{   'Project': {   'Debug': {   'ARCHS': ['armv6', 'armv7'],
                                'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
                                'IPHONEOS_DEPLOYMENT_TARGET': '4.2',
                                'OTHER_LDFLAGS': '(not found)',
                                'PUBLIC_HEADERS_FOLDER_PATH': 'include/Cordova',
                                'USER_HEADER_SEARCH_PATHS': ''},
                   'Release': {   'ARCHS': ['armv6', 'armv7'],
                                  'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
                                  'IPHONEOS_DEPLOYMENT_TARGET': '4.2',
                                  'OTHER_LDFLAGS': '(not found)',
                                  'PUBLIC_HEADERS_FOLDER_PATH': 'include/Cordova',
                                  'USER_HEADER_SEARCH_PATHS': '(not found)'}},
    'Targets': {   'CordovaLib': {   'Debug': {   'ARCHS': [   'armv6',
                                                               'armv7'],
                                                  'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
                                                  'IPHONEOS_DEPLOYMENT_TARGET': '4.2',
                                                  'OTHER_LDFLAGS': '(not found)',
                                                  'PUBLIC_HEADERS_FOLDER_PATH': 'include/Cordova',
                                                  'USER_HEADER_SEARCH_PATHS': '(not found)'},
                                     'Release': {   'ARCHS': [   'armv6',
                                                                 'armv7'],
                                                    'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
                                                    'IPHONEOS_DEPLOYMENT_TARGET': '4.2',
                                                    '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---------------------------------------
                
      was (Author: knightcode):
    

-------------------------------------BEGIN--------------------------------------
Inspecting project: /docs/sulia/iOS-pg2/Sulia.xcodeproj/project.pbxproj


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

Sub-project: {'path': '../incubator-cordova-ios/CordovaLib/CordovaLib.xcodeproj', 'name':
'CordovaLib.xcodeproj', 'sourceTree': '<group>'}


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

Debug :
{   'ARCHS': ['armv6', 'armv7'],
    '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.2',
    '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': ['armv6', 'armv7'],
    '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.2',
    '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: /Users/pjdillon/Documents/CordovaLib
Build Location Style: Unique


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

Path is: ../incubator-cordova-ios/CordovaLib/CordovaLib.xcodeproj 

{   'Debug': {   'ARCHS': ['armv6', 'armv7'],
                 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
                 'IPHONEOS_DEPLOYMENT_TARGET': '4.2',
                 'OTHER_LDFLAGS': '(not found)',
                 'PUBLIC_HEADERS_FOLDER_PATH': 'include/Cordova',
                 'USER_HEADER_SEARCH_PATHS': ''},
    'Release': {   'ARCHS': ['armv6', 'armv7'],
                   'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
                   'IPHONEOS_DEPLOYMENT_TARGET': '4.2',
                   '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---------------------------------------
                  
> Fails Archiving CordovaLib in iOS
> ---------------------------------
>
>                 Key: CB-1497
>                 URL: https://issues.apache.org/jira/browse/CB-1497
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>         Environment: Xcode 4.5 (4G182), iOS 6 GM Seed (10a403), Cordova 2.0.0 installed...
somewhere, Mac OS 10.7.4
>            Reporter: PJ Dillon
>            Assignee: Shazron Abdullah
>            Priority: Minor
>
> Trying to get an app out for iOS 6 ASAP. After cloning the git repo, building the CordovaLib
project works for debugging, but when trying to Archive it, the error below occurs. It seems
like it's unable to find the library after compiling it. When included in our own project,
same thing occurs.
> SetOwnerAndGroup "user:staff" /Users/user/Library/Developer/Xcode/DerivedData/CordovaLib-azquqjfgcqqlhiehsxsutxwlcxbe/Build/Intermediates/ArchiveIntermediates/CordovaLib/IntermediateBuildFilesPath/UninstalledProducts/libCordova.a
>     cd /docs/misc/incubator-cordova-ios/CordovaLib
>     setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
>     /usr/sbin/chown -RH "user:staff" /Users/user/Library/Developer/Xcode/DerivedData/CordovaLib-azquqjfgcqqlhiehsxsutxwlcxbe/Build/Intermediates/ArchiveIntermediates/CordovaLib/IntermediateBuildFilesPath/UninstalledProducts/libCordova.a
> chown: /Users/user/Library/Developer/Xcode/DerivedData/CordovaLib-azquqjfgcqqlhiehsxsutxwlcxbe/Build/Intermediates/ArchiveIntermediates/CordovaLib/IntermediateBuildFilesPath/UninstalledProducts/libCordova.a:
No such file or directory
> Command /usr/sbin/chown failed with exit code 1

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

Mime
View raw message