If a crash get's marked as "Resolved" in Xcode organizer:
Will it automatically get reopened if the same issue occurs again in a new/ later app version?
If yes: Where is this documented?
Xcode
RSS for tagBuild, test, and submit your app using Xcode, Apple's integrated development environment.
Post
Replies
Boosts
Views
Activity
I've been trying to add an 'Info.plist' file this afternoon and get a recurring error that I haven't seen before. I see a lot of other people have posted similar errors over the time but I con't seen any solutions posted. I'd appreciate anyone reading this giving it a boost to perhaps have an engineer post a solution so others will not waste as much time on this as I have.
. Info.plist has the proper path, I do not have a 'script phase' or 'custom build rule', and I don't know what "Did you forget to declare this file as an output of a script phase or custom build rule" means. I've had Info.plists before, I'm just not sure why I'm getting this error or how to bypass it.
An app I'm developing uses a text data file to access some words. The app runs fine in all simulators and when directly hard-wired from my Mac to my iPhone. When I download it to App Store Connect and run the app in TestFlight the app runs fine except when it tries to access the data file. The error it gives me is that it can't access the same data that I access when running the app in the simulators.
I'm following the guidance from [wwdc24/10171] using Xcode 16 beta 2 on Sonoma (https://developer.apple.com/wwdc24/10171) and find myself unable to active the _EXPERIMENTAL_SWIFT_EXPLICIT_MODULES = YES setting.
I tried both in the project file and in the XCConfig file and nothing. After cleaning and building with timing summary, I can't find any "Compiling Swift module" nor any "modules report".
I only get multiple statements of "Compiling clang module" and the "GenerateClangModulesReport"
What am I doing wrong?
I want the result of an "If greater" node to return a boolean, but the best I can seem to get is a float of 0.00, or 1.00. I then can't seem to convert these to a boolean so I can use the "AND" node.
Am I holding this wrong?
I'm trying to measure app launch time in an existing Xcode project. I added a simple test that's supposed to display a "no baseline" message and a button to set a baseline, but when I run the test, it just succeeds without showing the pop-up.
It works in a new project, so I suspect there might be a specific setting in my existing project that's causing the issue. The project is about 6 years old.
Does anyone know if there's a particular setting I need to enable for launch tests to display the baseline pop-up in older projects?
I'm running the test from new project in Xcode 14.2.
Existing project in Xcode 15.2 and 14.2 both succeed with no baseline message.
Thank you!
I have an App, and I want to publish an App Clip in addition to that app. Due to size restrictions I cannot share any of my assets or code, so I made a new XCode project (for background, the original project is a build from Unity, so it would be inconvenient to link them into one XCode project).
I have set up an XCode project with an App Clip, then deleted the main App from it, and now I want to distribute the App Clip to XCode.
I could not push to the App Store in the organizer (only 'custom' available under 'method for distribution', then I can only select 'Built Products' or 'Archive', no upload to App Store, see screenshot)
until I found that my App Clip target (the only target in my project) had Build Settings -> Deployment -> Skip Install set to Yes. When I turn that to No, in the Organizer when pushing to App Store Connect, it now tries to create a new App instead of connecting it to the already existing app (see next screenshot, actual bunlde id removed but it matches)
The already existing app has a bundle id io.mycompany.maypp, and the app clip has io.mycompany.myapp.Clip
Is what I am trying even possible, or do the main app and app clip need to be published in the same XCode project? Which settings do I need for this?
I have a Appclip in my App, which should open by scanning QR code or Appclip code(downloaded from Apple itself).
When clicking on universal link of App clip its working just fine and opening the it but when making a QR code of the same link its not working, the Appclip card is popping up where the banner image is also displayed properly but the content shows App Clip is unavailable.(This QR code is working when the app is installed)
I checked in diagnostic tool as well and its showing everything is well configured so now sure why the Appclip couldn’t be launched from the QR code of universal link or QR of Associated domain.
Hello,
Today earlier I changed my macOS user account name and now I'm getting error at Xcode 16 at Preview.
A piece of error report is:
XOJITError: Could not create oop-jit code file directory /Users/victorvaz/Library/Developer/Xcode/UserData/Previews/Simulator Devices/CCCD8E24-3E82-4B02-9D30-0E2B5D09EB4A/data/Containers/Data/Application/D4EA132D-A318-4D58-8618-DFD428FD5F71/tmp/OOPJit/previews: Permission denied
But "victorvaz" is my old macOS user account name, how can I make Xcode identify my new account name?
Kind regards,
Victor de Oliveira
I have a CoreData-based app that's many years old, so it's been a long time since I've actually dealt with CoreData. Over recent years, I've noticed that fetch requests aren't finding the object I know is in there. The entity is called Folder and has a single attribute named url, which is of type Transformable. The transformer is a custom one that converts a url into a dictionary with 2 keys; one is a security scoped bookmark created from the url, and the other is the original url in case the bookmark fails. The dictionary is then converted to NSData using NSKeyedArchiver securely.
The reverseTransformedValue does the opposite; unarchives the data to a dict, attempts to resolve the bookmark back into the url.
The fetch request is set up to fetch all Folder objects where:
Custom Predicate: url == $THE_URL
So is the fetch request comparing the NSData that's stored in the file and comparing that to $THE_URL after running it through the transformer to arrive at an NSData, or is it running each one through the transformer to get the underlying url and comparing those with $THE_URL?
Could there be a better way to compare urls in Core Data, when the app is sandboxed and must use security scoped bookmarks?
If I have a main app with several different Reality Composer pro packages with all their AR/VR assets, how can I enable ODR (on-demand resource tags) on them?
I can't find a way.
Was working on an app and then upgraded my iPad to 17.1.1 and now I get "waiting to reconnect to iPad"
When I connected the mac to the iPad is asked to trust which I do. Then I go into the waiting to reconnect to iPad.
I've also tried "clear trusted computers' but go into the same process of trusting and then waiting.
If I press run I get "waiting to reconnect to iPad
Previous preparation error: An error occurred while communicating with a remote process.. The connection was invalidated."
xcode : 15.0.1 (check for updates on app store but this is the latest)
macOS : Somoma 14.1.1
When I start the Homekit Accessory Simulator for Xcode 16.0 beta 2 I do not see the Robot Vacuum as an option.
A simple C++ program that displays the value __cplusplus shows 199711L. The compile command is...
clang++ -o cpp cpp.cpp
Passing -std=c++14 has the expected effect.
My understanding is that Xcode v15 will default to the C++14 standard so I don't understand what's happening.
My current workflow to have a Swift Package with a Demo is like this:
PackageFolder > DemoFolder
I have a package, with a Demo folder inside. I can open the Demo project and Drag&Drop the local PackageFolder to override the remote dependency with the local one. This allows to edit the package while inside the demo project.
With Xcode 16 this does no longer work because Xcode does not allow to drop an ancestor of the file path where the project is located. Xcode does not tell this while you drop, it just does not allow it. But it tells you thats the reason, when you try to add the local package as a dependency to the project: "The selected package cannot be a direct ancestor of the project.".
(Dropping other local packages still works, see: https://forums.developer.apple.com/forums/thread/756824)
What is the expected way to handle a package with a demo project with Xcode 16?
My App work well in 17.5 but Reviewer use 17.5.1 & not works in 17.5.1. I'm trying to download 17.5.1 but xcode ios latest version is 17.5.
i try to download dmg file but not found 17.5.1
Our project is split up into multiple Pods with CocoaPods and I'm currently trying to convert all of our podspecs to SPM. One of our projects has XCFramework dependencies that I'm trying to include from a local source, but my project files are complaining that the modules couldn't be found when I try to import them. Is there something I'm missing here? My Package.swift file looks something like this:
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "MyPackage",
defaultLocalization: "en_us",
platforms: [
.iOS(.v12),
.watchOS(.v6),
.macOS(.v10_15)
],
products: [
.library(
name: "MyPackage",
targets: [
"MyPackage"
]),
],
dependencies: [
],
targets: [
.target(
name: "MyPackage",
dependencies: [
.byName(name: "LocalXCFramework")
],
path: "Sources/"
),
.binaryTarget(
name: "LocalXCFramework",
path: "Frameworks/LocalXCFramework.xcframework"
)
]
)
In this example, if I try to import the modules from LocalXCFramework, I get an error saying it couldn't be found.
I have upgraded my iphone os to ios18. Now it is not connecting with xcode anymore. It is asking for software update in my mac though but unfortunately software update is getting failed saying that "the software is not available in store right now". What to do now?
Hi,
Every time I run my App in Xcode the below debugging window opens and I need to close it every time as I don't need it, how to disable this behavior in Xcode ? I want to open it manually when needed.
Kindest Regards
I've got a custom run script build phase in my Xcode iOS project, however I want it to run before the items in the Target Dependencies section get built. So I added a Pre-Actions phase to the target's build scheme and pasted the contents there.
However, during a build, there's no way to see if the stuff in the pre action is successful or not.
It's possible to put echo statements into a run script build phase which is useful to print values such as file paths etc. but these don't work when part of a scheme pre action.
Also if I deliberately put garbage into the scheme pre action, then I can see Xcode is still running the pre action, but as its full of garbage it should fail, but Xcode doesn't report any errors anywhere.
So, is there any way to see and confirm if a scheme pre-action was successful or not, or to output logging statements from it to verify values its using are as expected?