You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Richard Kimber (JIRA)" <ji...@apache.org> on 2012/12/05 17:40:58 UTC

[jira] [Created] (CB-1967) ./cordova/emulate fails because it's trying to emulate CordovaLib.xcodeproj

Richard Kimber created CB-1967:
----------------------------------

             Summary: ./cordova/emulate fails because it's trying to emulate CordovaLib.xcodeproj
                 Key: CB-1967
                 URL: https://issues.apache.org/jira/browse/CB-1967
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 2.2.0
         Environment: Mountain Lion Terminal.app
            Reporter: Richard Kimber
            Assignee: Shazron Abdullah


./cordova/emulate fails because it's trying to emulate CordovaLib.xcodeproj. This is because getAppPath() finds CordovaLib before the actual project.

--
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] [Resolved] (CB-1967) ./cordova/emulate fails because it's trying to emulate CordovaLib.xcodeproj

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

Shazron Abdullah resolved CB-1967.
----------------------------------

    Resolution: Duplicate

Thanks for filing the bug report. The project name detection has been refactored previously in another issue: CB-1802
... thus this will be fixed in 2.3.0
                
> ./cordova/emulate fails because it's trying to emulate CordovaLib.xcodeproj
> ---------------------------------------------------------------------------
>
>                 Key: CB-1967
>                 URL: https://issues.apache.org/jira/browse/CB-1967
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.2.0
>         Environment: Mountain Lion Terminal.app
>            Reporter: Richard Kimber
>            Assignee: Shazron Abdullah
>
> ./cordova/emulate fails because it's trying to emulate CordovaLib.xcodeproj. This is because getAppPath() finds CordovaLib before the actual project.

--
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-1967) ./cordova/emulate fails because it's trying to emulate CordovaLib.xcodeproj

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

Richard Kimber commented on CB-1967:
------------------------------------

I resolved this issue by replacing line 27 of /cordova/emulate with the following:

	for file in "$( find "$PROJECT_PATH" -type d \( -name '*.xcodeproj' ! -name '*CordovaLib.xcodeproj' \) | sort )"; do

Rich
                
> ./cordova/emulate fails because it's trying to emulate CordovaLib.xcodeproj
> ---------------------------------------------------------------------------
>
>                 Key: CB-1967
>                 URL: https://issues.apache.org/jira/browse/CB-1967
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.2.0
>         Environment: Mountain Lion Terminal.app
>            Reporter: Richard Kimber
>            Assignee: Shazron Abdullah
>
> ./cordova/emulate fails because it's trying to emulate CordovaLib.xcodeproj. This is because getAppPath() finds CordovaLib before the actual project.

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