XcodesOrg / xcodes

The best command-line tool to install and switch between multiple versions of Xcode.
MIT License
3.58k stars 119 forks source link

flutter cli build failing with Lexical or Preprocessor Issue (Xcode): 'UIKit/UIKit.h' file not found clean_flutter/new_flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/FlutterAppDelegate.h:7:8 #360

Closed patmuk closed 2 months ago

patmuk commented 2 months ago

Building in XCode works, but not in the cli. Are maybe some env variables not set?

When downloading Xcode through the App Store it works.

patmuk commented 2 months ago

I solved it ... turned out to be a nix related problem, not xodes.