[jira] [Updated] (CB-8757) Install with --link of a plugin containing static libraries breaks Xcode build on iOS
[ https://issues.apache.org/jira/browse/CB-8757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Bektchiev updated CB-8757: - Affects Version/s: 3.8.0 Install with --link of a plugin containing static libraries breaks Xcode build on iOS - Key: CB-8757 URL: https://issues.apache.org/jira/browse/CB-8757 Project: Apache Cordova Issue Type: Bug Components: Plugman Affects Versions: 3.8.0 Reporter: Martin Bektchiev If a Cordova iOS project is located in a path that contains symlinked directories and a plugin with static libs is installed with --link, the project becomes unbuildable. The reason is that apparently Xcode expands the symlinks in project path and the relative paths that plugman has generated become incorrect. Steps to reproduce: 1. Create a new Cordova iOS project in /tmp on a Mac 2. Download and place a plugin that contains a static library somewhere outside of /tmp (e.g. https://github.com/couchbaselabs/Couchbase-Lite-PhoneGap-Plugin) 3. Install it using plugman install --platform ios --project /tmp/project-dir --plugin plugin-dir --link 3. Attempt to build - the build fails with an error: directory not found for option '-LPluginsPathrelativePathToStaticLib' -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-8757) Install with --link of a plugin containing static libraries breaks Xcode build on iOS
[ https://issues.apache.org/jira/browse/CB-8757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Bektchiev updated CB-8757: - Description: If a Cordova iOS project is located in a path that contains symlinked directories and a plugin with static libs is installed with --link, the project becomes unbuildable. The reason is that apparently Xcode expands the symlinks in project path and the relative paths that plugman has generated become incorrect. Steps to reproduce: 1. Create a new Cordova iOS project in /tmp on a Mac 2. Download and place a plugin that contains a static library somewhere outside of /tmp (e.g. https://github.com/couchbaselabs/Couchbase-Lite-PhoneGap-Plugin) 3. Install it using plugman install --platform ios --project /tmp/project-dir --plugin plugin-dir --link 3. Attempt to build - the build fails with an error: directory not found for option '-LPluginsPathrelativePathToStaticLib', because /tmp is a symlink to /private/tmp and the relative path leads to /private/Users/... instead of /Users/ was: If a Cordova iOS project is located in a path that contains symlinked directories and a plugin with static libs is installed with --link, the project becomes unbuildable. The reason is that apparently Xcode expands the symlinks in project path and the relative paths that plugman has generated become incorrect. Steps to reproduce: 1. Create a new Cordova iOS project in /tmp on a Mac 2. Download and place a plugin that contains a static library somewhere outside of /tmp (e.g. https://github.com/couchbaselabs/Couchbase-Lite-PhoneGap-Plugin) 3. Install it using plugman install --platform ios --project /tmp/project-dir --plugin plugin-dir --link 3. Attempt to build - the build fails with an error: directory not found for option '-LPluginsPathrelativePathToStaticLib' Install with --link of a plugin containing static libraries breaks Xcode build on iOS - Key: CB-8757 URL: https://issues.apache.org/jira/browse/CB-8757 Project: Apache Cordova Issue Type: Bug Components: Plugman Affects Versions: 3.8.0 Reporter: Martin Bektchiev If a Cordova iOS project is located in a path that contains symlinked directories and a plugin with static libs is installed with --link, the project becomes unbuildable. The reason is that apparently Xcode expands the symlinks in project path and the relative paths that plugman has generated become incorrect. Steps to reproduce: 1. Create a new Cordova iOS project in /tmp on a Mac 2. Download and place a plugin that contains a static library somewhere outside of /tmp (e.g. https://github.com/couchbaselabs/Couchbase-Lite-PhoneGap-Plugin) 3. Install it using plugman install --platform ios --project /tmp/project-dir --plugin plugin-dir --link 3. Attempt to build - the build fails with an error: directory not found for option '-LPluginsPathrelativePathToStaticLib', because /tmp is a symlink to /private/tmp and the relative path leads to /private/Users/... instead of /Users/ -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-8757) Install with --link of a plugin containing static libraries breaks Xcode build on iOS
[ https://issues.apache.org/jira/browse/CB-8757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Bektchiev updated CB-8757: - Description: If a Cordova iOS project is located in a path that contains symlinked directories and a plugin with static libs is installed with --link, the project becomes unbuildable. The reason is that apparently Xcode expands the symlinks in project path and the relative paths that plugman has generated become incorrect. Steps to reproduce: 1. Create a new Cordova iOS project in /tmp on a Mac 2. Download and place a plugin that contains a static library somewhere outside of /tmp (e.g. https://github.com/couchbaselabs/Couchbase-Lite-PhoneGap-Plugin) 3. Install it using plugman install --platform ios --project /tmp/project-dir --plugin plugin-dir --link 3. Attempt to build - the build fails with an error: directory not found for option '-LPluginsPathrelativePathToStaticLib' was: If a Cordova iOS project is located in a path that contains symlinked directories and a plugin with static libs is installed with --link, the project becomes unbuildable. The reason is that apparently Xcode expands the symlinks in project path and the relative paths that plugman has generated become incorrect. Steps to reproduce: 1. Create a new Cordova iOS project in /tmp on a Mac 2. Download and place a plugin that contains a static library somewhere outside of /tmp (e.g. https://github.com/couchbaselabs/Couchbase-Lite-PhoneGap-Plugin) 3. Install it using plugman install --platform ios --project /tmp/project-dir --plugin plugin-dir --link 3. Attempt to build - the build fails with an error: directory not found for option '-LPluginsPathrelativePathToStaticLib' Install with --link of a plugin containing static libraries breaks Xcode build on iOS - Key: CB-8757 URL: https://issues.apache.org/jira/browse/CB-8757 Project: Apache Cordova Issue Type: Bug Components: Plugman Affects Versions: 3.8.0 Reporter: Martin Bektchiev If a Cordova iOS project is located in a path that contains symlinked directories and a plugin with static libs is installed with --link, the project becomes unbuildable. The reason is that apparently Xcode expands the symlinks in project path and the relative paths that plugman has generated become incorrect. Steps to reproduce: 1. Create a new Cordova iOS project in /tmp on a Mac 2. Download and place a plugin that contains a static library somewhere outside of /tmp (e.g. https://github.com/couchbaselabs/Couchbase-Lite-PhoneGap-Plugin) 3. Install it using plugman install --platform ios --project /tmp/project-dir --plugin plugin-dir --link 3. Attempt to build - the build fails with an error: directory not found for option '-LPluginsPathrelativePathToStaticLib' -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org