Search results for

column

2,070 results found

Post

Replies

Boosts

Views

Activity

Reply to Imitating a grip on an object
Hi @Adamc93 Could you try replacing your thumbPos and littlePos calculations with the following code? let thumbPos = simd_make_float3((anchors.originFromAnchorTransform * thumb.anchorFromJointTransform).columns.3) let littlePos = simd_make_float3((anchors.originFromAnchorTransform * little.anchorFromJointTransform).columns.3) The key difference here being that by multiplying by the originFromAnchorTransform matrix the positions you've calculated will then be in world-space (instead of anchor-space), which is the same coordinate space that it appears your wandEntity is in as well. Just to be safe you can also update the code that sets the translation and rotation of your wandEntity to the following to ensure that you are updating the world-space position and orientation of your entity (as opposed to the local-space translation and rotation): wandEntity.setPosition(midPos, relativeTo: nil) wandEntity.setOrientation(rotation, relativeTo: nil) Let me know if you have any other questions! P.S. Co
Topic: Spatial Computing SubTopic: General Tags:
Jul ’25
A Summary of the WWDC25 Group Lab - Design
At WWDC25 we launched a new type of Lab event for the developer community - Group Labs. A Group Lab is a panel Q&A designed for a large audience of developers. Group Labs are a unique opportunity for the community to submit questions directly to a panel of Apple engineers and designers. Here are the highlights from the WWDC25 Group Lab for Design. Can you expand on how Liquid Glass helps with navigation and focus in the UI? Liquid Glass clarifies the navigation layer by introducing a single, floating pane that acts as the primary navigation area. Buttons within this pane seamlessly morph as you move between sections, and controls can temporarily lift into the glass surface. While avoiding excessive use of glass (like layering glass on glass), this approach simplifies navigation and strengthens the connection between menus, alerts, and the elements that trigger them. What should I do with customized bars that I might have in my app? Reconsider the content and behavior of customized bars. Evaluate whether y
Topic: Design SubTopic: General
0
0
1.5k
Jun ’25
AppConnect on Xcode Cloud workflow creation that repo can't be found or does not have admin rights, but neither are true
I'm setting up a first workflow in Xcode Cloud and when I go through the flow and reach the 'Grant Access to your source code' pane, my projects repo is listed as primary and has a green checkmark next to it, but one of my SPM dependencies does not. When I press the 'Grant Access' it launches AppStoreConnect which complains the repo can't be found or I don't have the correct admin permissions. I'm using BitBucket Cloud and both repos are mine and I am the admin for both. Xcode itself will build the dependency locally correctly. I did see that the dependent SPM package needs a Package.resolved checked in, which I've now done, but I can still no longer get past the Grant Access step. When I try to add myself as admin to the dependent repo, BitBucket says I can't be added because I'm already an admin. This is the same for the projects primary repo as well. But Xcode still thinks I only have read access. How do I get passed this? Xcode isn't even telling me what repo is troublesome: { category : xcode-cloud-data,
2
0
138
Jun ’25
Failing to create leaderboard via the API
I'm getting the following error when attempting to create a leaderboard via the documented POST url. Here is the full error response: { errors : [ { id : xxxxxx, status : 400, code : ENTITY_INVALID, title : The request entity is not valid json, detail : The request entity data could not be processed. Please ensure you are sending valid json., meta : { position : { row : 1, column : 1 } } } ] } Except what I'm sending IS valid JSON, emitted directly from JsonUtility and verified via JSONLint: {data:{type:gameCenterLeaderboards,attributes:{defaultFormatter:INTEGER,referenceName:TEST_AUTO,vendorIdentifier:TEST_AUTO,submissionType:MOST_RECENT_SCORE,sortScoreType:DESC,scoreRangeStart:0,scoreRangeEnd:20000,recurrenceStartDate:2025-06-25T13:00:00Z,recurrenceDuration:PT30M,recurrenceRule:FREQ=HOURLY;INTERVAL=1},relationships:{gameCenterDetail:{data:{type:gameCenterDetails,id:xxxxxx}}}}} This follows EXACTLY the pattern in the App Store Connect documentation. I've even tried sending the example JSON they give
0
0
72
Jun ’25
Reply to ARKit camera transform orientation vector doesn't match physical device heading (despite `.gravityAndHeading`)
Hello @himanshujnaidu, I can't tell for sure but it sounds like the matrix you show above is different than how you are interpreting it. Camera Transform = simd_float4x4( [ [0.98446155, -0.030119859, 0.172998, 0.0], // column 0 [0.023979114, 0.9990097, 0.037477385, 0.0], // column 1 [-0.17395553, -0.032746706, 0.98420894, 0.0], // column 2 [0.024039675, -0.037087332, -0.22780673, 0.99999994] // column 3 ]) First up, keep in mind that float4x4's init method is column major. So each 'row' in that code is a column in the matrix. So in this case the position of the camera relative to the origin is 0.024039675, -0.037087332, -0.22780673 Second, the upper-left part of the float4x4 matrix is a float3x3 and represents the orientation. The eulerAngles property on the frame.camera re-interprets this 3x3 matrix as the familiar Euler angles. You can find the orientation of the camera relative to the frame via let rotation = frame.camera.eulerAngles rotation.y will be
Topic: Spatial Computing SubTopic: ARKit Tags:
Jun ’25
Reply to Application is not able to access any keychain info on application launch post device reboot
[quote='844785022, neha24, /thread/788736?answerId=844785022#844785022, /profile/neha24'] Does SecItemDelete should also fail … in case of Device in locked state … right? [/quote] No. The keychain database as a whole is available at all times. Keychain item protection is implemented by encrypting specific attributes of the keychain item. When you read the item, the system goes to decrypt those attributes. If the required key material isn’t available, then the read operation fails. However, the system doesn’t need that key material in order to delete the item, and thus it’s possible to delete an item that you can’t currently access. This makes more sense if you have a little understanding of how the keychain actually works internally. Have a read of SecItem: Fundamentals, and specifically its The Four Freedoms^H^H^H^H^H^H^H^H Functions section. In that model, the content column of a row is encrypted (based on the kSecAttrAccessible column) but that doesn’t stop you from deleting the entire ro
Topic: Privacy & Security SubTopic: General Tags:
Jun ’25
Icon Composer warning "Failed to parse icontool JSON output."
When the Icon Composer file is imported into the project folder, and after building, there is a warning that says: Failed to parse icontool JSON output. Parts of the warnings show this: Entity: line 1: parser error : Start tag expected, '<' not found 211PNG ^ Entity: line 1: parser error : Start tag expected, '<' not found 211PNG ^ Entity: line 1: parser error : Start tag expected, '<' not found 211PNG ^ /* com.apple.actool.notices */ warning: Failed to parse icontool JSON output. Underlying Errors: Description: The data couldn’t be read because it isn’t in the correct format. Failure Reason: The data is not in the correct format. Debug Description: Garbage at end around line 6, column 0. /* com.apple.actool.compilation-results */ I have created the icon with png files in each layer group in icon composer. However the project is able to compile, and running shows the correct icon. What is the issue with this?
4
0
233
Jun ’25
Reply to Cannot add Wi-Fi Aware entitlement due to automatic signing failure
Hmmmm, this is working for me. Here’s what I did: Using Xcode 26.0 beta on macOS 15.5, I created a new project from the iOS > App template. In Signing & Capabilities, I added Wi-Fi Aware. And enabled the Publish option. I selected Any iOS Device as my run destination. And then built the app. This is what I see: % codesign -d --entitlements - Test788807.app Executable=/Users/quinn/Library/Developer/Xcode/DerivedData/Test788807-dcmkbvkgvfliviecoruqexidkqbe/Build/Products/Debug-iphoneos/Test788807.app/Test788807 [Dict] [Key] application-identifier [Value] [String] SKMME9E2Y8.com.example.apple-samplecode.Test788807 [Key] com.apple.developer.team-identifier [Value] [String] SKMME9E2Y8 [Key] com.apple.developer.wifi-aware [Value] [Array] [String] Publish [Key] get-task-allow [Value] [Bool] true % security cms -D -i Test788807.app/embedded.mobileprovision | plutil -p - { … Entitlements => { application-identifier => SKMME9E2Y8.com.example.apple-samplecode.Test788807 com.apple.developer.team-identifier =
Jun ’25
Reply to NSLocationRequireExplicitServiceSession
In Xcode select the project in the sidebar, select the target in the first column, select Info in the top tab bar. Under custom iOS Target Properties hover over the table and click plus to add a new row. Enter NSLocationRequireExplicitServiceSession for the key, choose Bool for the type, and choose YES for the value. This is shown the below screenshot:
Jun ’25
Reply to lldbinit file in Xcode
I'd like to answer the second question first. The lldb config file can be selected by editing the Run scheme action. Specifically, use the menu bar, go to Product -> Scheme. Make sure the desired scheme is selected, and click on Edit Scheme.... In the pop up window, select the Run action from the column on the left. Then click on the Info tab. The lldbinit file can be specified through the field in the middle. Going back to the first question. Since we can explicitly specify a path to the lldbinit file, we can place it anywhere in the project. Is this sufficient to get you going? Please let us know and I will follow up. Thanks!
Jun ’25