Dive into the vast array of tools and services available to developers.

Post

Replies

Boosts

Views

Activity

Sonoma CPU panic
panic(cpu 1 caller 0xfffffff017a8bf60): x86 CPU CATERR detected Debugger message: panic Memory ID: 0xff OS release type: User OS version: 21P3049 macOS version: 23D60 Kernel version: Darwin Kernel Version 23.3.0: Wed Dec 20 22:31:16 PST 2023; root:xnu-10002.81.5~10/RELEASE_ARM64_T8010 KernelCache UUID: 5055C553638BB2B9A72F9B074650402D Kernel UUID: 98C51133-18A2-37CC-8054-0C2A5A0CC992 Boot session UUID: 10AF6C85-ABD5-4EFC-B894-FCA5526A15B3 iBoot version: iBoot-10151.81.1 secure boot?: YES roots installed: 0 x86 EFI Boot State: 0xd x86 System State: 0x0 x86 Power State: 0x0 x86 Shutdown Cause: 0x5 x86 Previous Power Transitions: 0x10001000100 PCIeUp link state: 0x89473614 macOS kernel slide: 0xa400000 Paniclog version: 14 Kernel slide: 0x0000000011820000 Kernel text base: 0xfffffff018824000 mach_absolute_time: 0x11dabe93a329 Epoch Time: sec usec Boot : 0x65fa28af 0x00067d4f Sleep : 0x660be300 0x0005f658 Wake : 0x660be3c7 0x000e9358 Calendar: 0x660e9064 0x000acc96 Zone info: Zone map: 0xffffffddcf6fc000 - 0xffffffe3cf6fc000 . VM : 0xffffffddcf6fc000 - 0xffffffdeb5d60000 . RO : 0xffffffdeb5d60000 - 0xffffffdf02a2c000 . GEN0 : 0xffffffdf02a2c000 - 0xffffffdfe9090000 . GEN1 : 0xffffffdfe9090000 - 0xffffffe0cf6f4000 . GEN2 : 0xffffffe0cf6f4000 - 0xffffffe1b5d5c000 . GEN3 : 0xffffffe1b5d5c000 - 0xffffffe29c3c4000 . DATA : 0xffffffe29c3c4000 - 0xffffffe3cf6fc000 Metadata: 0xffffffe3d570c000 - 0xffffffe3d6f0c000 Bitmaps : 0xffffffe3d6f0c000 - 0xffffffe3d702c000 Extra : 0 - 0 TPIDRx_ELy = {1: 0xffffffdfe92a24e0 0: 0x0000000000000001 0ro: 0x0000000000000000 } CORE 0: PC=0xfffffff018a4f008, LR=0xfffffff018a4f008, FP=0xffffffeff4337ef0 CORE 1 is the one that panicked. Check the full backtrace for details. Compressor Info: 3% of compressed pages limit (OK) and 1% of segments limit (OK) with 0 swapfiles and OK swap space Panicked task 0xffffffe29c34b8c0: 0 pages, 227 threads: pid 0: kernel_task Panicked thread: 0xffffffdfe92a24e0, backtrace: 0xffffffeff437f6a0, tid: 406893 lr: 0xfffffff018a1ea90 fp: 0xffffffeff437f710 lr: 0xfffffff018b4d6f4 fp: 0xffffffeff437f780 lr: 0xfffffff018b4c728 fp: 0xffffffeff437f8a0 lr: 0xfffffff0189e1630 fp: 0xffffffeff437f8b0 lr: 0xfffffff018a1e4cc fp: 0xffffffeff437fc60 lr: 0xfffffff01909d030 fp: 0xffffffeff437fc80 lr: 0xfffffff017a8bf60 fp: 0xffffffeff437fcb0 lr: 0xfffffff017a72f40 fp: 0xffffffeff437fd10 lr: 0xfffffff017a79908 fp: 0xffffffeff437fd60 lr: 0xfffffff017a73978 fp: 0xffffffeff437fe00 lr: 0xfffffff017a727d0 fp: 0xffffffeff437fe30 lr: 0xfffffff018a74034 fp: 0xffffffeff437ff20 lr: 0xfffffff0189ec6c4 fp: 0x0000000000000000
1
0
393
Apr ’24
Page-in Linking flag
Hi everyone, Our app runs on iOS deployment target 15.0. As per the WWDC 2022 session, page-in linking should be enabled for apps where chained-fixups is enabled. Since chained fixups are enabled from iOS deployment target 13.4+ which is true for our app, will page-in linking be applied to it? Is there some flag which we can use to confirm if it is applied for our app or not? We have tried using dyld_info tool but could not find a command which can provide this information.
1
0
390
Apr ’24
Undefined symbol: __mh_execute_header
I am building a unit test. The target of this unit test is my framework. My framework linked with couple of static libraries. When the test is running in simulator with host app it works fine. But when I try to test without host app I get following error from linker. PS: My test's xcconfig is similar to the host app's, and I can build the host app successfully. Undefined symbols for architecture arm64: "__mh_execute_header", referenced from: So what is __mh_execute_header and what framework/library it is defined in? Thanks for any help!
1
0
391
Apr ’24
Enrollment Program issues
Hi, I am trying to enroll in the Developer Program with my startup email account. However I keep getting the same message over and over: Your enrollment could not be completed. I have enabled 2 factor authentication Tried from the web Tried directly from the Apple Developer App (button shows disabled) Also, Phone Support is currently unavailable. Any help will be greatly appreciated.
0
0
317
Apr ’24
Not able to remove Activation Lock through MDM
I am not able to remove the Activation Lock through MDM. I enabled the activation lock via https://mdmenrollment.apple.com/device/activationlock My device is listed in the ABM portal and i used the provided snippet here to generate the bypass code. I am getting the SUCCESS response of the above API and the activation lock also got enabled. But while removing the above activation lock via https://deviceservices-external.apple.com/deviceservicesworkers/escrowKeyUnlock and using the same escrow key that I used in the above api while activating the lock. I got the following error everytime <?xml version="1.0" encoding="UTF-8"?><ns:escrowKeyDeviceServicesResponse version="1" xmlns:ns="http://www.apple.com/cds/mdmescrowKeyDeviceServices/xml"><error code="1002" message="com.apple.cds.cyclops.mdm.MDMServiceException: Escrow key mismatch"/></ns:escrowKeyDeviceServicesResponse> Though this API of clearing the activation lock works perfectly fine when I enable the user-initiated activation lock, by enabling the Find My in the device. And use the bypass code as escrow_key that we receive from the device via device querry command.
1
0
458
Mar ’24
Mergeable Libraries vs. Static Libraries
After reading An Apple Library Primer and watching Meet mergeable libraries (both really good resources) I'm sold on mergeable libraries. In my company we're working with static libraries as much as possible (both for precompiled dependencies and for our own Xcode projects). I can see that switching to mergeable libraries would (at least) improve iteration time because mergeable libraries would only be merged in release configs by default. You made it sound like it's "the holy grail of libraries". However, before starting the migration process I'd like to know: Is there any drawback to (merged) mergeable libraries when compared to using static libraries? I got the idea that mergeable libraries behave "almost" like static libraries after being linked "statically" with the app. What differences can I expect? Is there any situation where it's better to use static libraries instead of mergeable libraries? Thank you!
1
0
402
Mar ’24
Transitioning Apple Account for macOS Application Signing
Hi team, we have an application for macOS, and previously, all binaries and installers were signed using one Apple account. However, we've transitioned to signing all binaries and installers with a different account. Note: Our application is not available on the App Store; we distribute it at an enterprise level to our customers. My question is: Can we expect app updates to function smoothly, or are there potential issues we should be aware of?
0
0
317
Mar ’24
how to expand a .pkg fiile in a pkg
hello, I want to see the payload of a pkg file, after i expand it using pkgutil --expand-full file.pkg [path], i see it is converted into a directory. however, there are still two .pkg files in this directory. and again i use pkgutil --expand-full, this time it fails, the error is "Could not open product archive: ./Delinea.ConnectionManager.pkg" thanks
0
0
310
Mar ’24
segmentation error caused by libGL.dylib`(glViewport)
OS: Sonoma 14.2.1 (23C71), I am porting a linux code (that uses C++, QT) to mac OS. after compiling the code on mac, I get segmentation error due to libGL.dylib. My question is how to avoid the segmentation error. debug messages when I run it using lldb: 2024-03-21 13:13:17.957964+0530 EdgeMarker[10094:150997] SecTaskCopyDebugDescription: EdgeMarker[10094]/0#-1 LF=0 2024-03-21 13:13:18.962117+0530 EdgeMarker[10094:150997] SecTaskLoadEntitlements failed error=22 cs_flags=20, pid=10094 2024-03-21 13:13:18.962246+0530 EdgeMarker[10094:150997] SecTaskCopyDebugDescription: EdgeMarker[10094]/0#-1 LF=0 Process 10094 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0xa80) frame #0: 0x00007ffa1c1295a4 libGL.dylib`glViewport + 22 libGL.dylib`glViewport: -> 0x7ffa1c1295a4 <+22>: movq 0xa80(%rax), %r9 0x7ffa1c1295ab <+29>: movq (%rax), %rdi 0x7ffa1c1295ae <+32>: popq %rbp 0x7ffa1c1295af <+33>: jmpq *%r9 Target 0: (EdgeMarker) stopped. Backtrace snippet: * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0xa80) * frame #0: 0x00007ffa1c1295a4 libGL.dylib`glViewport + 22 frame #1: 0x000000010000c427 EdgeMarker`MyGLCanvas::initializeGL(this=0x00007f8e4f857710) at MyGLCanvas.cpp:33:2 The error occurs when initializing an opengl window: void MyGLCanvas::initializeGL() { m_width = this->frameGeometry().width(); m_height = this->frameGeometry().height(); m_initialized = true; m_Eye[0] = 0.0f; m_Eye[1] = 0.0f; m_Eye[2] = -2.0f; //Actual code m_PerspectiveAngleDegrees = 45.0f; m_NearPlane = 0.01f; m_FarPlaneOffset = 100.0f; glViewport(0, 0, (GLint)m_width, (GLint)m_height); Before calling MyGLcanvas::initializeGL() there is a call to setFocus() function. SetFocus is a function used in GUI programming to give focus to a specific window or control within a window. My second question : Is setFocus valid is mac OS or is there an equivalent?
0
0
326
Mar ’24
Apple does not provide an account for me even though I have been verified through many steps
I'm encountering this issue, although Apple has called to confirm that they will provide us with an account after contacting our CTO, but they did not provide it, and I have received 2-3 similar emails like this. Has anyone experienced a similar situation or is there any Apple employee here, please help me. It's been over 3 months, but I still haven't been granted an account even though I've provided them with all the necessary payment information, business operation certificates, and DUNS code. Below is email I received from Apple. I really feel very helpless. Thank you! Hello, Thank you for contacting Apple Developer Program Support. My name is Iskandar, and I will assist you further with your inquiry. We were unable to confirm your association with an Apple Developer Program membership or enrollment. Kindly ask the applicant to get in touch with us. Your case number is 102229384940. If you have any questions regarding this matter, feel free to reply to this email, and I will respond as soon as possible. You can also check the availability of phone support using our website:...
0
0
315
Mar ’24
Xcode 14 "Preview" Issue
I am new to Xcode and trying to learn and having issues with errors it seems. I believe the problem is specifically with my code not being able to be displayed on the example iPhone on the right hand side of the screen. Here are the 2 errors I receive below. The codes at the very bottom are red on my screen so I am guessing those are what is most important out of all of this. Thanks and please let me know if I can answer any additional questions regarding this. Ld /Users/tward/Library/Developer/Xcode/DerivedData/Playground-aoepzfpfzcxxqggglpllgxkoywsr/Build/Intermediates.noindex/Previews/Playground/Products/Debug-iphonesimulator/Playground.app/Playground normal (in target 'Playground' from project 'Playground') cd /Users/tward/Desktop/Playground.swiftpm /Users/tward/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target x86_64-apple-ios15.2-simulator -isysroot /Users/tward/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk -L/Users/tward/Library/Developer/Xcode/DerivedData/Playground-aoepzfpfzcxxqggglpllgxkoywsr/Build/Intermediates.noindex/Previews/Playground/Intermediates.noindex/EagerLinkingTBDs/Debug-iphonesimulator -L/Users/tward/Library/Developer/Xcode/DerivedData/Playground-aoepzfpfzcxxqggglpllgxkoywsr/Build/Intermediates.noindex/Previews/Playground/Products/Debug-iphonesimulator -L/Users/tward/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib -F/Users/tward/Library/Developer/Xcode/DerivedData/Playground-aoepzfpfzcxxqggglpllgxkoywsr/Build/Intermediates.noindex/Previews/Playground/Intermediates.noindex/EagerLinkingTBDs/Debug-iphonesimulator -F/Users/tward/Library/Developer/Xcode/DerivedData/Playground-aoepzfpfzcxxqggglpllgxkoywsr/Build/Intermediates.noindex/Previews/Playground/Products/Debug-iphonesimulator -F/Users/tward/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks -iframework /Users/tward/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks -iframework /Users/tward/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/Developer/Library/Frameworks -filelist /Users/tward/Library/Developer/Xcode/DerivedData/Playground-aoepzfpfzcxxqggglpllgxkoywsr/Build/Intermediates.noindex/Previews/Playground/Intermediates.noindex/Playground.build/Debug-iphonesimulator/Playground.build/Objects-normal/x86_64/Playground.LinkFileList -Xlinker -rpath -Xlinker @executable_path/../lib -dead_strip -Xlinker -object_path_lto -Xlinker /Users/tward/Library/Developer/Xcode/DerivedData/Playground-aoepzfpfzcxxqggglpllgxkoywsr/Build/Intermediates.noindex/Previews/Playground/Intermediates.noindex/Playground.build/Debug-iphonesimulator/Playground.build/Objects-normal/x86_64/Playground_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-link-runtime -L/Users/tward/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/tward/Library/Developer/Xcode/DerivedData/Playground-aoepzfpfzcxxqggglpllgxkoywsr/Build/Intermediates.noindex/Previews/Playground/Intermediates.noindex/Playground.build/Debug-iphonesimulator/Playground.build/Objects-normal/x86_64/Playground.swiftmodule -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/tward/Library/Developer/Xcode/DerivedData/Playground-aoepzfpfzcxxqggglpllgxkoywsr/Build/Intermediates.noindex/Previews/Playground/Intermediates.noindex/Playground.build/Debug-iphonesimulator/Playground.build/Playground.app-Simulated.xcent -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __ents_der -Xlinker /Users/tward/Library/Developer/Xcode/DerivedData/Playground-aoepzfpfzcxxqggglpllgxkoywsr/Build/Intermediates.noindex/Previews/Playground/Intermediates.noindex/Playground.build/Debug-iphonesimulator/Playground.build/Playground.app-Simulated.xcent.der -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/tward/Library/Developer/Xcode/DerivedData/Playground-aoepzfpfzcxxqggglpllgxkoywsr/Build/Intermediates.noindex/Previews/Playground/Intermediates.noindex/Playground.build/Debug-iphonesimulator/Playground.build/Objects-normal/x86_64/Playground_dependency_info.dat -o /Users/tward/Library/Developer/Xcode/DerivedData/Playground-aoepzfpfzcxxqggglpllgxkoywsr/Build/Intermediates.noindex/Previews/Playground/Products/Debug-iphonesimulator/Playground.app/Playground ld: entry point (_main) undefined. for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
1
0
306
Mar ’24
C++ code not working
I was trying to run some c++ code on clang (I have command line tools installed) but it just showed this error: Undefined symbols for architecture arm64: then it showed bunch of random gibberish here is my code: #include <iostream> #include <vector> using namespace std; typedef std::string type_t; int main(){ type_t name = "Yashar"; cout << "Hello " << name << '\n'; return 0; }
2
0
401
Mar ’24
ld: warning: ignoring file, found architecture 'arm64', required architecture 'x86_64'
gcc -I/opt/homebrew/opt/postgresql@15/include -I/opt/homebrew/Cellar/openssl@3/3.2.1/include -fPIC -c -o pkg/publisher/pg/clibpq/copy.o pkg/publisher/pg/clibpq/copy.c gcc -shared -L/opt/homebrew/opt/postgresql@15/lib -lpq -o pkg/publisher/pg/clibpq/libcopy.so pkg/publisher/pg/clibpq/copy.o ld: warning: ignoring file '/opt/homebrew/Cellar/postgresql@15/15.6_1/lib/libpq.5.15.dylib': found architecture 'arm64', required architecture 'x86_64' ld: Undefined symbols: _PQclear, referenced from: _copy_table_data in copy.o _copy_table_data in copy.o _copy_table_data in copy.o _start_copy_origin_tx in copy.o _start_copy_origin_tx in copy.o _start_copy_target_tx in copy.o _finish_copy_origin_tx in copy.o ... clang: error: linker command failed with exit code 1 (use -v to see invocation)
2
0
666
Mar ’24
iPhone first? Or iMac first? Feedback Assistant is Broken Again (GRRR!!) and I have to reset my iCloud Pwd - which device should I change it on first? iPhone first? Or iMac first?
iPhone first? Or iMac first? Feedback Assistant is Broken Again (GRRR!!) and I have to reset my iCloud Pwd - which device should I change it on first? iPhone first? Or iMac first? Feedback Assistant is Broken Again (GRRR!!) and I have to reset my iCloud Pwd - which device should I change it on first? This is the question that led me to start this thread: Why is Apple forcing me to change my Appl… - Apple Community Apple is not 'forcing' me to, of course - although I have no choice - I can only recommend to everyone that they AVOID FEEDBACK ASSISTANT LIKE THE PLAGUE until some hack can be found to delete the utterly useless thing: every time I try to sign into it, it forces me to reset my pwd - and then refuses to recognise the freshly minted pwd - and I ABSOLUTELY GUARANTEE I have done this enough times to be certain that it is a Feedback Assistant fault - and a huge one - I'm on Sonoma 14.4 Public Beta. So, having done this utterly unnecessary dance at least fifteen times over the past couple of weeks, and been caught in #AnotherAppleGotcha time and time again (for example, reset pwd on iMac, then sign out of iCloud on iPhone, only to have my exact (copied and pasted) fresh pwd rejected by iPhone), I really would like to know the correct order to do this in - please, please, I'm on my knees here! Perhaps it would be easier to erase the hard disks on all my devices, reload from Time Machine or something - or start with a fresh, ****** Apple ID, and get the Geniuses at the Bar to transfer all my licenses . . . Only joking - but, come on Apple, you can do better than this! And, just by the by, why does the Apple Community website, when asking me to choose which of my (fifteen) Apple devices, offer me first on the list, three MICROSOFT PCs as possible subjects of this problem??? !!!! So - I've reset the pwd on the iMac - all cool after an NVRAM reset and a bit of grunting - but I now have an iPhone which is signed in on the old pwd - and I have updated the OS with an out-of-date pwd - should I sign out and sign in again? (Which, by the way, triggered mayhem last time I tried it) or just wait until some crucial moment like checking in at an airline terminal, only to find I'm locked out of my entire system again? Nobody knows. There's nothing - I've even search the smelliest corners of the DarkWeb - nothing at all . . .
0
0
360
Mar ’24