Telegram-iOS icon indicating copy to clipboard operation
Telegram-iOS copied to clipboard

xcode 16.3 run error

Open alirezarabiei7239 opened this issue 9 months ago • 8 comments

Checklist

  • [ x] I am reporting an issue in existing functionality that does not work as intended
  • [ x] I've searched for existing GitHub issues

Description

I am build the telegram tag v 11.5 and its build ok but when i run in xcode 16.3 it has this error

Showing All Errors Only failed to read unit file /private/var/tmp/_bazel_alireza/34c7bbf8f131c7a485bace094b6ec18a/rules_xcodeproj.noindex/build_output_base/execroot/main/bazel-out/_global_index_store/v5/units/ChatNavigationButton.swift.o-1HWKRQ4PP8CF7 -- Failed opening '/private/var/tmp/_bazel_alireza/34c7bbf8f131c7a485bace094b6ec18a/rules_xcodeproj.noindex/build_output_base/execroot/main/bazel-out/_global_index_store/v5/units/ChatNavigationButton.swift.o-1HWKRQ4PP8CF7': No such file or directory

Expected Behavior

App run on device

Actual Behavior

project not run

Steps to Reproduce

  1. build successful with bazel
  2. run the xcode
  3. got error

Environment

Device: iPhone 16

iOS version: 18.4

App version: 11.5

alirezarabiei7239 avatar Apr 08 '25 15:04 alirezarabiei7239

same error on xcode 16.3

danlanxiaohei avatar Apr 15 '25 17:04 danlanxiaohei

I am having the same issue. Have you figured out what's wrong? It would be nice if you can share your solution. Thanks!

xx-derek avatar Apr 20 '25 16:04 xx-derek

I am having the same issue. Have you figured out what's wrong? It would be nice if you can share your solution. Thanks!

If anyone is interested, I solved the issue by upgrading rules_xcodeproj and rules_swift to the latest version.

xx-derek avatar Apr 20 '25 17:04 xx-derek

I am having the same issue. Have you figured out what's wrong? It would be nice if you can share your solution. Thanks!

If anyone is interested, I solved the issue by upgrading rules_xcodeproj and rules_swift to the latest version. Hi, thanks for your reply would you please give version of reules_xcodeproj and rules_swift that you have used with xcode 16.3 ?

alirezarabiei7239 avatar Apr 21 '25 12:04 alirezarabiei7239

I have the same issue. Could you help, please?

MohShMehr avatar Apr 21 '25 12:04 MohShMehr

I am having the same issue. Have you figured out what's wrong? It would be nice if you can share your solution. Thanks!

If anyone is interested, I solved the issue by upgrading rules_xcodeproj and rules_swift to the latest version. Hi, thanks for your reply would you please give version of reules_xcodeproj and rules_swift that you have used with xcode 16.3 ?

I'm using rules_xcodeproj 2.11.2 and rules_swift 2.8.1

xx-derek avatar Apr 21 '25 16:04 xx-derek

@0xderek @alirezarabiei7239

TelegramCoreFramework

TelegramUIFramework

MtProtoKitFramework

PostboxFramework

SwiftSignalKitFramework

Is your project newly created or an old project? For the old project, do these dynamic libraries not have the path of "swift c" problems?

and the file "rules_xcodeproj" also needs to be updated?

UniqueSilence avatar May 07 '25 02:05 UniqueSilence

Xcode 16.3 is not yet supported.

ali-fareed avatar May 16 '25 13:05 ali-fareed