nextcloud / ios

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

Build fails with Xcode 16 #3110

Closed securitykernel closed 1 month ago

securitykernel commented 1 month ago

Steps to reproduce

  1. Install Xcode 16
  2. Clone GH repo
  3. Run carthage update --use-xcframeworks --platform iOS
  4. Open project in Xcode and build

Expected behaviour

The build should succeed.

Actual behaviour

The build fails, because of an incompatible version of the referenced OpenSSL-Swift package.

Logs

/Users/.../Library/Developer/Xcode/DerivedData/.../Build/Products/Development-iphoneos/OpenSSL.framework/Headers/e_os2.h:265:9 Declaration of 'uint64_t' must be imported from module 'DarwinFoundation.stdint.uint64_t' before it is required

Image

Reasoning or why should it be changed/implemented?

In order to build the app with latest Xcode, OpenSSL needs to be updated to at least 3.3.2000 (https://github.com/krzyzanowskim/OpenSSL/issues/222).

Environment data

iOS version: N/A

Nextcloud iOS app version: 5.5.5 (master also affected)

Server operating system: N/A

Web server: N/A

Database: N/A

PHP version: N/A

Nextcloud version: N/A

Rello commented 1 month ago

Hi,

please see the information in the readme. XCode 15 is currently required https://github.com/nextcloud/ios?tab=readme-ov-file#xcode-15-project-setup

Regards,...

securitykernel commented 1 month ago

@Rello Works with Xcode 15, thanks. May I suggest however that you add a note to the README section explicitly warning that Xcode 16 is not supported, yet? I am probably not the only one misinterpreting this headline as "Xcode 15+". When is Xcode 16 support coming?

toshanmugaraj commented 1 month ago

Old Xcode 15 doesn't works with the latest Mac OS Sequoia.

toshanmugaraj commented 4 weeks ago

I updated the Openssl version 3.1.5006 and build succeeded.