Questions tagged [xcode-build-phase]
7 questions
22
votes
2 answers
How does Xcode find implicit target dependencies?
Xcode finds dependencies automatically sometimes. I think is is ok when I am the one who is defining the relationships and when I get lazy ...
But more than often I find myself facing an existent (medium to large size) project with several targets.…

nacho4d
- 43,720
- 45
- 157
- 240
2
votes
0 answers
Xcode inhibits build phase output when run from command line
I have a custom Run Script phase in my Xcode project that outputs some information:
When I build the app via Xcode, I see the output of the script (Planning build, Building for debugging etc.):
However, when I build the project via xcodebuild…

Sergiu Todirascu
- 1,367
- 15
- 23
2
votes
1 answer
How does the target know which headers it should include?
I do not understand how Xcode knows which headers should be included into which target? For example if I add a new File to my Xcode Project it adds the .m File to the compile sources of the selected targets but what about the .h files? How does my…

Sebastian Boldt
- 5,283
- 9
- 52
- 64
1
vote
0 answers
How can I add dynamic referances in compile resources?
I have a Python script that generates various ".swift" files. I also have "Build-Phases" such that resources.py generates different ".swift" files in the same folder
Build Phase look like this:
I've created a .xcfilelist file, and when the script…

yusuf demirkoparan
- 39
- 3
0
votes
0 answers
Add dynamic library to a target framework as part of the build process in XCode
I've got a workspace project with an app target and a framework target.
Inside of the framework target, I've got a dynamic library and its headers. The dynamic library is embed and sign. Everything works fine.
Now, we want to make the process of…

xarly
- 2,054
- 4
- 24
- 40
0
votes
0 answers
Command Ld failed with a nonzero exit code Run script build phase 'Run Script' will be run during every build because it does not specify any outputs
xcode 14
i clean and build the project but didnt solve the error
Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script…

Nithin Khan SS
- 21
- 3
0
votes
0 answers
How can I solve the error in Buildphares Xcode in Flutter?
I'm trying to implement my home widget in flutter with this plugin:
home_widget
As it is written in the iOS Added Guide in my XCode app this Build Phases:
generatedPath="$SRCROOT/Flutter/Generated.xcconfig"
versionNumber=$(grep FLUTTER_BUILD_NAME…

Jonathan
- 106
- 1
- 8