ios icon indicating copy to clipboard operation
ios copied to clipboard

Errors on Xcode preventing from building

Open Shuyuya opened this issue 5 years ago • 6 comments

Hello,

Expected behavior

Succeeding in installing the App on my phone for the first time by reading and following all the instructions given.

Actual behavior

I can't run the app from Xcode. I'm at the 4th step of installing the app but even after resolving the bundle identifier issue I can't run the app. I have the "Build Failed" message and checked what was wrong to find 11 errors I can't resolve even after searching solutions in topics about the same issue, Swift_Version '3.0' is unsupported. I found one which was resolved and linked to the solution's comment but I can't execute what it said (how do I unlock the code for editing ?) I need help, please.

Device Info

Tested on MacBook Pro, iOS 10.14.4

Shuyuya avatar Apr 13 '19 19:04 Shuyuya

Hi @Shuyuya!

Unfortunately, the code currently in the repository is written in Swift 3.0, which is not supported in Xcode version 10.2 and above. I have updated the code to Swift 4, but I don't have permission to merge the current pull request in order to upload my changes. I suggest you contact @reneklacan (@GreenRabbit on FetLife) and ask him to merge the PR.

whitehat007 avatar Apr 26 '19 00:04 whitehat007

Hi @Shuyuya!

Unfortunately, the code currently in the repository is written in Swift 3.0, which is not supported in Xcode version 10.2 and above. I have updated the code to Swift 4, but I don't have permission to merge the current pull request in order to upload my changes. I suggest you contact @reneklacan (@greenrabbit on FetLife) and ask him to merge the PR.

Any chance you can share your current build/code or maybe even go as far as forking the repo for Swift 4+. I don't think any of the maintainers are even looking at this project anymore its been months since anything has been merged or updated.

I tired doing so myself but wasn't able get anything completely working. I think I got it to compile on the latest platform but then had issues with the app itself not working right. If I had more know how on Swift I would consider forking it myself.

jajabro1 avatar Apr 29 '19 22:04 jajabro1

Here is the latest code I have: https://github.com/whitehat007/fetlife-ios/tree/tabbed-views

I suppose I'm technically the de-facto maintainer--I just don't have any permissions in the repo! :P

whitehat007 avatar Apr 29 '19 23:04 whitehat007

Here is the latest code I have: https://github.com/whitehat007/fetlife-ios/tree/tabbed-views

I suppose I'm technically the de-facto maintainer--I just don't have any permissions in the repo! :P

Awesome! I'd love to learn and start contributing! I definitely at the least plan to get the build going and then share a meets. Ill ask questions over on your repo when and if I come across problems. I know there were reports of apps breaking after the 2FA was enabled.

jajabro1 avatar Apr 29 '19 23:04 jajabro1

I do see that @reneklacan has merged PRs now, but I don't see one that does the Swift update.

I'm messing with the Xcode stuff now, but if anyone else gets a good PR in to update to Swift 4 (or 5 even) go for it!

GeoJunkie avatar Jun 11 '19 11:06 GeoJunkie

I misspoke. I see now that PR #66 has the Swift 4 update, as well. Maybe @reneklacan will merge that soon?

GeoJunkie avatar Jun 11 '19 11:06 GeoJunkie