Kureev / Kureev/react-native-uber-rides

Unsupported Swift Version

Open
#2 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
33
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Installing the module with
```
rnpm install react-native-uber-rides
```

or
```
npm i react-native-uber-rides --save
react-native link react-native-uber-rides
```

Generate the XCode (v8.3.2) with deployment target 9+

The error:

> Xcode 8 will not be able to build the workspace and certain editing features will not function properly until the Swift source code in this workspace has been converted.
> This action can be performed later using “Convert to Current Swift Syntax” in the Edit menu.

After XCode have (intended) to convert the code into the new Swift version, the Swift code become red and buggy...

**_“Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly._**

![screen shot 2017-04-26 at 2 44 45 pm](https://cloud.githubusercontent.com/assets/4115874/25435037/ff15f12a-2a8e-11e7-9d5d-651c27409b29.png)

No way to fix it easily.

Any update require?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the installation with rnpm or npm/link, then open the generated Xcode 8.3.2 workspace using deployment target 9+ and inspect the Swift targets and build settings. The issue names no source file or test; done means the workspace builds without the Swift conversion or missing SWIFT_VERSION errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, swift
Domain
build-system, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.