cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary N Griswold (JIRA)" <j...@apache.org>
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

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

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" />
		</feature>
	</config-file>
	<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"/>
</platform>

> 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


Mime
View raw message