I am at a loss. I have looked at examples, and I have used chat/cursor. I cannot figure out how to target the transform/position of a Reality Composer Pro project when adding it to an ARView in iOS.
I have a test red sphere working perfectly for raycast positioning. When I pass the same variables (tested with print out) to the Entity or Anchor position/transform nothing changes.
It seems that, no matter what, the content of the Reality Composer Pro project is placed where the camera view initialized.
How do I actually interact with its position? I just want to be able to tap the screen and place the RCP wherever I want.
Dive into the vast array of tools, services, and support available to developers.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
XCode 13 is super slow, build time is 10~20 times longer than Xcode 12。The worst release ever.
Hi, I'm developing an app and after I change the app icon it's appear this error. Why?
Previously I noticed, and it still does, that in the app settings it does not keep the LauncScreen.storyboard. In the drop-down menu it appears but as soon as I change screen it loses it.
I don't know what to do....
Thanks!
Hello all,
I am building a simple Flutter app, and I want to support entering the app through an email.
I have used flutter deep links on android and all works well, but for some reason on IOS it doesnt.
What I have achieved:
When clicking the link I do get navigated into the app, but I get navigated to whatever the last screen was, regardless of the path in the URL. Furthermore, the logical code inside the app doesnt seem to run either - no logs are printed etc.
I have even tried following the flutter tutorial at https://docs.flutter.dev/cookbook/navigation/set-up-universal-links
to the letter, and it doesnt work
I am using:
Flutter 3.22.3
Go Router 14.2.7
Thanks in advance
Topic:
Developer Tools & Services
SubTopic:
General
After upgrading to the latest Sequoia on Intel, I am getting warnings like:
2025-02-07 19:01:13.576 Emacs-x86_64-10_14[3780:303891] +[IMKClient subclass]: chose IMKClient_Modern
2025-02-07 19:01:13.576 Emacs-x86_64-10_14[3780:303891] +[IMKInputSession subclass]: chose IMKInputSession_Modern
on my own programs as well as others like Emacs. Is there a way to silence these warnings? They seem to be a bug in this macOS release.
Topic:
Developer Tools & Services
SubTopic:
General
Environment: Xcode v. 16.2; Swift version 6+
Scenario: I have an .xcodeproj within an .xcsworkingspace that must follow the 'command-line' paradigm outside the sandbox.
My UnitTest (using the newer 'Swift Test' vs 'XCTest') is hitting runtime fatal errors due to sandbox violations.
Here's a typical error line from the compiler:
1 duplicate report for Sandbox: chmod(41377) deny(1) file-read-data /Users/Ric/Library/..
I've set the .entitlement to ignore sandbox:
<key>com.apple.security.app-sandbox</key>
<false/>
I also created a shell script in the project build phase to access my TestData which was copied via a Build Phase:
#!/bin/bash
BUILD_DIR="${BUILT_PRODUCTS_DIR}"
TEST_DATA="${SRCROOT}/SwiftModelTest/TestData"
mkdir -p "${BUILD_DIR}/TestData"
cp -R "${TEST_DATA}/" "${BUILD_DIR}/TestData/"
What do I need to allow real-time Testing of my code without worrying about the Sandbox?
Hi, I have been trying to pay for apple developer organisation account using my credit card. However, apple keeps rejecting my card. I have wasted few weeks trying to get this done. Any suggestion?
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
The target was chosen as IPhone and IPad. I can also run this build on my IPad. The info.plist content of all our other applications is the same and there were no problems until today. I don't understand why it is being rejected now.
I‘ve been linking my userids in the backend using the server notifications when users subscribe successfully using appAccountToken.
Now i’m introducing an offer code redemption in my app using presentOfferCodeRedeemSheet. But i dont see a way to pass my user id for the app token
any solution or workaround? Thanks
Hi Folks...
I’m 81 and trying to learn Swift. I taught programming 40 years ago but haven’t coded for over 20 years. As you can see in the subject line, I’m running Sequoia 15.3 on a MacBook Air and learning and running code samples from “IOS 18 Programming for Beginners” by Ahmad Sahar.
When I run the code samples, the variable settings show up in the Debug area but none of the output even though Sahar’s book states that it should.
I’m wondering if I’m doing some stupid newbie thing or if it might be a bug?
Anyone seen this one?
Topic:
Developer Tools & Services
SubTopic:
Xcode
Our organization has an active Apple Developer membership, but since last month, we’ve been unable to access our team information or manage certificates. Our apps are still active in App Store Connect, but we cannot update them.
On the Developer account page, a “Join Now” button appears, but clicking it results in the message:
“Your Apple Account is already associated with the account holder of a membership.”
Additionally, this account was originally registered with an older email when it was used to create a personal developer account in 2015—nearly 10 years ago. We do not know if this is causing the issue.
We have contacted Apple many times but no reply within one month.
Any guidance or assistance would be greatly appreciated. Thanks!
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
Hello all,
I am trying to build a Flutter app that supports a link the opens the app.
I would like the link to be sent by email, and when clicked I would like to app to open. On android all works fine, but on IOS it doesnt.
I currently have:
A link that does open the app but doesnt navigate to the correct screnn - it just shows the last screen that app was on.
I have tried following the tutorial on https://docs.flutter.dev/cookbook/navigation/set-up-universal-links to the letter but still doesnt work
I am using:
Flutter 3.22.3
Go Router 14.2.7
Thanks in advance
I have two apps that I have been supporting for some time now. When Xcode 15.3 came out the app started crashing. No code changes whatsoever. I could not figure out why it would crash in 15.3. I just downloaded Xcode 15.2 and kept using 15.2. I have stayed recent with other apps, but I have just used 15.2 for this app.
I just upgraded my OS to sequoia which also upgrades my Xcode to 16.2. To my surprise 15.2 is not supported on sequoia, so I only have 2 choices.
setup a VM with an older OS and Xcode 15.2 or
figure out why the app crashes on anything beyond 15.2
Like I said no problem running on Xcode 15.2
What gets shown in the error starts off with this:
Unable to Install “Gatlinburg Pocket Guide”
Domain: IXUserPresentableErrorDomain
Code: 1
Failure Reason: Please try again later.
Recovery Suggestion: Failed to load Info.plist from bundle at path ....
Hoping someone has some suggestions for me or has seen this happen before.
Thanks.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Recently we tried to update the plist.info file in one of our apps to specify an LSMinimumSystemVersion of 16.0 but when uploading this to App Store Connect using the Transporter app we received an error that this setting cannot be any higher than 15.2. Is there any way around this? Will this be changing soon?
Topic:
Developer Tools & Services
SubTopic:
General
I recently upgraded to macOS 14.7.2, triggering an upgrade to Xcode 16.2 and its command line tools. My open source project builds and runs fine in Xcode. But when I tested the CMake build, it failed looking for standard c++ headers.
I asked on stackoverflow but no solutions so far.
Any thoughts here?
I am able to setup and schedule a background refresh task as well as manually trigger it via Xcode and the simulator tied to my iPhone 11 Pro test phone using the e -l objc -- (void)[[BGTaskScheduler sharedScheduler] _simulateLaunchForTaskWithIdentifier: However, it won't execute on the app on it's own. And yes, the pinfo.list entries are correct and match!
I know the scheduler is not exact on timing but it's just not executing on its own. Since I can trigger manually it I'm pretty sure the code is good but I must be missing something.
I created an observable object for this code and the relevant parts look like this:
class BackgroundTaskHandler: ObservableObject {
static let shared = BackgroundTaskHandler()
var taskState: BackgroundTaskState = .idle
let backgroundAppRefreshTask = "com.opexnetworks.templateapp.shell.V1.appRefreshTask"
func registerBackgroundTask() {
BGTaskScheduler.shared.register(forTaskWithIdentifier: backgroundAppRefreshTask, using: nil) { task in
self.handleAppRefresh(task: task as! BGAppRefreshTask)
}
self.updateTaskState(to: .idle, logMessage: "✅ Background app refresh task '\(backgroundAppRefreshTask)' registered.")
BGTaskScheduler.shared.register(forTaskWithIdentifier: backgroundTaskIdentifier, using: nil) { task in
self.handleProcessingTask(task: task as! BGProcessingTask)
}
self.updateTaskState(to: .idle, logMessage: "✅ Background task identifier '\(backgroundTaskIdentifier)' registered.")
}
// Handle the app refresh task
private func handleAppRefresh(task: BGAppRefreshTask) {
self.updateTaskState(to: .running, logMessage: "🔥 app refresh task is now running.")
PostNotification.sendNotification(title: "Task Running", body: "App refresh task is now running.")
let queue = OperationQueue()
queue.maxConcurrentOperationCount = 1
let operation = BlockOperation {
self.doSomeShortTaskWork()
}
task.expirationHandler = {
self.updateTaskState(to: .expired, logMessage: "💀 App refresh task expired before completion.")
PostNotification.sendNotification(title: "Task Expired", body: "App refresh task expired before completion \(self.formattedDate(Date())).")
operation.cancel()
}
operation.completionBlock = {
if !operation.isCancelled {
self.taskState = .completed
}
task.setTaskCompleted(success: !operation.isCancelled)
let completionDate = Date()
UserDefaults.standard.set(completionDate, forKey: "LastBackgroundTaskCompletionDate")
self.updateTaskState(to: .completed, logMessage: "🏁 App refresh task completed at \(self.formattedDate(completionDate)).")
PostNotification.sendNotification(title: "Task Completed", body: "App refresh task completed at: \(completionDate)")
self.scheduleAppRefresh() // Schedule the next one
}
queue.addOperation(operation)
}
func scheduleAppRefresh() {
// Check for any pending task requests
BGTaskScheduler.shared.getPendingTaskRequests { taskRequests in
let refreshTaskIdentifier = self.backgroundAppRefreshTask
let refreshTaskAlreadyScheduled = taskRequests.contains { $0.identifier == refreshTaskIdentifier }
if refreshTaskAlreadyScheduled {
self.updateTaskState(to: .pending, logMessage: "⚠️ App refresh task '\(refreshTaskIdentifier)' is already pending.")
// Iterate over pending requests to get details
for taskRequest in taskRequests where taskRequest.identifier == refreshTaskIdentifier {
let earliestBeginDate: String
if let date = taskRequest.earliestBeginDate {
earliestBeginDate = self.formattedDate(date)
} else {
earliestBeginDate = "never"
}
self.updateTaskState(to: .pending, logMessage: "⚠️ Pending Task: \(taskRequest.identifier), Earliest Begin Date: \(earliestBeginDate)")
}
// Optionally, show a warning message to the user in your app
PostNotification.sendNotification(title: "Pending Tasks", body: "App refresh task is already pending. Task scheduling cancelled.")
return
} else {
// No pending app refresh task, so schedule a new one
let request = BGAppRefreshTaskRequest(identifier: refreshTaskIdentifier)
request.earliestBeginDate = Date(timeIntervalSinceNow: 15 * 60) // Earliest in 15 minutes
do {
try BGTaskScheduler.shared.submit(request)
self.taskState = .scheduled
self.updateTaskState(to: .scheduled, logMessage: "✅ App refresh task '\(refreshTaskIdentifier)' successfully scheduled for about 15 minutes later.")
PostNotification.sendNotification(title: "Task Scheduled", body: "App refresh task has been scheduled to run in about 15 minutes.")
} catch {
print("Could not schedule app refresh: \(error)")
self.taskState = .failed
self.updateTaskState(to: .failed, logMessage: "❌ Failed to schedule app refresh task.")
}
}
}
}
// Short task work simulation
private func doSomeShortTaskWork() {
print("Doing some short task work...")
// Simulate a short background task (e.g., fetching new data from server)
sleep(5)
print("Short task work completed.")
}
In my AppDelegate I trigger the registerBackground task in the didFinishLaunchingWithOptions here:
BackgroundTaskHandler.shared.registerBackgroundTask()
And I scheduled it here in the launch view under a task when visible:
.task {
BackgroundTaskHandler.shared.scheduleAppRefresh()
}
I've also tried the last in the AppDelegate after registering. either way the task schedules but never executes.
For a number of years we have managed our iOS projects using Sourcetree and command line Git or Visual Code.
I wanted to use the XCode Source control for a more integrated development experience.
However, depite the fact that the Git repo is in the root of the XCode project tree, XCode cannot see that repo in the Source Control panel.
Source Control IS enabled in settings
I tried to add the repo using.
Integrate >> New Git Repository.
but Xcode then says there is an existing repository and does nothing.
How do I add the existing local repo into the Xcode environment or does it now need to be managed only externally because it was not created using Xcode ?
Thanks
Topic:
Developer Tools & Services
SubTopic:
Xcode
I have been trying to subscribe a few times from Japan, being a foreigner and i amunable to get validated despite my residence card. it feels a bit difficult to navigate this walkthrough.
Topic:
Developer Tools & Services
SubTopic:
General
Dear Apple,
I had successfully renew my membership with bellow email
"Your Apple Developer Program membership has been renewed for another
year and your membership details are below. We look forward to the innovative
new apps you'll bring to Apple platforms."
A few days later, I got another email
After several attempts, we're unable to collect payment using the payment method you provided to renew your Apple Developer Program membership. Your access to the Apple Developer Program has been disabled.
At https://developer.apple.com/account, It displays a button with "Enroll today" instead of "Renew membership". Clicking it show below error
"Your Apple Account is already associated with the Account Holder of a membership."
I've tried getting support from https://developer.apple.com/contact/topic/SC1101/subtopic/30007/solution/select, but no reply after a few days.
All my apps are not able to receive notifications and I'm afraid it will be removed from PlayStore soon.
Anyone experienced such issue and anyway to get it resolved quick?
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
Xcode 16.2 crashes when opening .swift or .xib files.
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: Xcode [54754]
Path: /Applications/Xcode-16.2.0.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 16.2 (23507)
Build Info: IDEApplication-23507000000000000~2 (16C5032a)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2025-02-10 07:45:46.2320 +0900
OS Version: macOS 15.3 (24D60)
Report Version: 12
Anonymous UUID: C4102718-BC60-1A08-FB0D-3B7AAB19D6D0
Sleep/Wake UUID: 2FE8B1FA-D2A5-4F55-9DF5-2178F3212F84
Time Awake Since Boot: 120000 seconds
Time Since Wake: 33305 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process: Xcode [54754]
Application Specific Information:
abort() called
Application Specific Signatures:
NSInvalidArgumentException
Application Specific Backtrace 0:
0 CoreFoundation 0x00000001971f6e80 __exceptionPreprocess + 176
1 DVTFoundation 0x000000010643788c DVTFailureHintExceptionPreprocessor + 388
2 libobjc.A.dylib 0x0000000196cdecd8 objc_exception_throw + 88
3 CoreFoundation 0x00000001972ac1d8 -[NSObject(NSObject) __retain_OA] + 0
4 CoreFoundation 0x0000000197163830 ___forwarding___ + 1568
5 CoreFoundation 0x0000000197163150 _CF_forwarding_prep_0 + 96
6 AssetCatalogFoundation 0x000000011c04aa68 -[IBICAbstractCatalogItem(IBICManifestArchivistDelegate) manifestArchivist:applyPropertiesFromChildEntry:toChild:results:] + 1380
7 AssetCatalogFoundation 0x000000011c10b3c8 -[IBICBundleIconSet manifestArchivist:applyPropertiesFromChildEntry:toChild:results:] + 112
8 AssetCatalogFoundation 0x000000011c065e0c -[IBICAppIconSet manifestArchivist:applyPropertiesFromChildEntry:toChild:results:] + 240
9 AssetCatalogFoundation 0x000000011c048704 -[IBICManifestArchivist childFromChildEntry:results:] + 192
10 AssetCatalogFoundation 0x000000011c048890 __73-[IBICManifestArchivist childrenFromContentsJSONChildrenEntries:results:]_block_invoke + 152
11 AssetCatalogFoundation 0x000000011c122668 IBWithObjectBufferResultingInArray + 72
12 AssetCatalogFoundation 0x000000011c0487b4 -[IBICManifestArchivist childrenFromContentsJSONChildrenEntries:results:] + 128
13 AssetCatalogFoundation 0x000000011c0490ec -[IBICManifestArchivist replaceChildrenFromFileSystemSnapshot:results:] + 456
14 AssetCatalogFoundation 0x000000011c0548fc -[IBICSlottedAsset replaceChildrenFromFileSystemSnapshot:results:] + 116
15 AssetCatalogFoundation 0x000000011c04924c -[IBICManifestArchivist replaceChildrenFromFileSystemSnapshot:results:] + 808
16 AssetCatalogFoundation 0x000000011c042e54 -[IBICFolder replaceChildrenFromFileSystemSnapshot:results:] + 116
17 AssetCatalogFoundation 0x000000011c08c8e8 -[IBICAbstractCatalog replaceChildrenWithDiskContent:] + 140
18 AssetCatalogFoundation 0x000000011c0798f0 -[IBICCatalogSynchronizer replaceCatalogWithContentsOfPathWhileItIsKnowThatSyncOperationsAreNotInflightAndAreDisabled:] + 140
19 AssetCatalogFoundation 0x000000011c0796f0 -[IBICCatalogSynchronizer replaceCatalogWithContentsOfPath:] + 104
20 AssetCatalogFoundation 0x000000011c077380 +[IBICCatalogSynchronizer synchronizerTakingOwnershipForCatalog:atPath:] + 92
21 AssetCatalogFoundation 0x000000011c0773e8 +[IBICCatalogSynchronizer synchronizerForCatalogAtPath:] + 68
22 AssetCatalogKit 0x000000011a249b04 __69+[IBICCatalogMediaRepository retainedCatalogSynchronizerForFilePath:]_block_invoke + 52
23 AssetCatalogFoundation 0x000000011c0c2708 -[NSMutableDictionary(IBMutableDictionaryAdditions) ib_objectForKey:creatingIfNecessaryWithBlock:] + 100
24 AssetCatalogKit 0x000000011a249a60 +[IBICCatalogMediaRepository retainedCatalogSynchronizerForFilePath:] + 136
25 AssetCatalogKit 0x000000011a24b660 -[IBICCatalogMediaRepository _addSynchronizerForCatalogAtPath:] + 48
26 AssetCatalogKit 0x000000011a24b12c __104-[IBICCatalogMediaRepository fileReferenceObserverDidReportUpdatedAndAddedResourcesByPath:removedPaths:]_block_invoke + 544
27 AssetCatalogKit 0x000000011a24acd8 -[IBICCatalogMediaRepository notifyObserversAfterPossiblyMutatingWithBlock:] + 88
28 AssetCatalogKit 0x000000011a24aed8 -[IBICCatalogMediaRepository fileReferenceObserverDidReportUpdatedAndAddedResourcesByPath:removedPaths:] + 132
29 IDEKit 0x000000010a4f0e80 __54-[IDEContainerContentsMediaRepository _startObserving]_block_invoke + 596
30 IDEFoundation 0x000000010ea491c8 -[IDEContainerContentProductionCoordinator deliverPendingResults:] + 172
31 DVTFoundation 0x0000000106618994 __48-[DVTDelayedInvocation initWithTarget:selector:]_block_invoke + 24
32 DVTFoundation 0x0000000106619a2c -[DVTDelayedInvocation runBlock:] + 272
33 Foundation 0x00000001984026b4 __NSFirePerformWithOrder + 296
34 CoreFoundation 0x0000000197183be8 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36
35 CoreFoundation 0x0000000197183ad4 __CFRunLoopDoObservers + 552
36 CoreFoundation 0x0000000197183104 __CFRunLoopRun + 788
37 CoreFoundation 0x0000000197182734 CFRunLoopRunSpecific + 588
38 HIToolbox 0x00000001a26f1530 RunCurrentEventLoopInMode + 292
39 HIToolbox 0x00000001a26f7348 ReceiveNextEventCommon + 676
40 HIToolbox 0x00000001a26f7508 _BlockUntilNextEventMatchingListInModeWithFilter + 76
41 AppKit 0x000000019acfa848 _DPSNextEvent + 660
42 AppKit 0x000000019b660c24 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688
43 AppKit 0x000000019aced874 -[NSApplication run] + 480
44 IDEKit 0x000000010a278f14 -[IDEApplication run] + 192
45 AppKit 0x000000019acc4068 NSApplicationMain + 888
46 dyld 0x0000000196d1c274 start + 2840