Developer Tools

RSS for tag

Ask questions about the tools you can use to build apps.

Developer Tools Documentation

Posts under Developer Tools tag

319 Posts
Sort by:
Post not yet marked as solved
0 Replies
18 Views
Hi , We used to run this command to get wifi info on mac. /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I but it seems with latest 14.4.1 , airport command has been deprecated and advised to use wdutil. The problem with wdutil is that it only works with sudo. Is there a way we can still get all wifi metrics without sudo an mac?
Posted
by
Post not yet marked as solved
0 Replies
26 Views
We are testing Apple Pay integration with our payments application. We need some information about the test cards to test some negative scenarios like low balance, Address verification (AVS), incorrect CVV, Card declined, etc., We see many cards on the following page, but we are unsure which one to use to test the negative scenarios that I mentioned above. https://developer.apple.com/apple-pay/sandbox-testing/ I am reaching out to see if I can get some help with this.
Posted
by
Post not yet marked as solved
0 Replies
23 Views
We are testing Apple Pay integration, how do I know among the given cards in the following sandbox tester information page are debit cards https://developer.apple.com/apple-pay/sandbox-testing/
Posted
by
Post not yet marked as solved
2 Replies
31 Views
{"duration_ms":"227124", "share_with_app_devs":0,"roots_installed":0,"bug_type ":"142", "os_version": "iPhone OS 17.3.1 (21D61)", "slice_uuid":"D479D5BB-1F9F-3405- BFAA-254435395FF3","is_first_party":0,"incident_id":"DFA88D80-8E48-46E9-8 A18-4BCOC496D6EB", "timestamp":"2024-02-14 14:18:15.00 -0500", "app_name":"backboardd", "name":"backboardd"} Date/Time: 2024-02-14 14:14:26.336 -0500 End time: 2024-02-14 14:18:13.460 -0500 OS Version: iPhone OS 17.3.1 (Build 21D61) Architecture: arm64e Report Version: 44 Incident Identifier: DFA88D80-8E48-46E9-8A18-4BC0C496D6EB Data Source: Microstackshots Shared Cache: B497C9DB-C62E-372D-B727-868EE7931E1 slid base address 0x186c3c000, slide 0x6c3c000 Shared Cache: E6753008-4C83-3F88-899E-202E9BAE2994 slid base address 0x19108000, slide 0x1108000 Command: backboardd Path: /usr/libexec/backboardd Resource Coalition ID: 73 On Behalf Of: 1 sample backboardd [66], 1 sample UNKNOWN [60] Architecture: arm64e Parent: UNKNOWN [1] PID: 66 Event: wakeups Action taken: none 45002 wakeups over the last 227 seconds (198 wakeups per second average), exceeding limit of 150 wakeups per second over 300 seconds Wakeups limit: 45000 Limit duration: 300s Wakeups caused: 45002 Wakeups duration: 227s Duration: 227.125 Duration Sampled: 226.25s Steps: 249 Hardware model: iPhone14,8 Active cpus: 6 HW page size: VM page size: 16384 16384 Advisory levels: Battery -> 2, User -> 3, ThermalPressure -> 0, Combined - > 2 Free disk space: 93.55 GB/119.07 GB, low space threshold 150 MB Vnodes Available: 62.95% (15107/24000, 12000 allocated, 12000 soft limit) Preferred User Language: en-US Country Code: US Keyboards: en_US QWERTY, emoji Emoji OS Cryptex File Extents: 1 Heaviest stack for the target process: 30 ??? (libsystem_pthread.dylib + 6660) [0x1f8b0ba04] 30 ??? (libsystem_pthread.dylib + 6500) [0x1f8b0b964] 29 ??? (libdispatch.dylib + 92280) [0x1969e4878] 29 ??? (libdispatch.dylib + 94212) [0x1969e5004] 17 ??? (libdispatch.dylib + 54952) [0x1969db6a8] 16 ??? (libdispatch.dylib + 50168) [0x1969da3f8] libsystem_pthread.dylib 0x1fb3be000 - 0x1fb3c1fff 10SurfaceAccelerator <007AAAE6-5817-3A37-BDCC-0A650D29174E> /System/Library/ PrivateFrameworks/lOSurfaceAccelerator.framework/lOSurfaceAccelerator 0x1c316000 - 0x1c339fff ANEServices <8710EDDB-6F92-3D92-AB24-0D4C1BCB890D> /System/Library/ PrivateFrameworks/ANEServices.framework/ANEServices 0x229c09000 - 0x229dc3fff H13ISP.mediacapture /System/Library/MediaCapture/ H13ISP.mediacapture 0х233403000 - 0x233776fff NRFV3 <4A85805A- D53A-336D-B4A7-3E6DA86B6AA7> /System/Library/VideoProcessors/ NRFV3.bundle/NRFV3 Powerstats for: appleh13camerad UUID: 5476D86A-AEE4-3CC1-B022-F853712B83C6 Path: /usr/sbin/appleh13camerad Shared Cache: B497C9DB-C62E-372D-B727-868EE7931E1 slid base address 0x186c3c000, slide 0x6c3c000 Resource Coalition ID: 187 Architecture: arm64e Start time: 2024-02-14 14:15:35.700 - 0500 End time: 2024-02-14 14:17:29.572 -0500 Num samples: 29 (12%) Primary state: 25 samples Non-Frontmost App, Non-Suppressed, User mode, Effective Thread QoS Unspecified, Requested Thread QoS Unspecified, Override Thread QoS Unspecified User Activity: O samples Idle, 29 samples Active Power Source: 29 samples on Battery, 0 samples on AC 29 ??? (libsystem_pthread.dylib + 6672) [0x1f8b0ba10] 29 ??? (libsystem_pthread.dylib + 9428) [0x1f8b0c4d4] 28 ??? (appleh13camerad + 199664) [0x104d90bf0] 28 ??? (CoreFoundation + 209244) [0x18ea0515c] 28 ??? (CoreFoundation + 209912) [0x18ea053f8] 24 ??? (CoreFoundation + 212384) [0x18ea05da0] 23 ??? (CoreFoundation + 214888) [0x18ea06768] 23 ??? (CoreFoundation + 220384) [0x18ea07ce0] 23 ??? (CoreFoundation + 220580) [0x18ea07da4] 22 ??? (10Kit + 48792) [0x197438e98] 18 ??? (appleh13camerad + 198828) [0x104d908ac] 17 ??? (appleh13camerad + 152568) [0x104d853f8] 17 ??? (appleh13camerad + 150332) [0x104d84b3c] 17 ??? (appleh13camerad + 89100) [0x104d75c0c] 11 ??? (appleh13camerad + 90160) [0x104d76030] 6 ??? (appleh13camerad + 114140) [0x104d7bddc] 3 ??? (appleh13camerad + 125900) [0x104d7ebcc] 2 ??? (appleh13camerad + 125504) [0x104d7ea40] 5 ??? (appleh13camerad + 126164) [0x104d7ecd4] ??? (appleh13camerad + 113792) [0x104d7bc80] 1 ??? (appleh13camerad + 126192) [0x104d7ecf0] ??? (appleh13camerad + 125900) [0x104d7ebcc] ??? (appleh13camerad + 125520) [0x104d7ea50] ??? (appleh13camerad + 125508) [0x104d7ea44] 3 ??? (appleh13camerad + 125504) [0x104d7ea40] ??? (appleh13camerad + 92848) [0x104d76ab0] 2 ??? (appleh13camerad + 131932) [0x104d8035c] 1 ??? (appleh13camerad + 131960) [0x104d80378] ??? (appleh13camerad + 99236) [0x104d783a4] ??? (appleh13camerad + 92648) [0x104d769e8] 1 ??? (appleh13camerad + 129768) (QuartzCore + 519284) [0x19005cc74] 4 ??? (QuartzCore + 486688) [0x190054d20] 3 ??? (QuartzCore + 487556) [0x190055084] 3 ??? (QuartzCore + 488956) [0x1900555fc] 3 ??? (10MobileFramebuffer + 11728) [0x1bf5d8ddO] 3 ??? (10Kit + 7056) [0x19742eb90] 3 ??? (10Kit + 6508) [0x1974296c] 3 ??? (libsystem_kernel.dylib + 4472) [0x1d6169178] 3 ??? (QuartzCore + 487292) [0x190054f7c] 1 ??? (10MobileFramebuffer + 11728) [0x1bf5d8dd0] 1 ??? (10Kit + 7056) [0x19742eb90] 1 ??? (10Kit + 6508) [0x19742e96c] 1 ??? (libsystem_kernel.dylib + 4472) [0x1d6169178] 1 4 ??? (QuartzCore + 524852) [0x19005e234] 2 ??? (QuartzCore + 603072) [0x1900713c0] 1 ??? (10MobileFramebuffer + 7660) [0x1bf5d7dec] 1 ??? (IOMobileFramebuffer + 7920) [0x1bf5d7ef0] ??? (IOMobileFramebuffer + 7596) [0x1bf5d7dac] 1 ??? (IOKit + 5692) [0x19742e63c] 1 ??? (IOKit + 5880) [0x19742e6f8] 1 ??? (IOKit + 6508) [0x19742e96c] 1 ??? (libsystem_kernel.dylib + 4472) [0x1d6169178] 1 1 ??? (QuartzCore + 600724) [0x190070a94] 1 ??? (QuartzCore + 605164) [0x190071bec] 1 ??? (Metal + 310724) [0x18e606dc4] 1 ??? (libdispatch.dylib + 80616) [0x1969e1ae8] 1 ??? (libdispatch.dylib + 17152) [0x1969d2300] 1 ??? (Metal + 30856) [0x18e5c2888] 1 ??? (Metal + 31384) [0x18e5c2a98] 1 ??? (10GPU + 19312) [0x20515db70] 1 ??? (10GPU + 19704) [0x20515dcf8] 1 ??? (10Kit + 208296) [0x19745fda8] 1 ‹Kernel mode> 1 ??? (QuartzCore + 594540) [0x19006f26c] 1 ??? (IOMobileFramebuffer + 11016) [0x1bf5d8b08] 1 ??? (10Kit + 7056) [0x19742eb90] 1 ??? (10Kit + 6508) [0x19742e96c] ??? (libsystem_kernel.dylib + 4472) [0x1d6169178] 1 1 ??? (QuartzCore + 523680) [0x19005dda0] 1 ??? (QuartzCore + 302748) [0x190027e9c] 1 ??? (QuartzCore + 303720) [0x190028268] 1 ??? (QuartzCore + 807976) [0x1900a3428] 1 ??? (QuartzCore + 26328) [0x18ffe46d8] 1 ??? (QuartzCore + 24376) [0x18ffe3f38] 1 ??? (QuartzCore + 26328) [0x18ffe46d8] ??? (QuartzCore + 26328) [0x18ffe46d8] ??? (QuartzCore + 24376) [0x18ffe3f38] ??? (QuartzCore + 26328) [0x18ffe46d8] 1 ??? (QuartzCore
Posted
by
Post not yet marked as solved
1 Replies
62 Views
We have a huge project. Until today we didn't use an .app but now we must in order to use Endpoint security and other stuff. Until today our binary sat in /opt/XYZ/binary.bin Now because of the .app, looks like it will have to be /opt/XYZ/Cool.app/Content/MacOs/binary.bin This change really breaks our code and will cause a massive code change. If I extract the binary from the app and place it in /opt/XYZ/binary.bin and run it, the process is killed. Is there a way to extract it from the app and run it from /opt/XYZ ? any tool, command, resource, etc' will be great.
Posted
by
Post not yet marked as solved
0 Replies
49 Views
Hello, I'm creating an application with React Native. I am currently building and testing an app for release. Although it can be installed on the device, multiple errors like the one shown in the image will be displayed after startup. If anyone knows of these improvement methods, would you be able to enjoy them? Thank you. ----Execution environment---- MacBook M1 MAX 16inti React Native:”0.73.4” xcode : version 15.3
Posted
by
Post not yet marked as solved
1 Replies
256 Views
Older internet entries say there were free accounts we could use. I'm trying to create my .ipa apple installation file without using a payable developer account. In my case, I wisht to create the file for my own personal use. Is there a way to get a free developer account? I have tried by going to https://developer.apple.com/ and for individuals, payment is required. It's been many days since I sent questions to apple and no reply has been received. What can I do?
Posted
by
Post not yet marked as solved
1 Replies
111 Views
What would be your recommendations for an online course for learning to use XCODE and planning a swift app ? After a law degree I've spent 40 years learning systems engineering. Mostly networking, some programming so I have the basics, but there are some absolute mysteries. My first app was a basic program for the //e a contact database we could save on tape before diks were avai.able. Now I'm stymied with some cryptic messages about not being able to create schema and I simple downloaded the new code and told it to create a new ios app.
Posted
by
Post not yet marked as solved
0 Replies
93 Views
Want to know if is there a way to uniquely identify a device across multiple apps, as my SDK is shared with multiple apps and I want to make sure to avoid duplicate efforts if possible.
Posted
by
Post not yet marked as solved
0 Replies
109 Views
Uploading video files as App Previews get stuck in "The video file has uploaded and is processing". I have had two video files in this state for 24 hours. I have uploaded JPEGS and they upload and process instantly. I have confirmed that video file is the correct resolution, size, etc and plays on my machine. Anyone know how to overcome this? I have created a report here: https://feedbackassistant.apple.com/feedback/13694393
Posted
by
Post not yet marked as solved
0 Replies
166 Views
Everytime we go through the process to supply and verify all our contact details as a trader for the "Digital Services Act Compliance" when we get to the very end and submit all the verified details we get the error "Something went wrong. Please try again". Having tried again multiple times including logging out and loggin in again. I've even inspected the network traffic and Apple's server is returning the response: { "message": [ { "type": "error", "messageKey": "PPM.generic.unableProcessRequest" } ] } How are we to proceed given this is a enfored requirement by Apple and is preventing us supplying new builds?
Posted
by
Post not yet marked as solved
0 Replies
102 Views
Hello, I have a script that I can run with launchd. I want it to be able to do some git operations. If I run my script manually (outside of launchd) things work great. If I run it within launchd, it seems to have issues with the sandboxing. git says: error Unable to read current working directory: Operation not permitted Here are the .plist and the .sh. Does anyone have any ideas what I can do? git seems to have many options about reading its configuration files; I assume that is what is going on here. Thanks! com.bolsinga.gitcmd.plist (substitute paths as appropriate): <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <!-- Copy this file to ~/Library/LaunchAgents cd ~/Library/LaunchAgents open Console.app and monitor syslog output. NOTE: in the following command, the plist extension is required. launchctl bootstrap gui/501 ~/Library/LaunchAgents/com.bolsinga.gitcmd.plist Look for related output in the syslog. Namely the executable this runs cannot be in ~/Documents, as it will get rejected. It works in ~/Applications launchctl list | grep bolsinga to see if it is running obviously, RunAtLoad below means it will run when loaded. launchctl bootout gui/501 ~/Library/LaunchAgents/com.bolsinga.gitcmd.plist to unload before re-loading when editing this file --> <plist version="1.0"> <dict> <key>Label</key> <string>com.bolsinga.gitcmd</string> <key>ProgramArguments</key> <array> <string>/Users/bolsinga/Applications/gitcmd.sh</string> <string>/Users/bolsinga/Documents/code/git/bin_utils/</string> </array> <key>RunAtLoad</key> <true/> <key>StandardErrorPath</key> <string>/tmp/com.bolsinga.gitcmd.err</string> <key>StandardOutPath</key> <string>/tmp/com.bolsinga.gitcmd.out</string> <key>WorkingDirectory</key> <string>/Users/bolsinga/</string> </dict> </plist> gitcmd.sh #/bin/sh # NOTE! This must be copied into ~/Applications. # So must any scripts it accesses! Otherwise it will not run from ~/bin/ DST_DIR="$1" if [ -z "$DST_DIR" ] ; then echo "No destination directory" 1>&2 exit 1 fi tgit() { GIT_TRACE2=true GIT_TRACE_SETUP=true git $* } echo PWD: `pwd` echo DST_DIR: $DST_DIR echo GIT `which git` tgit config --list tgit -C $DST_DIR config --list cd $DST_DIR tgit config --list
Posted
by
Post not yet marked as solved
0 Replies
82 Views
-1 I am trying to write a MacOS app which switch input methods by previously assigned shortcut(command+space in here). Switching input methods preoperly works so that the language icon at the status bar(top right) immediately changes as I put the shortcut. The problem I got in here is that the actual input method does not change. For example, if I run my app when the selected input method is Korean, then although the status bar is showing the selected input method is Japanese after command+space, what I can only type is Korean characters. However, after I change focus to another text app(e.g. from sublime text to xcode), only then the selected input method is reflected well. I am using MacOS Monterey 12.6 and Xcode 13.1. My project contains two source files. The code in the file AppDelegate.swift is as follows: import Cocoa @NSApplicationMain class AppDelegate: NSObject, NSApplicationDelegate { var switcher = Switcher() } And the code in the file Switcher.swift is as follows: import Cocoa import MASShortcut class Switcher{ var lang: Int = 0 var kr: TISInputSource? var jp: TISInputSource? var en: TISInputSource? init(){ let inputSourceNSArray = TISCreateInputSourceList(nil, false).takeRetainedValue() as NSArray let inputSourceList = inputSourceNSArray as! [TISInputSource] for inputSource in inputSourceList { if inputSource.id == "com.apple.inputmethod.Korean.2SetKorean" { self.kr = inputSource } if inputSource.id == "com.apple.inputmethod.Kotoeri.RomajiTyping.Japanese" { self.jp = inputSource } if inputSource.id == "com.apple.keylayout.ABC" { self.en = inputSource } } self.register() } func switchLang(){ self.lang = (self.lang + 1) % 3 switch lang { case 0: TISSelectInputSource(self.kr) case 1: TISSelectInputSource(self.jp) case 2: TISSelectInputSource(self.en) default: print("error") } } func register() { let langShortcut = MASShortcut(keyCode: kVK_Space, modifierFlags: [.command]) MASShortcutMonitor.shared()?.register(langShortcut, withAction: { self.switchLang() }) } } I wrote these codes by referring KAWA, but KAWA does not make this issue. I have analyzed all codes of KAWA several times, I couldn't find out why the same problem does not occur in KAWA. I am quite new to Swift, and I have no idea to approach. Could you help me....? Thank you.
Posted
by
Post not yet marked as solved
1 Replies
77 Views
As a new developer I apologise if this is simple. But I did call Support and they pointed me in this direction. I have an app in development that is not ready to put in the App store. I am yet to purchase a license and have been testing my app on my own devices with the 7 day expiry. I have someone prepared to test my app who is some distance from me. If I purchase a license will the app last longer than 7 days on both my and their device or will it still disappear every seven days. thanks
Posted
by
Post not yet marked as solved
2 Replies
121 Views
The entire error is: "Failed retrieving request UUID for upload. You may have outstanding agreements to sign on App Store Connect." Logging into App Store Connect and the Agreements are all marked "Active". There are no account notifications on either App Store or developer.apple.com to indicate something is out of date. This is in XCode performing: Archive. Then in Archive window "Distribute App", "Developer ID", "Upload" From net searching I tried: restarting XCode, rebooting the machine, and in 'Preferences" removing and then adding in my account. Nothing worked. Any ideas? Montery 12.0.1 XCode 13.1
Posted
by
Post not yet marked as solved
0 Replies
166 Views
Hello, I have uploaded a new version 1.1.5 of my mac apple store desktop app using the MacOS Transporter program. The app was uploaded successfully, except with a warning message: "Cannot be used with TestFlight because the signature for the bundle at “RenderTune.app” is missing an application identifier but has an application identifier in the provisioning profile for the bundle. Bundles with application identifiers in the provisioning profile are expected to have the same identifier signed into the bundle in order to be eligible for TestFlight." (90886) However when I browse my builds, there is no version for 1.1.5 that I can delete. So is there anyway I can upload and publish version 1.1.5 or is it forever lost? I can't just skip versions, I need to be able to increment by one and release version 1.1.5. But transporter won't let me.
Posted
by
Post not yet marked as solved
0 Replies
83 Views
Hi There, In this new version on xCode 15.3 (15E204a) is impossible to find text inside the visual elements such as views or storyboards. Nothing containing spaces. Does anyone knows something about it? I've googled it a lot and couldn't find anything at all. Regards, Pablo
Posted
by