-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IOS build failure #34
Comments
I get the same error on xcode 8.3.3 (swift 3), even when adding |
I have the same issue as @nero120 when builiding my project with
I'm using the following plugin https://github.com/NiklasMerz/cordova-plugin-fingerprint-aio, which defines When I open xcode I get a message asking to convert to actual swift syntax. I say Not shure but I think this setting should be set by your plugin and is not directly related to the fingerprint one, is it? Here's my environment info:
|
@DavidTalamona It's working for me now. The plugin updates the xcode project settings during the |
Just did that (and so I did yesterday) without success. Tried to let the ionic cloud build it for me - build / package failed and guess what the output was ...
They build the project from scratch with my source "injected", so no crappy / corrupt platform which needs |
The problem seems to be related to xcode 8.3(x). Think it's related to this: https://stackoverflow.com/questions/43107179/xcode-8-3-cant-support-swift-2-3 |
I have similar problems with XCode 9 (beta and GM). |
I have the same problem with Xcode 9. Right before the above line I therefore wrote the output of But when inspecting the XCode project file afterwards the settings are not there! I also logged Any ideas? |
@DavidTalamona Is there a way to downgrade the version of XCode that ionic cloud uses? |
same here with xcode 9.2, |
What I found is another plugin was overwriting the pbx value. In this case |
Issue is documented here for that plugin. kelvinhokk/cordova-plugin-localization-strings#33 |
I also got the same error with xcode 11.3.1 but this happens to me randomly, looks like xcodeProject.updateBuildProperty('SWIFT_VERSION', '5.0', buildConfig.name); is not setting correctly the swift compiler version. |
HI ,
After implementing this plugin I am getting "Use Legacy Swift Language Version" error when build on IOS.
I am using X-code 8.2 which uses swift 2.3 as legacy version.
if im disabling "use swift leagacy version" checkbox in X-code settings it works fine however I am willing to let Cordova do it by configuration.
i have tried to add "<preference name="UseLegacySwiftLanguageVersion" value="false" to my config xml but it didnt help.
Any other suggestions?
Thanks head Omer
The text was updated successfully, but these errors were encountered: