nextcloud / ios

📱 Nextcloud iOS App
https://itunes.apple.com/us/app/nextcloud/id1125420102
GNU General Public License v3.0
1.94k stars 875 forks source link

App does not build #1456

Open ntimo opened 3 years ago

ntimo commented 3 years ago

Expected behaviour

Opening the xcode project should work and build successfully.

Actual behaviour

Build errors: Screenshot 2020-10-22 at 19 46 13

The command mentioned in the README.md also does not work:
Screenshot 2020-10-22 at 19 51 52

Steps to reproduce

  1. Clone the project
  2. cd into the cloned directory
  3. Run carthage build --platform ios
Superhanswurst commented 3 years ago

Hello nitmo I had the same problem today. To fix it drop the file here and link it to Utility in your project. /Users/YOURNAME/Library/Developer/Xcode/DerivedData/Nextcloud-bkajxlqtmpdwnecgrgevuskndksw/SourcePackages/checkouts/UICKeyChainStore/Lib/UICKeyChainStore

You'll find the file here: https://github.com/kishikawakatsumi/UICKeyChainStore

Unfortunately there are more building issues, actually I can't build it because OpenSSl.h is missing and I'm still searching for the file.

In the Attachments you will find my project... Already fixed some issues Nextcloud.zip

UICKeyChainStore.zip

marinofaggiana commented 3 years ago

Carthage has some problem with XCode 12, please use :

./wcarthage update --no-use-binaries --platform iOS --cache-builds

this script is in the home of Nextcloud directory

akisv commented 3 years ago

@Superhanswurst did you find a solution in your problem? i have the same issue.

Dimon4eg commented 2 years ago

After updating Xcode to version 13 had another build error for Queuer:

Module compiled with Swift 5.4.2 cannot be imported by the Swift 5.5 compiler

Fixed by running command from Readme:

carthage update --use-xcframeworks --platform iOS --cache-builds
marinofaggiana commented 2 years ago

The Master branch, as write, is compatible only with XCode 12.

lucasagazzani commented 1 year ago

I treid running build for the firstime and it says it is missing XCFramework