Questions tagged [xcodegen]
20 questions
3
votes
1 answer
Error in install firebase analytics in XcodeGen
I'm using XcodeGen and tried to install firebase analytics.
here the framework part on my project file
3Party:
type: framework
platform: iOS
settings:
SWIFT_INCLUDE_PATHS: 3Party
OTHER_LDFLAGS: $(inherited) -framework…

Martin sku
- 101
- 7
2
votes
0 answers
Using XcodeGen with build tool plug-ins
I built a Swift Package that contains a plugin defined as a .buildTool(). I would like to use it in a project where we create the project via XcodeGen. I couldn't find a way to configure the YAML so that the named Swift Package is set under Run…

nico_dkd
- 99
- 1
- 9
2
votes
1 answer
XcodeGen generated single-target (iOS16 Xcode14) watchOS app not working
I found that the newly (iOS16 Xcode 14) introduced single-target watchOS app does not work when I try to implement it with XcodeGen.
I'm getting the following error:
Prepare build
note: Building targets in dependency order
error: Multiple commands…

Martin
- 1,112
- 1
- 11
- 31
2
votes
1 answer
update SwiftPM with XcodeGen
I'm using XcodeGen to automate the project generation and I'm new to XcodeGen. Can anyone help me how to update any SwiftPM dependency (ex: Facebook or SDWebImage) when XcodeGen is integrated?
Currently when I update any SwiftPM dependency and run…

sumeet
- 21
- 1
2
votes
1 answer
Custom configurations with XcodeGen
I'm trying to automate the process of setting up a new app with XcodeGen. How can I achieve custom Project Configurations like in the screenshot with a YML file?
I expected to be able to do it like this, like the docs say:
name: Test1
settings:
…

Joris416
- 4,751
- 5
- 32
- 59
1
vote
1 answer
Default language of the application is not set
I need to set the default Russian language in the application to swift.
I am using Xcodegen to generate .xcodeproj.
There is my project.yml
options:
deploymentTarget: '13.0'
groupSortPosition: top
generateEmptyDirectories: true
…

PavelPud
- 31
- 3
1
vote
0 answers
Failed to download xcodegen from Homebrew on buddybuild
We have our CI job running on buddybuild successfully for years. Today it failed suddenly with some errors like
==> Downloading https://homebrew.bintray.com/xcodegen-2.20.0.catalina.bottle.tar.gz
curl: (22) The requested URL returned error: 404 Not…

Zhengqian Kuang
- 1,079
- 1
- 9
- 12
1
vote
0 answers
XcodeGen integration: iOS APP crash only on testFlight
I have a really strange issue with my App on testFlight,
I have integrated XcodeGen to improve the project and handle efficiency merge conflicts.
Every thing work fine when I test on develop config both on simulator and device. But When I launch…

Walid Sassi
- 31
- 5
1
vote
1 answer
Product type of static library target in Xcodegen?
I've created a file called project.yml, to generate my Swift .xcodeproj with Xcodegen. For example:
name: MyProject
targets:
MyAppTarget:
type: application
sources:
- MyAppTarget
...
MyLibrary
type: static library //…

greekants
- 23
- 4
0
votes
0 answers
XCodegen is not detecting some downloaded Pods
I converted my whole project to XCodegen.
My project has multiple modules and all the libraries are downloaded via Cocoapods.
But, I've got a problem on the SharedFrontend module.
In this module (Sharedfrontend) I import "Tracker" which from…

Reborned BBIAJ
- 29
- 4
0
votes
0 answers
XCodegen .yml file generating wrong
I am converting my project to use XCodegen, firstly I've made my .yml file, on all my modules.
Here's the project when It doesn't had xcodegen, that's the perfect way it should be:
Here's my yml file, that I have made for this CustoJusto, if you…

Reborned BBIAJ
- 29
- 4
0
votes
3 answers
How to add R.swift into XcodeGen project?
I'm experimenting with XcodeGen, and ran into a problem. I can't add "R.Swift" dependency. Not through SPM not through CocoaPods(
In the case of SPM, I don't understand how to add Run Build Tool Plug-in "RswiftGeneratesInternalResources (Swift)"…

Sergey
- 358
- 3
- 12
0
votes
0 answers
Third party tools in Teamcity
I am new to teamcity, I am generating xcode project using xcodegen. After spending time on few articles, I concluded some of the suggestion are to add xcodegen in agent requirements or install xcodegen on build agent and write script in build…

bhavya accounts
- 21
- 3
0
votes
0 answers
correct configuration for static libraries in Xcodegen project file?
I am using the following project.yml:
name: MyApp
targets:
My-App:
type: application
platform: iOS
deploymentTarget: "12.1"
sources:
- My App Source Folder
dependencies:
- framework: NormalFramework.framework
…

Daniel Creagh
- 502
- 4
- 11
0
votes
1 answer
How do you reference testPlans using xcodegen?
I'm not managing to reference the testPlans created manually in the xcworkspace file after running xcodegen.
It always says:
"The flag -testPlan cannot be used since the scheme does not use test plans."
The documentation on GitHub doesn't help…

Bruno Cunha
- 1,680
- 1
- 17
- 15