You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2017/07/16 08:46:02 UTC
[jira] [Commented] (CB-13013) Cordova iOS link (clang) failure
caused by space in App name
[ https://issues.apache.org/jira/browse/CB-13013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16088855#comment-16088855 ]
Shazron Abdullah commented on CB-13013:
---------------------------------------
{code}
-F<directory>
Add the specified directory to the search path for framework include files.
{code}
we have unit tests that test for spaces in app names, so I'm a bit confused where exactly this happens. Do you have a repro that I can see, with a new blank project?
> Cordova iOS link (clang) failure caused by space in App name
> ------------------------------------------------------------
>
> Key: CB-13013
> URL: https://issues.apache.org/jira/browse/CB-13013
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-ios
> Affects Versions: cordova-ios@4.4.0, cordova@7.0.0
> Environment: Mac osx 10.12.5
> xCode 8.3.3
> cordova 7.0.1
> cordova iOS 4.4.0
> Reporter: Gary N Griswold
> Assignee: Shazron Abdullah
> Labels: backlog, ios-next
> Fix For: cordova-ios@4.4.1
>
>
> Where in iOS Cordova is the code that generates the clang command? I would be happy to investigate this problem myself, if I knew where in the Cordova code that the clang (link) statement is generated.
> The clang statement that is being generated is not correctly handling a space that is embedded in the App name:
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
> .....
> -FYour
> -FBible/Plugins/com-shortsands-pkzip
> -FBible/Plugins/com-shortsands-aws
> -FBible/Plugins/com-shortsands-videoplayer
> -FBible/Plugins/cordova-plugin-webserver
> -FYour\ Bible/Plugins/com-shortsands-pkzip
> -FYour\ Bible/Plugins/com-shortsands-aws
> -FYour\ Bible/Plugins/com-shortsands-videoplayer
> .....
> The App is named "Your Bible". Noticed that it is not handling the space properly when it generates the -F parameters, and those all fail with not found errors. Then it generates -F parameters a second time, but this time correctly handling the space.
> Custom, embedded frameworks are being used in these three plugins. This link problem appeared after they were added to the project.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org