#Info.plist help
1 messages · Page 1 of 1 (latest)
What exactly is the problem with the info.plist file and what is the file for exactly?
okay so
What's the problem?: The problem is that my Info.plist file is being included twice in the build process. Xcode is using it correctly as the main configuration file for my app to define important settings, but it’s also being mistakenly added to the Copy Bundle Resources section of my Build Phases. This creates a conflict because the file is being processed twice—once as a configuration file and again as if it were a resource like an image or font. This duplication causes the error: Multiple commands produce 'Info.plist', and my build fails because Xcode doesn’t know how to handle the file in two places at once.
Why is this happening in my project?: This issue is happening because when I assign the Info.plist file to my app target (by selecting the target in the File Inspector under Target Membership), Xcode automatically adds the file to the Copy Bundle Resources section in my Build Phases. However, the Info.plist file isn’t meant to be included as a resource—it’s only supposed to act as a configuration file. The Info.plist has 2 fonts in it. The actual font files are placed separately in folder called "Fonts".
Okay, thanks!!
Check your project settings for me and go to build phases and examine files and tell me what files are checked.
Try that, too. See if that helps.
Did you get it fixed?
yes, it's fixed now. Thanks!
You are absolutely welcome.
However, now I have a different problem 😂
this one is basic but I can't seem to fix it
Ok, what’s up?
I'm having a lot of trouble positioning items. Some things are taking up so empty much space and are pushing on other items and messing up the layout. How do I make sure that every element on the screen only takes up as much screen as needed? Even if let's say a text is taking up as much space as it needs and no extra, when I add the position values x/y value, the container's size changes massively and it starts pushing on other items.
let me just make a seperate post about this actually