367 questions
-2
votes
1
answer
39
views
SwiftUI Preview Error for "New build system required"
My Environment is:
Xcode 15.0
Swift5
Minimum Deployments: iOS 13
My project is UIKit, but when I use SwiftUI file, I get an error is "New build system required", how to fix it?
I can't find ...
1
vote
0
answers
29
views
The XCUI performance tests ignore the baseline target
I'm using Xcode native performance test tool, Measure().
Described here:
https://developer.apple.com/documentation/xctest/xctestcase/3194266-measure
The issue is after you initially run the test you ...
1
vote
0
answers
154
views
Xcode 15/16 crashes immediately when trying to use XCUITest UI recorder on iOS 17/18 device
I am trying to use the XCUITest UIrecorder for some UI tests where having the button identifier isn't enough. But soon as I hit record in Xcode UI test it (Xcode) crashes immediately, if the app is ...
0
votes
1
answer
117
views
Multiple commands produce error in Xcode 15.3
I have been stuck on this bug for quite a while now so any help would be appreciated. When I try to Archive my Flutter app after Build, I keep getting the following build errors:
Multiple commands ...
8
votes
2
answers
4k
views
"Swift Compiler Error (Xcode): Method does not override any method from its superclass" error after updating Xcode
After updating my macOS version to 15.0 and updating Xcode to Version 16.0, my application can't get compiled and shows me this error:
Swift Compiler Error (Xcode): Method does not override any ...
0
votes
0
answers
35
views
Showing a View after the 'Button' is pressed
I am designing a simple iOS application that performs a few simple calculation then presents the results on a second View.
The views are:
ContentView
ResultsView
In the previous days of Xcode, one ...
0
votes
0
answers
101
views
Do i need ios 17.0 if i have 17.5 simulator runtime?
Hey everyone!
I’ve got a bit of a situation. Due to a slow internet connection, I asked a friend to download the "iOS 17.5 Release Candidate Simulator Runtime" from the Apple Developer ...
0
votes
0
answers
92
views
Is it possible to update String Catalog file dynamically?
I am trying to localise my app using String Catalog, the problem I am facing is all the strings(label/button title) are downloaded from the server. For e.g their is a label which has the text "I ...
0
votes
1
answer
78
views
How do I reference a 'shared' static property from a non-isolated context?
I am working on a map app in Xcode 15.4.
Everything works except when I reference the @MainActor class LocationManager {} in the private var locationManager
I get the following error:
Main actor-...
0
votes
0
answers
15
views
Xcode simulator list empty even after creating new simulator [duplicate]
I was trying to change my iOS deployment target in Xcode however when I check the drop down menu of my devices I only see that iOS version 17.5 is not installed rather than the list of installed iOS ...
0
votes
0
answers
23
views
Cycle inside my app on XCode 15 beta when I add Intents Extension
issues is:
Cycle inside NeathubIntent; building could produce unreliable results.
Cycle details:
→ Target 'NeathubIntent' has copy command from '/Users/neathub/Library/Developer/Xcode/DerivedData/...
1
vote
0
answers
107
views
Xcode 15.4 Error: Showing Recent Errors Only Linker command failed with exit code 1 (use -v to see invocation)
In an react native app when I try to build app in Xcode I get following error:
Showing Recent Errors Only
Linker command failed with exit code 1 (use -v to see invocation)
more detailed log:
...
0
votes
0
answers
31
views
how to implement functionality of iphone camera lens zooming?
enter image description here
how to implement iphone camera lens zooming functionality in swift xcode?
i tried several swift code available in online, but didn't leads to implement like original.
if ...
0
votes
0
answers
70
views
Unable to create framework in Xcode 15 with Objective-C throwing error "Command PhaseScriptExecution failed with a nonzero exit code"
I am trying to create objective C Network framework using Xcode 15 with minimum supported iOS version 14.0.
Here are the steps I am following:
I created New> Project> framework> Objective C&...
-2
votes
1
answer
76
views
How to resolve "ITMS-90129: The bundle uses a bundle name or display name that is already taken" for new builds of the same app
This error is reaction on new build created and uploaded to AppStore with new project but same bundleId/displayName/signingInfo.
Here is the scenario with symbolic values to explain it better:
Build #...
0
votes
1
answer
83
views
Generator Xcode toolset specification field buildsystem=1 is not allowed with Xcode 15.0.1
./make-project.sh
-- cmake version 3.28.2
CMake Deprecation Warning at CMakeLists.txt:10 (cmake_policy):
The OLD behavior for policy CMP0025 will be removed from a future version
of CMake.
...
1
vote
0
answers
133
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 ...
0
votes
0
answers
283
views
(Xcode 15.4) Failure Reason: The request was denied by service delegate (SBMainWorkspace)
I have developed an application using flutter and trying to build IOS application for the same and When I am trying to install the application on my device, application is crashing while launch.
The ...
-1
votes
1
answer
216
views
Getting React Native XCode 15.4 and macOS Sonoma 14.5 build error “Command PhaseScriptExecution failed with a nonzero exit code”
I tried different ways to solve this error using various approaches. In this case, you can’t downgrade your code version because it is not compatible with the latest macOS.
I tried removing ...
0
votes
1
answer
242
views
How do I do the equivalent of SELECT COUNT type of query in SwiftData on related data?
I have a model which is similar to:
import Foundation
import SwiftData
import SwiftUI
@Model
final class AccountTransaction {
var id: UUID = UUID()
var name: String = ""
var ...
0
votes
0
answers
27
views
Flutter compiled error in Xcode 15: Undefined symbols for architecture arm64? [duplicate]
An older Flutter project compiles without issues in Xcode 14, but encounters errors in Xcode 15.
The error is:
❌ Undefined symbols for architecture arm64
Symbol: OBJC_CLASS$_AutoOrientationPlugin
...
0
votes
0
answers
66
views
Swift Package Manager - Warning while trying to access assets
It's the first time I'm creating an SPM Package and I have an error I could not resolve... This is my Package Struct:
And this is my Package.swift:
let package = Package(
name: "MyCustomPackage&...
0
votes
0
answers
94
views
The request signature we calculated does not match the signature you provided. Check your key and signing method in objective-c in iOS , Xcode 15
We are using AWS-IOS-SDK to upload images and text.
error occurred in Xcode 15 but working good in Xcode 14 ,we used the same source code for both versions.
Please check the error message
AWSiOSSDKv2 [...
1
vote
1
answer
160
views
Formatted strings with arguments in Xcode 15 String Catalogs
How can I use a formatted string with arguments in Xcode 15's string catalogs?
For example, if my string is showing a percentage "\() %%" (example rendering: "25 %") and I've given ...
0
votes
0
answers
138
views
React Native iOS Build getting struck in XCode 15.4 in the building state
After I updated the xCode to the latest version and clicked on Archive to build my React Native iOS Application, the process got struck in building state :
AppName > Any iOS Device (arm64) ...
1
vote
0
answers
50
views
SwiftUI: Close popover sheet return me to unexpected destination
I am developing an ios app using swift.I am on xcode 15.3 now
I have a problem with NavigationView
Let's say my app have 2 pages (page A,page B) and a popover sheet C
I wrapped my whole app with ...
0
votes
0
answers
91
views
i an having errors while setting up the AppDelegate.mm while upgrading my project to RN 0.74.0
@import Firebase; :- this is giving the following :--Use of '@import' when C++ modules are disabled, consider using -fmodules and -fcxx-modules
self.moduleName = @"BookerTools"; this is ...
0
votes
0
answers
77
views
DeviceSupport directory XCode 14.2 (iOS 17+)
Could someone please provide the Xcode iOS DeviceSupport files for iOS 17+ (especially 17.5)? I have Xcode 14.2 and can't update to 15+ because I have a MacBook Pro 2015. All the solutions I found ...
1
vote
1
answer
263
views
What is the actual cause behind the error "Assertion failed: alias and its target must be located in the same section" when building an iOS app?
I have a hybrid app created with Ionic that was originally running on Cordova, but we moved it to Capacitor a year ago and everything has been working as expected. Recently, while trying to make ...
0
votes
0
answers
97
views
Xcode 15+ iOS 17+ error: Failed to install the app on the device
Not able to debug Apps from XCode 15+ on iOS 17+ devices.
Tried disconnecting the VPN
Tried updating path name from /Developer to /Developers
Still nothing working on debugging iOS Device not ...
0
votes
3
answers
476
views
Bottom Sheet Above Tab Bar like Find My app
How would you make the .sheet presented above the tab bar wihtout covering it in SwiftUi? I've seen a somewhat solution but not one in SwiftUi.
So far anything I try just places the sheet overlaying ...
0
votes
1
answer
206
views
Command PhaseScriptExecution failed with a nonzero exit code in FBReactNativeSpec on Xcode 15.4
I'm encountering an issue while trying to run/build my React Native project in Xcode 15.4. The error occurs in the FBReactNativeSpec and the build fails with the following message:
Command ...
0
votes
0
answers
34
views
When updating to xcode 15 flutter project shows 'Flutter/Flutter.h' file not found error
When updating to xcode 15, my flutter project which is in version ">=2.17.1 <3.0.0" forced me to use minimum iOS 12, there are some libraries that present this error.
The project ...
1
vote
0
answers
88
views
Crashed: com.apple.network.connection EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000d25b5b890
i have strange crash on OS version: iPadOS 17.1.0 ,i can't reproduce.
Crashed: com.apple.network.connection-208
0 libobjc.A.dylib 0x3150 objc_retain_x23 + 16
1 Network ...
0
votes
0
answers
132
views
Swift Data to CPP std::vector
I am trying to create a CPP library to be used in my Swift application. The CPP code in this library will later be used in a Kotlin based Android app as well.
I am trying to create a function in CPP ...
0
votes
1
answer
123
views
How to get snippets using Xcode Trailing Closure Syntax instead of parameters?
I've seen other posts in reddit and StackOverflow asking for the same, and accepted answers claim that pressing enter gets the job done, but I don't seem to get it working?
Xcode: Version 15.4 (15F31d)...
0
votes
0
answers
102
views
Unable to Debug macOS Action Extension: "Attach failed" Error
I'm encountering an issue while trying to debug a macOS Action Extension. I created a completely fresh project with an Action Extension target. When I select the Action Extension scheme and run it, ...
0
votes
0
answers
64
views
Accessibility setup in Xcode 15
I'm trying to build a macOS Swift app that retrieves UI elements from another app using accessibility. I'm having permission issue despite checking 'AppleEvents' in Hardened Runtime. I also added '...
0
votes
0
answers
177
views
Xcode 15 - Command CodeSign failed with a nonzero exit code
While building app on device I get an error "CodeSign failed with error", but after restart mac I can build maybe twice on device successfully and then I get an error again. I have tried a ...
0
votes
2
answers
363
views
Why do I get "The account does not have permission to access this resource" error when logging in to Bitbucket Cloud from XCode?
When I tried to sign in to my Bitbucket account from XCode, I got an error saying "Your account does not have permission to access this resource".
I used the same app password that I've been ...
-1
votes
1
answer
164
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 ...
0
votes
0
answers
96
views
Xcode 15 RN 0.59 error: UIViewController is missing its initial trait collection populated during initialization
I'm maintaining a legacy app built with React Native. I can build it, and the app opens without issues on both iOS 16 and iOS 17 devices. The problem occurs when I try to log in. On the iOS 16 device, ...
-1
votes
1
answer
101
views
How to move ZStack from bottom when View is presented SwiftUI iOS 17.4?
I'm trying to show ZStack with animation from bottom when View is presented on screen.
Code below doesn't work.
I'm new and I don't know what is wrong with this?
Where the withAnimation should be, and ...
0
votes
0
answers
287
views
Using C++23 std library in Xcode 15 instead of Apple std library
I've started learning C++23 with C++23 From Beginner to Pro by Ivor Horton and Peter Van Weert.
I'm using Xcode 15.2 so I created new Console application for Mac OS and set compiler to -std=c++2b ...
0
votes
0
answers
19
views
AWSappsync query returns Nil after updating it 3+
I just migrated Xcode to 15 this made other pod file to get updated, after updating app sync 3+ I'm getting a nil response
func configureAppSync() {
//AWS AppSync Initialization do {
let ...
-1
votes
1
answer
40
views
Where did Storyboard Segues' "Presentation" field go in XCode 15?
I'm trying to learn Interface Builder with the aid of a book and some online tutorials but everything is a little bit out of date. It's all written in the time of XCode 13 and I'm using XCode 15 now. ...
-1
votes
1
answer
559
views
Implementing App Tracking Transparency for Flutter
My Flutter app was rejected by Apple because of not implementing ATT.
What is your solution for App Tracking Transparency for Flutter apps? I researched on the Internet, I did not encounter an ...
1
vote
3
answers
1k
views
CocoaPods could not find compatible versions for pod "GTMSessionFetcher/Core": - Flutter
I'm trying to
pod install
for my project but it does not work it gives this error:
I updated my Xcode to 15, macOS to 14. There was no problem in previous versions.
Flutter Version: 3.19.
[!] ...
1
vote
2
answers
676
views
Flutter Xcode 15 BIG Problem - 'Flutter/Flutter.h' file not found & SDK does not contain 'libarclite' at the path
Everything started with the message 'You can not upload your app with Current Xcode' while validating and distributing the app from Xcode.
https://developer.apple.com/news/upcoming-requirements/?id=...
2
votes
0
answers
212
views
Scheme is not testable as iOS 17.4 Not Installed but I did install it [duplicate]
I could not run the app build on Xcode. It keeps saying that I need to install iOS 17.4 but even when I installed it, it still doesn't work. Please screenshot below.
I tried reset and clean build and ...