1,432 questions
0
votes
1
answer
78
views
gitlab+XCode: Unable to find a device matching the provided destination specifier
Gitlab runner on M4 Mac Mini 2024, XCode 26.2, supported platforms: iOS, native UIKit swift project. Cocoapods.
Trying to run tests via fastlane:
run_tests(workspace: 'Project.xcworkspace',
...
2
votes
4
answers
186
views
fastlane: cannot install ipa on device
I got my distribution build with fastlane up and running. I use fastlane match to manage the certificates and provisioning profiles and the Ionic plugin to build the app. I have uploaded my first ...
1
vote
1
answer
43
views
Build Ionic app with fastlane: export archive failed
I try to build my Ionic 8 app (Cordova) with fastlane. I created a Fastfile which calls match first and then uses the ionic plugin to build the app.
Fastfile:
platform :ios do
desc "Build ...
0
votes
0
answers
59
views
iOS archive failed in GitLab CI/CD: “SWIFT_OPTIMIZATION_LEVEL=-O expected -Onone (React-jsitracing)”
I’m trying to build and archive my React Native iOS app using GitLab CI/CD, but the build fails during the archive step. Below is the error message I get:
note: Disabling previews because ...
0
votes
1
answer
54
views
how do we do xcodebuild -only-testing for testing framework
Hi I have 2 different test case in my iOS project
import XCTest
@testable import MyApp
final class MyAppXCTests: XCTestCase {
func testXCToggleOne() throws {
XCTAssertTrue(true)
}
}
...
0
votes
1
answer
2k
views
Flutter iOS: “iOS 18.5 is not installed” / “Unable to find a destination matching …” when running on a physical device (Xcode/Android Studio)
I’m trying to run a Flutter app on my physical iPhone from Android Studio/VS Code. The build fails with:
Could not build the precompiled application for the device.
Uncategorized (Xcode): Unable to ...
0
votes
2
answers
109
views
Xcode 16.2: Unsigned IPA uses older SDK version (17.5 instead of 18.2)
I'm facing an issue with Xcode 16.2 when building iOS apps for different clients.
I have a white-label app, and I build:
A signed IPA for some clients
An unsigned IPA for others
For the signed app, ...
0
votes
0
answers
101
views
Downloading SwiftPM binary dependencies behind corporate proxy using xcodebuild
When trying to run the following commands:
XCODE_OPTIONS="-scmProvider system -resolvePackageDependencies -disablePackageRepositoryCache"
xcodebuild clean $XCODE_OPTIONS -workspace $...
1
vote
0
answers
63
views
Caching SPM dependencies breaks validation / checksums (Tart VM, GitLab)
Background
I'm setting up iOS GitLab pipelines to run inside virtual machines using Tart. To improve build times, I want to cache Swift Package Manager (SPM) dependencies between jobs.
Current Setup
...
0
votes
0
answers
43
views
Github Actions/Xcodebuild: Bad Apple Distribution signing certificate used
When I run xcodebuild -workspace App.xcworkspace -scheme Default -configuration AdHocDistribution -archivePath ./build/App.xcarchive -destination "generic/platform=iOS" clean archive with ...
0
votes
1
answer
222
views
What is the correct way to create an iOS ipa on remote machine?
I've been struggling for about a week trying to write a Github action that builds and uploads an iOS ipa to App Store Connect.
I seem to be running into issues when trying create the ipa file itself. ...
1
vote
0
answers
72
views
How to update Swift Package Manager subdependencies from terminal in Xcode project?
I have an Xcode project using Swift Package Manager with several dependencies. Some packages have subdependencies that aren't directly specified in my project settings, but I need to update them to ...
0
votes
1
answer
446
views
Xcode 16 iOS 18 compilation error with flutter integrated after updating xcode 15.4 to xcode 16
Xcode build done. 18.5s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
Writing result bundle at path:
/var/...
1
vote
2
answers
259
views
Xcode custom build rule, file dependencies in order
I have added my own build rule to Xcode, to compile a custom type of file. Let's call it .foo.
I need to be able to specify that file A should be compiled before file B (since B depends on A). I have ...
0
votes
1
answer
68
views
Xcode can't generate archive correctly
In my case, after updating the libraries in Flutter's pubscpec.yaml, I could no longer generate Product > Archive for distribution in Xcode. The archive was generated as other items instead of iOS ...