Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
43 views

xcodebuild: error: Timed out waiting for all destinations matching the provided destination specifier to become available

I am getting this error while running flutter app in iPhone 15 Pro Max Whole error log: Running pod install... Running Xcode build... Xcode build done. ...
Harsh Patel's user avatar
0 votes
1 answer
63 views

Azure pipeline CI: No profiles for 'com.my.app' were found

I am trying to use azure pipeline for CI/CD, but can't build my app. I set automatic code signing in Xcode. Also I uploaded all needed secure files both certificate and provisioning profiles. pool: ...
Roman Markov's user avatar
0 votes
1 answer
19 views

xcodebuild producing iPhoneOS build despite Catalyst destination

I'm developing a multi-platform SDK in Xcode following the instructions from Creating a multiplatform binary framework bundle. I've done this several times in the past the only issue being that I ...
Brian Nickel's user avatar
  • 27.4k
0 votes
1 answer
21 views

Unable to generate doc for test projects using realm/Jazzy

I've been trying to generate documentation for our unit and ui test of a project that has cocoapods. I have created a simple project that is demonstrating my error (pasted below). The link to the ...
Istafein's user avatar
  • 110
0 votes
0 answers
57 views

Enforce Xcode to update String Catalog on command line?

Xcode's String Catalog seems to be a nice solution compared to the old approach. However, in larger projects it can happen that the Localizable.xcstrings file is updated too late, making developers ...
Marc's user avatar
  • 3,040
0 votes
0 answers
30 views

Fastlane build failing with error: Build input file cannot be found

The error messages have the following form: error: Build input file cannot be found: '{path}'. Did you forget to declare this file as an output of a script phase or custom build rule which produces ...
rjdevereux's user avatar
  • 1,860
0 votes
0 answers
94 views

Module 'FirebaseRemoteConfigInterop' not found

Firebase SDK Version: Unity 12.1.0 Xcode Version: 15.4 Installation Method: CocoaPods Firebase Product: Remote Config Targeted Platform: iOS Issue: I got an error: Module 'FirebaseRemoteConfigInterop' ...
An Trịnh's user avatar
0 votes
1 answer
201 views

Sign with xcode build on CI/Github actions with fastlane results in signing error regarding SPM frameworks

I am manually on GitHub action trying to sign my iOS app. I am using fastlane (partially) to help me. I do not want to use match as I intend to reuse the script between customers so I cannot use a ...
Sunkas's user avatar
  • 9,570
3 votes
0 answers
182k views

Github Actions : Provisioning profile "foo" doesn't include the currently selected device "Mac-1719908638417.local"

I've configured an CI/CD environment using Github Actions to build and deploy Apps automatically. But since Github has updated the runner, I get the error Provisioning profile "foo" doesn't ...
clem's user avatar
  • 877
0 votes
1 answer
183 views

How to archive iOS app and export unsigned IPA with Xcode 15.4?

I'm trying to export unsigned IPA of an iOS application using Xcode 15.4. This is a bash script I'm using to do so: xcodebuild clean archive \ -workspace DemoApp.xcworkspace \ -scheme DemoApp \ -...
Darrarski's user avatar
  • 3,992
0 votes
0 answers
14 views

Is there anyway to run xcodebuild and specify the value of isysroot that it'll use?

I'm trying to build an Xcode project using xcodebuild, and I'm using a custom toolchain and SDK to do so. I can use the -toolchain argument to pick the toolchain I want to use, but no matter what else ...
Bri Bri's user avatar
  • 2,229
0 votes
0 answers
61 views

xcodebuild -resolvePackageDependencies stopped working after Mac Os update

My config is as follow MacBook Pro with M3 Pro and Sonoma 14.5 OS XCode 15.2 Build version 15C500b swift-driver version: 1.87.3 Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) ...
Rad's user avatar
  • 3
1 vote
1 answer
95 views

Building a Swift XCFramework compatible with Objective-c

I'm building a Swift Package distributed in the form of an XCFramework. Importing the resulting binary inside a Swift application works just fine, but trying to import it inside of an Objective-c ...
Kireyin's user avatar
  • 162
-1 votes
1 answer
99 views

Where is the file downloaded by the `xcodebuild -downloadPlatform iOS`?

I executed xcodebuild -downloadPlatform iOS for download ios17.2 simulator. The download is complete, but the installation process failed due to lack of space and nearly 7 gigs of hard drive space was ...
or123456's user avatar
  • 2,179
1 vote
1 answer
202 views

Fastlane setup_ci for GitHub

Please note: this issue has been reported many times in other questions, but in each of those cases you will see that the solution was to clear the cached Derived Data. I have already done this, and ...
hotmeatballsoup's user avatar
0 votes
2 answers
175 views

xcodebuild command failing after upgrading to Xcode 15

We have a server with mac and Xcode which generates apps for IOS signing them with release provisioning profile and sign identities. It does by command line It worked perfectly until we upgraded from ...
NullPointerException's user avatar
1 vote
1 answer
80 views

How to set GitHub Actions up to fail if Xcode tests are failing?

I need to build an Xcode project with pods, run tests, and if tests are failing => fail workflow. If tests are passed => upload the report to Codecov. Currently, it doesn't matter if tests are ...
Vitalyz123's user avatar
0 votes
0 answers
238 views

Build and Test iOS app with SPM on GitHub Actions

I have been trying to build and then run unit tests for my iOS app that has some dependencies managed via SPM. It works fine, however, I am trying to speed up the process by caching dependencies, so I ...
JustWork's user avatar
  • 1,964
-1 votes
1 answer
97 views

xcodebuild fails to copy SPM bundles

I'm trying to make a build of my app using xcodebuild. However, it is failing in this environment and I don't understand why… Here's the command I'm running: xcodebuild \ build \ -scheme "My ...
Clément Cardonnel's user avatar
1 vote
0 answers
257 views

Xcode 15.3, use xcodebuild to build app, error: "TARGET" requires a provisioning profile xxxxx

Everything is ok util upgrade to xcode15.3 and macos14.0. When I use xcodebuild to build my app, some error occured: error: "ShopAssistant" requires a provisioning profile with the ...
PengShilei's user avatar
0 votes
0 answers
73 views

XCFramework include additional public headers with xcodebuild

I do have a fairly large obj-c static library I have converted to XCFramework and for the base that works great. Thing is, the old library compiled differently based on xcodebuild defines and created ...
user3740240's user avatar
2 votes
1 answer
235 views

failed compiling with xcodebuild, swift package manager, iOS 17 and swift-confidential

My app compiles, validates and stores correctly from Xcode IDE using the library swift-confidential (a tool for obfuscating Swift literals). But I cannot use Xcode on my osx server so I need to use ...
Alessandro Ornano's user avatar
0 votes
1 answer
714 views

iOS App Certificates, Provisioning Profiles, Targets and Codesigning explained

I am new to iOS app development and am having a difficult time understanding some of the relationships between Certificates, Distributions, Provisioning Profiles, Targets and the entire codesigning ...
hotmeatballsoup's user avatar
8 votes
0 answers
622 views

XCBCore MacroEvaluationProgram.executeInContext crashed

Context We have a very large codebase in our company 600k+ Lines of Code. The setup is a XcodeProj using Swift Package Manager as the only and main package management tool. We have started a long ...
Serj's user avatar
  • 684
0 votes
1 answer
198 views

xcodebuild is stuck indefinitely when few tests are failed

I am using XCTest to run UI tests on iPhone. Whenever few tests are failed, the xcodebuild command is stuck indefinitely without yielding any results. I have to terminate the build manually. I have ...
coldcake71's user avatar
-1 votes
1 answer
998 views

Xcode 15 command line simulator build ignores simulator destination

This command to build for simulator works just fine with Xcode 14: xcodebuild \ -project MyProject.xcodeproj \ -scheme App \ -destination "platform=iOS Simulator,name=iPhone 14" \...
Max's user avatar
  • 22.1k
0 votes
0 answers
41 views

Do any Targets share their dependencies with their dependencies around them?

I have an Xcode project which built by using Tuist. The main app target has following dependencies(Link binary with Libraries): HomeModule, HomeModuleInterface, LoginModule, LoginModuleInterface, ...
Halit's user avatar
  • 1
0 votes
0 answers
67 views

I have error, when I build a Flutter project on the simulator iPhone 14 PRO iOS 17.0

I have: [✓] Flutter (Channel stable, 3.16.9, on macOS 13.5.2 22G91 darwin-arm64, locale ru-AE) [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [✓] Xcode - ...
user avatar
0 votes
0 answers
37 views

Rotate iOS Parallel Device Clones to Landscape Mode via Command Line

I am looking for a way to be able to rotate iOS simulators to landscape mode for device clones (parallel testing) when the tests are launched via command line either using xcodebuild command or ...
reutsey's user avatar
  • 1,933
3 votes
0 answers
146 views

xcodebuild destination with id logs warning with duplicates

I run xcode tests on a simulated device with this script line: xcodebuild test \ -workspace MyWorkspace.xcworkspace \ -scheme My-Scheme \ -destination 'id=12345678-ASDF-ASDF-ASDF-...
Xarbrough's user avatar
  • 1,441
0 votes
0 answers
25 views

xcodebuild: why build dir differs for target and scheme

How to access the result binary of xcode project. I have to track what kind of build is used -target or -scheme!? when run $ xcodebuild -project ~/proj/proj_path.xcodeproj -scheme myscheme build dir ...
user3263772's user avatar
1 vote
0 answers
59 views

Xcode Archive Release Takes Around 2 hours

I am using Xcode 15.2 to archive my iOS app, it takes around 2 hours to complete the archive, during the first 15 minutes Xcode will be using huge CPU usage, then for the rest of the time until the ...
AaoIi's user avatar
  • 8,376
2 votes
0 answers
346 views

Xcode problem with resolving some spm package dependencies fetching stuck

I have very strange problem with resolving packages in Xcode IDE. Some of the dependencies stuck at Resolve Packages phase when fetching. What I've tried and what I've noticed: force close xCode (...
Marcin Kapusta's user avatar
0 votes
0 answers
32 views

XcodeBuild command line is failed

I have sample hello world program in swiftUI, I have added KeychainAccess When I try to run the app using Xcode, it works fine, But if I run using Terminal command Xcodebuild then it shows error like ...
nirav's user avatar
  • 651
0 votes
0 answers
63 views

Programmatically remove all local Swift Packages before archiving

I have modularized much of my code base into Swift Packages, and use local packages as described by Apple to do most of my work. I would like to automatically remove these local packages as step ...
hidden-username's user avatar
0 votes
1 answer
241 views

AWS Device Farm XCTest UI generated .xctestrun file is not valid

Device Farm generates a .xctestrun file and the location is stored at $DEVICEFARM_XCUITESTRUN_FILE. However, my test fails everytime xcodebuild: error: Failed to build workspace temporary with scheme ...
Sunny's user avatar
  • 11
1 vote
0 answers
92 views

How to pin target iOS SDK version when building with xcodebuild

I build an IPA using xcodebuild on CI (actually, I have a Flutter app and build it for iOS with flutter build ipa but it calls xcodebuild under the hood). Every now and than, for example right now, a ...
wujek's user avatar
  • 10.9k
1 vote
1 answer
358 views

xcodebuild command does not generate a Product

I am on mac Sonoma 14.1.1, using xcode v.15.0 I am trying to build a bundle with xcode through a bash script, with a command that looks something like this: sudo xcodebuild build -project $(dirname &...
copter's user avatar
  • 11
1 vote
1 answer
1k views

Xcode Build: Tests must be run on a concrete device

I am trying to build in terminal and git-lab pipeline, using: xcodebuild test -project Project.xcodeproj -scheme Scheme -destination 'platform=iOS Simulator,name=iPhone 14,OS=13.0' | xcpretty -s But ...
Nandhini's user avatar
  • 680
1 vote
0 answers
142 views

iOS SchemeScriptAction "cp: path. is not a directory"

I haven't opened my iOS project in a while, but I'm getting some fishy behavior I can't seem to pin down... the typical cryptic Xcode build garbage. I'm using XCode 15.0.1 (15A507), last time I opened ...
TheJeff's user avatar
  • 3,981
-1 votes
1 answer
120 views

Missing assets in binary framework

I'm fairly new to working with binary frameworks. I'm finding that assets are not being included in the binary framework even after including them in Copy Bundle Resources. I've been looking at the ...
Robert's user avatar
  • 1,150
1 vote
1 answer
210 views

xcodebuild swift package: supress all warnings from dependent Swift packages but not the main target

How to suppress all of the warnings from third-party dependencies but not from the main target? A lot of third-party dependencies installed via SPM pollute the build log with warnings, those are not ...
Richard Topchii's user avatar
0 votes
0 answers
327 views

Tuist default scheme for command-line builds

I am trying to migrate project on to tuist and one place where I stuck at the moment is with Use {scheme} for command-line builds I haven't found where/how to set this value and how tuist select the ...
TiredMagicalCoder's user avatar
2 votes
1 answer
77 views

How to Create a Version-Independent and Scheme-Agnostic Build Script for Swift Package using Xcode and Swift Build?

Consider the following code to verify the compilation of some swift package (for the Swift Package Manager) xcodebuild \ -scheme name-Package \ -sdk iphonesimulator \ -destination 'platform=iOS ...
Richard Topchii's user avatar
0 votes
0 answers
98 views

Building Universal (fat) framework for an SDK/library: can I reuse frameworks built for XCFramework?

Currently I am only building XCFramework for SDK. I was asked to also create a legacy Universal (fat) framework. The XCFramework creation includes 2 stages (taking iOS-only build here just to simplify)...
timbre timbre's user avatar
5 votes
0 answers
482 views

Xcode xccov command throws error "Failed to load coverage archive in scheme action"

I have been using the following command on CI to generate a code coverage report for years: xcrun xccov view --report --json path/to/App.xcresult > ./test_output/reports/xccov.json In the last day ...
jshapy8's user avatar
  • 2,041
0 votes
0 answers
58 views

Can xcodebuild print which assertion/expectation exactly failed of a failing XCTest?

When running Xcode unit tests from command line using xcodebuild, it will only print if a test succeeded or failed, like Test case '<...name...I>' passed on 'My Mac - xctest (75744)' (0.005 ...
Mecki's user avatar
  • 131k
3 votes
2 answers
1k views

Use `-skipMacroValidation` for xcodebuild command when using an external package that includes macros

My GitHub CI was failing with a xcodebuild when I included a swift package that contains some macros. The build with xcodebuild was simply telling me xcodebuild: error: Failed writing xctestrun file: ...
Quambadeur's user avatar
0 votes
0 answers
182 views

xcodebuild archive failed without reason

I'm trying to use xcodebuild (over fastlane) to archive my app, but it says ** ARCHIVE FAILED ** Exit status: 65 without giving any error or reason during Touching MyApp.app. After the error I can see ...
iDevid's user avatar
  • 517
0 votes
0 answers
202 views

How can I use xcodebuild to target an older version of iOS?

I'm using XCode 15 on macOS Ventura. Under Xcode -> Settings -> Platforms, I have installed: iOS 17 iOS 15.5 Simulator But in Terminal, when I do xcodebuild -showsdks, I only see: iOS ...
Patrick Kenny's user avatar

1
2 3 4 5
29