1,432 questions
0
votes
0
answers
48
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
1k
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
0
answers
80
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 $...
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 ...
1
vote
0
answers
62
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 ...
1
vote
2
answers
246
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 ...
1
vote
0
answers
167
views
fatal error: module 'Foundation' is needed but has not been provided, and implicit use of module files is disabled
When I use XCode 16 for building, I get the following error. The xcodebuild command I used triggered it. What is the problem?
In file included from /var/folders/9b/70l7vl6j3577k0mstkzcv0n80000gp/T/...
1
vote
0
answers
227
views
Running Swift PeripheryApp in CI and hitting xcode build error
I'm trying to use PeripheryApp in my CI and I'm running into an issue where it fails out by using too much diskspace. I've seen this issue when I run it locally when my project has generated fully (i'...
0
votes
0
answers
284
views
xcodebuild and swift package manager, can't resolve package graphs
TLDR: how can I get Resolve Package Graphs to succeed when running Xcode 16 under Fastlane? Is there some option to scan I am missing or some setup/config I need to do prior to running scan?
My ...
1
vote
0
answers
265
views
Cannot Build React Native Project After Updating Mac OS (15.2) and xCode (16.2)
I have been unsuccessful trying to get my project to build all week on xCode.
It was running fine on the previous OS with xCode 15, but now - I am having all sorts of build issues (xCode (16.2). I ...
1
vote
0
answers
52
views
How to correctly sign Mac app with xcodebuild
I'm trying to build my Mac app for TestFlight using xcodebuild but I keep getting errors about the provisioning profile not containing the Mac Developer Installer Certificate. The release ...
0
votes
0
answers
27
views
React Native - iOS. failed to build ios project, "xcodebuild" exited with error code 65. to debug build logs further when run app
I am trying to run my already running android react-native project in mac device.
first time I flow :
cd ios
pod install
cd ..
npx react-native run-android
It gives me the above error, when I recreate ...
0
votes
1
answer
251
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: ...
0
votes
1
answer
34
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 ...
1
vote
0
answers
100
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 ...
4
votes
2
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 ...
1
vote
1
answer
226
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 ...
1
vote
1
answer
797
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 ...
1
vote
1
answer
218
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 ...
1
vote
0
answers
395
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 ...
0
votes
1
answer
2k
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 ...
1
vote
1
answer
560
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 ...
5
votes
0
answers
252
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-...
3
votes
0
answers
2k
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 (...
0
votes
1
answer
442
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 ...