0

I am trying to build my project using Xcode 15 for iOS 17.

So far I have solved many errors, but I am stuck with this one.

Cannot call value of non-function type 'Bundle'

From my understanding GeneratedAssetSymbols is an auto-generated file created by Xcode to list the resources within your Assets.xcassets catalog.

I can't figured out why this file can't access the initializer Bundle(for: aClass: AnyClass).

Phil Dukhov
  • 67,741
  • 15
  • 184
  • 220
Steven
  • 1,088
  • 1
  • 8
  • 16

1 Answers1

0

My problem that we defined a global Bundle in our code.

let Bundle = Foundation.Bundle.main

We only needed to rename it as such.

let MyBundle = Foundation.Bundle.main
Steven
  • 1,088
  • 1
  • 8
  • 16