RocketChat / Rocket.Chat.ReactNative

Rocket.Chat mobile clients
https://rocket.chat
MIT License
2k stars 1.17k forks source link

White label application failing to build #5873

Open MisterCode415 opened 1 week ago

MisterCode415 commented 1 week ago

Description:

White Label IOS cannot compile, results in error:

`LIBCLANG FATAL ERROR: SmallVector unable to grow. Requested capacity (4294967296) is larger than maximum value for size type (4294967295) BUILD FAILED

The following build commands failed: ScanDependencies /Users/papaviking/Library/Developer/Xcode/DerivedData/RocketChatRN-dcegzihscxiegmguwonxpsvxvzsl/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/RNImageCropPicker.build/Objects-normal/arm64/ImageCropPicker.o /Users/papaviking/sites/single-server/node_modules/react-native-image-crop-picker/ios/src/ImageCropPicker.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'RNImageCropPicker' from project 'Pods') SwiftCompile normal arm64 Compiling\ AppleAuthenticationButton.swift,\ AppleAuthenticationExceptions.swift,\ AppleAuthenticationModule.swift,\ AppleAuthenticationRequest.swift,\ AppleAuthenticationRequestOptions.swift,\ AppleAuthenticationUtils.swift,\ ButtonStyle.swift,\ ButtonType.swift /Users/papaviking/sites/single-server/node_modules/expo-apple-authentication/ios/AppleAuthenticationButton.swift /Users/papaviking/sites/single-server/node_modules/expo-apple-authentication/ios/AppleAuthenticationExceptions.swift /Users/papaviking/sites/single-server/node_modules/expo-apple-authentication/ios/AppleAuthenticationModule.swift /Users/papaviking/sites/single-server/node_modules/expo-apple-authentication/ios/AppleAuthenticationRequest.swift /Users/papaviking/sites/single-server/node_modules/expo-apple-authentication/ios/AppleAuthenticationRequestOptions.swift /Users/papaviking/sites/single-server/node_modules/expo-apple-authentication/ios/AppleAuthenticationUtils.swift /Users/papaviking/sites/single-server/node_modules/expo-apple-authentication/ios/ButtonStyle.swift /Users/papaviking/sites/single-server/node_modules/expo-apple-authentication/ios/ButtonType.swift (in target 'ExpoAppleAuthentication' from project 'Pods') CompileSwift normal arm64 (in target 'ExpoAppleAuthentication' from project 'Pods') Building workspace RocketChatRN with scheme RocketChatRN and configuration Debug (4 failures)`

Environment Information:

M2 Chip on Sonoma, Xcode 16 (16A242d) repo branch single-server at 5225e5edd

Steps to reproduce:

  1. run: yarn ios
leonardo-mazzitelli commented 23 hours ago

I found the same problem with my old application of react-native, the pod is generated for xcode 13, but de xcode 16 fails...