Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
0 answers
38 views

I’m using Unity 2022.3 LTS with Xcode 16.3. My PostProcessBuild script adds a Notification Service Extension like this: var extGuid = proj.AddAppExtension( mainGuid, "NotificationService&...
0 votes
1 answer
209 views

I have a custom "Run Script" step in my Xcode projects Build Phases which does the following: #!/bin/zsh set -e # move to the node project directory cd ~/my-node-project # build js ...
4 votes
0 answers
721 views

I'm using xcodegen to create project. I just wanted to create a framework target and app target... Like this... targets: MySecrets: platform: iOS type: framework settings: ...
1 vote
2 answers
923 views

Is there any way to detect if the build was triggered by the SwiftUI Preview from inside Build Phases - Run Script? I'm using swiftlint with --fix --format, the problem is when I have the Preview open ...
0 votes
1 answer
134 views

I'm working with a CocoaPod private library. We have mock files that are being used for our Swift Previews. What's surprising is that these mock files aren't added as a member to the pod's target. ...
3 votes
1 answer
1k views

I am trying to add a new build phase and run a .swift build script to process files. When I try: v Run Script Shell /usr/bin/swift # Type a script or drag a script file from your workspace to insert ...
1 vote
0 answers
44 views

I need to run a Build phase only if an actual build (Cmd+B or Play-button) and not if the SwiftUI Previewer builds the app. I did not find any differences in both types of build.
1 vote
0 answers
83 views

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 ...
9 votes
4 answers
1k views

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.): ...
1 vote
0 answers
58 views

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/...
22 votes
2 answers
20k views

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 (...
3 votes
1 answer
908 views

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 ...

AltStyle によって変換されたページ (->オリジナル) /