[
https://issues.apache.org/jira/browse/CB-13013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary N Griswold updated CB-13013:
---------------------------------
Comment: was deleted
(was: 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: [email protected], [email protected]
> 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: [email protected]
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]