Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example: Conflict with UIKit Name with Xcode 15/iOS 17 #104

Open
philipbel opened this issue Nov 8, 2023 · 0 comments · May be fixed by #105
Open

Example: Conflict with UIKit Name with Xcode 15/iOS 17 #104

philipbel opened this issue Nov 8, 2023 · 0 comments · May be fixed by #105

Comments

@philipbel
Copy link

philipbel commented Nov 8, 2023

Xcode 15/iOS 17 automatically generates asset symbols.
The UIKit struct in UIKit.swift causes a conflict in GeneratedAssetSymbols.swift (the Xcode generated file) and the Examples project fails to build:

DerivedData/PopoversExample-elyygqgsxdjpvofmfzweokndwyir/Build/Intermediates.noindex/PopoversExample.build/Debug-iphonesimulator/PopoversExample.build/DerivedSources/GeneratedAssetSymbols.swift:105:17: error: 'UIColor' is not a member type of struct 'PopoversExample.UIKit'
extension UIKit.UIColor {
          ~~~~~ ^
Popovers/Examples/PopoversExample/UIKit/UIKit.swift:11:8: note: 'UIKit' declared here
struct UIKit: View {
       ^
DerivedData/PopoversExample-elyygqgsxdjpvofmfzweokndwyir/Build/Intermediates.noindex/PopoversExample.build/Debug-iphonesimulator/PopoversExample.build/DerivedSources/GeneratedAssetSymbols.swift:120:17: error: 'UIImage' is not a member type of struct 'PopoversExample.UIKit'
extension UIKit.UIImage {
          ~~~~~ ^
Popovers/Examples/PopoversExample/UIKit/UIKit.swift:11:8: note: 'UIKit' declared here
struct UIKit: View {
       ^
philipbel added a commit to philipbel/Popovers that referenced this issue Nov 8, 2023
This resolves a conflict with automatic resource name generation in Xcode 15.

Fixes aheze#104
philipbel added a commit to philipbel/Popovers that referenced this issue Nov 8, 2023
This resolves a conflict with automatic resource name generation in Xcode 15.

Fixes aheze#104
philipbel added a commit to philipbel/Popovers that referenced this issue Nov 8, 2023
This resolves a conflict with automatic resource name generation in Xcode 15.

Fixes aheze#104
@philipbel philipbel linked a pull request Nov 8, 2023 that will close this issue
@philipbel philipbel changed the title Example: Conflict with UIKit Name on iOS 17 Example: Conflict with UIKit Name with Xcode 15/iOS 17 Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant