cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary N Griswold (JIRA)" <>
Subject [jira] [Commented] (CB-13013) Cordova iOS link (clang) failure caused by space in App name
Date Sun, 16 Jul 2017 20:22:01 GMT


Gary N Griswold commented on CB-13013:

I will try to get something in GitHub in the next couple of days to look at.  I think the
problem occurs when there is a custom framework in the plugin.  The following is one of the
plugins that fail with this error.

<platform name="ios">
	<config-file target="config.xml" parent="/*">
	    	<feature name="AWS">
			<param name="ios-package" value="AWS" />
	<source-file src="src/ios/AWS.swift" />
	<framework src="src/ios/build/AWS.framework" embed="true" custom="true" />
	<framework src="src/ios/AWS/AWSCore.framework" embed="true" custom="true"/>

> Cordova iOS link (clang) failure caused by space in App name
> ------------------------------------------------------------
>                 Key: CB-13013
>                 URL:
>             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/

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message