Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

165,589 results found

Post

Replies

Boosts

Views

Activity

EXC_BAD_ACCESS (code=2, address=0x7fff2384c4e1)
I've been developing my MacOS app on OS 10.14~10.15.7 and Xcode 11.3.1. Recently I upgrade my OS version to 11.0.1 but keep Xcode version the same. Run my app I will encounter following exception: EXC_BAD_ACCESS (code=2, address=0x7fff2384c4e1) When I type cmd in lldb: image lookup -va 0x7fff2384c4e1 It shows following information: Summary: AppKit`_OBJC_$_INSTANCE_METHODS_NSSeparatorToolbarItemView + 49 Module: file = /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit, arch = x86_64 Symbol: id = {0x0000f500}, range = [0x00007fff2384c4b0-0x00007fff2384c5c0), mangled=_OBJC_$_INSTANCE_METHODS_NSSeparatorToolbarItemView And I found if I go to Edit Scheme -> Run tab -> info tab -> uncheck Debug executable AP will launch normally. Does someone know how to resolve this issue? Many thanks.
0
0
796
Nov ’20
Two lines of code for Reality Composer to XCode
Hi there all,I've got several apps out there but am just getting started with AR, so I apologize if this seems really basic. In the WWDC19 Video, we are told that we can make XCode display a Reality Composer project with two lines of code. (41 minutes in) I cannot for the life of me get this to work. Has anyone else succesfully modified either the Ship project or the Strike Bowling Sample Code to load their own scene? If so, please share how! I've got scenes ready in Reality Composer but cannot figure out where to load them up in XCode. Thanks,Pete
1
0
699
Jul ’19
Error: xcrun exited with non-zero code: 2
Hello, today, my xcode has been to update. I am working with react-native and when I write yarn start in terminal, this message displays : › Opening on iOS... Error: xcrun exited with non-zero code: 2 An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2): Unable to boot device because we cannot determine the runtime bundle. No such file or directory I search solving. Anybody can help me ? Thank !
0
0
1.2k
Mar ’23
Can swift 2 code be builded in Xcode3 ?
Hi,I have a several questions.1. Is swift 2.0 project could be converted to swift 3.0 easily ?2. Can swift 2.0 project be builded in Xcode 8.0 ?3. Can swift 2.0 project passed app store review ?I heard Swift 3 is a source-breaking release, so this is big issue for me ...Thanks ! 🙂
1
0
276
Sep ’16
Fox 2 sample code compilation error
Tried to compile Fox 2 sample code. I got the following error message with the GameController.Swift: Error: Function produces expected type 'sims_float3' (aka 'float3'); did you mean to call it with {}?//let q = simd_mul( simd_quaternion(GameController.CameraOrientationSensitivity * cameraDirection.x, characterWorldUp!), simd_quaternion(GameController.CameraOrientationSensitivity * cameraDirection.y, transformNode.simdWorldRight) )//self.lastActiveCameraFrontDirection = originalAxisDirection//let referenceFrontDirection = strongSelf.activeCamera == node ? strongSelf.lastActiveCameraFrontDirection : activeCamera.presentation.simdWorldFront// if activeCamera != nil { self.lastActiveCameraFrontDirection = (activeCamera?.presentation.simdWorldFront)! }Error: Function 'originalAxisDirection' was used as a property; add () to call itlet symetricAxisDirection = simd_make_float3(-originalAxisDirection.x, originalAxisDirection.y, -originalAxisDirection.z)
2
0
8.6k
Aug ’17
X-code crashing every 2 minutes
My xcode 16.4 keeps crashing with the error: Anyone know how to fix it? Process: Xcode [20071] Path: /Applications/Xcode.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 16.4 (23792) Build Info: IDEApplication-23792000000000000~2 (16F6) App Item ID: 497799835 App External ID: 874973124 Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 501 Date/Time: 2025-06-06 01:31:03.6599 +1000 OS Version: macOS 15.5 (24F74) Report Version: 12 Anonymous UUID: 3ED1A837-3C2A-D5E1-B6F0-D115812C4E33 Sleep/Wake UUID: 906EABDA-2FDD-40F8-8C53-922340EA0AB1 Time Awake Since Boot: 12000 seconds Time Since Wake: 347 seconds System Integrity Protection: enabled Notes: Extracting libpas PGM metadata failed. Crashed Thread: 12 Dispatch queue: */sec-35-TextField.swift - predictive Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x000000025dcaca80 Exception Codes: 0x0000000000000002, 0x000000025dcaca80 Termination Reason: Namespace SIGNAL,
2
0
224
Jun ’25
Which coding style is more popular among the two?
I prefer the coding style below. (Of course, the code below is not long, but when the number of lines is long) struct ContentView: View { var body: some View { VStack { text hello } } var text: some View { Text(text) .padding() } var hello: some View { Button(hello) { print(hello) } } } But people seem to prefer the style below.(Not only when the number of lines of code is small, but also when it is long) struct ContentView: View { var body: some View { VStack { Text(text) .padding() Button(hello) { print(hello) } } } } Which coding style is more popular among the two?
2
0
787
Aug ’23
"Error Domain=NEAgentErrorDomain Code=2" appears..
I am a novice Swift developer. Referring to the Apple developer documentation and various blogs, I have written example code for DNS Proxy in Network Extension. I inherited NEDNSProxyProvider to create a DNSProxyProvider class in the Extension. Using NEDNSProxyManager and NEDNSSettingsManager, I created a simple app that calls saveToPreferences(...) after loadFromPreferences(...). When saveToPreferences(...) is called, I can confirm that the DNS Proxy item is added to the System Preferences in the Enabled state. However, upon further inspection using console logs, it seems that the init() constructor and startProxy(...) function of DNSProxyProvider are not being called. Additionally, upon checking the console logs: NESMDNSProxySession[Primary Tunnel:MyMyService:{GUID}:(null)] in state NESMVPNSessionStateStarting: plugin NEDNSProxyPlugin(xxxxx.xxxxxx.MyMyService[inactive]) started with PID 0 error Error Domain=NEAgentErrorDomain Code=2 (null) These logs are present. Could they be rel
7
0
1.7k
Jan ’24
EXC_BAD_ACCESS (code=2, address=0x7fff2384c4e1)
I've been developing my MacOS app on OS 10.14~10.15.7 and Xcode 11.3.1. Recently I upgrade my OS version to 11.0.1 but keep Xcode version the same. Run my app I will encounter following exception: EXC_BAD_ACCESS (code=2, address=0x7fff2384c4e1) When I type cmd in lldb: image lookup -va 0x7fff2384c4e1 It shows following information: Summary: AppKit`_OBJC_$_INSTANCE_METHODS_NSSeparatorToolbarItemView + 49 Module: file = /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit, arch = x86_64 Symbol: id = {0x0000f500}, range = [0x00007fff2384c4b0-0x00007fff2384c5c0), mangled=_OBJC_$_INSTANCE_METHODS_NSSeparatorToolbarItemView And I found if I go to Edit Scheme -> Run tab -> info tab -> uncheck Debug executable AP will launch normally. Does someone know how to resolve this issue? Many thanks.
Replies
0
Boosts
0
Views
796
Activity
Nov ’20
Two lines of code for Reality Composer to XCode
Hi there all,I've got several apps out there but am just getting started with AR, so I apologize if this seems really basic. In the WWDC19 Video, we are told that we can make XCode display a Reality Composer project with two lines of code. (41 minutes in) I cannot for the life of me get this to work. Has anyone else succesfully modified either the Ship project or the Strike Bowling Sample Code to load their own scene? If so, please share how! I've got scenes ready in Reality Composer but cannot figure out where to load them up in XCode. Thanks,Pete
Replies
1
Boosts
0
Views
699
Activity
Jul ’19
Error: xcrun exited with non-zero code: 2
Hello, today, my xcode has been to update. I am working with react-native and when I write yarn start in terminal, this message displays : › Opening on iOS... Error: xcrun exited with non-zero code: 2 An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2): Unable to boot device because we cannot determine the runtime bundle. No such file or directory I search solving. Anybody can help me ? Thank !
Replies
0
Boosts
0
Views
1.2k
Activity
Mar ’23
Can swift 2 code be builded in Xcode3 ?
Hi,I have a several questions.1. Is swift 2.0 project could be converted to swift 3.0 easily ?2. Can swift 2.0 project be builded in Xcode 8.0 ?3. Can swift 2.0 project passed app store review ?I heard Swift 3 is a source-breaking release, so this is big issue for me ...Thanks ! 🙂
Replies
1
Boosts
0
Views
276
Activity
Sep ’16
Fox 2 sample code compilation error
Tried to compile Fox 2 sample code. I got the following error message with the GameController.Swift: Error: Function produces expected type 'sims_float3' (aka 'float3'); did you mean to call it with {}?//let q = simd_mul( simd_quaternion(GameController.CameraOrientationSensitivity * cameraDirection.x, characterWorldUp!), simd_quaternion(GameController.CameraOrientationSensitivity * cameraDirection.y, transformNode.simdWorldRight) )//self.lastActiveCameraFrontDirection = originalAxisDirection//let referenceFrontDirection = strongSelf.activeCamera == node ? strongSelf.lastActiveCameraFrontDirection : activeCamera.presentation.simdWorldFront// if activeCamera != nil { self.lastActiveCameraFrontDirection = (activeCamera?.presentation.simdWorldFront)! }Error: Function 'originalAxisDirection' was used as a property; add () to call itlet symetricAxisDirection = simd_make_float3(-originalAxisDirection.x, originalAxisDirection.y, -originalAxisDirection.z)
Replies
2
Boosts
0
Views
8.6k
Activity
Aug ’17
X-code crashing every 2 minutes
My xcode 16.4 keeps crashing with the error: Anyone know how to fix it? Process: Xcode [20071] Path: /Applications/Xcode.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 16.4 (23792) Build Info: IDEApplication-23792000000000000~2 (16F6) App Item ID: 497799835 App External ID: 874973124 Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 501 Date/Time: 2025-06-06 01:31:03.6599 +1000 OS Version: macOS 15.5 (24F74) Report Version: 12 Anonymous UUID: 3ED1A837-3C2A-D5E1-B6F0-D115812C4E33 Sleep/Wake UUID: 906EABDA-2FDD-40F8-8C53-922340EA0AB1 Time Awake Since Boot: 12000 seconds Time Since Wake: 347 seconds System Integrity Protection: enabled Notes: Extracting libpas PGM metadata failed. Crashed Thread: 12 Dispatch queue: */sec-35-TextField.swift - predictive Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x000000025dcaca80 Exception Codes: 0x0000000000000002, 0x000000025dcaca80 Termination Reason: Namespace SIGNAL,
Replies
2
Boosts
0
Views
224
Activity
Jun ’25
Which coding style is more popular among the two?
I prefer the coding style below. (Of course, the code below is not long, but when the number of lines is long) struct ContentView: View { var body: some View { VStack { text hello } } var text: some View { Text(text) .padding() } var hello: some View { Button(hello) { print(hello) } } } But people seem to prefer the style below.(Not only when the number of lines of code is small, but also when it is long) struct ContentView: View { var body: some View { VStack { Text(text) .padding() Button(hello) { print(hello) } } } } Which coding style is more popular among the two?
Replies
2
Boosts
0
Views
787
Activity
Aug ’23
"Error Domain=NEAgentErrorDomain Code=2" appears..
I am a novice Swift developer. Referring to the Apple developer documentation and various blogs, I have written example code for DNS Proxy in Network Extension. I inherited NEDNSProxyProvider to create a DNSProxyProvider class in the Extension. Using NEDNSProxyManager and NEDNSSettingsManager, I created a simple app that calls saveToPreferences(...) after loadFromPreferences(...). When saveToPreferences(...) is called, I can confirm that the DNS Proxy item is added to the System Preferences in the Enabled state. However, upon further inspection using console logs, it seems that the init() constructor and startProxy(...) function of DNSProxyProvider are not being called. Additionally, upon checking the console logs: NESMDNSProxySession[Primary Tunnel:MyMyService:{GUID}:(null)] in state NESMVPNSessionStateStarting: plugin NEDNSProxyPlugin(xxxxx.xxxxxx.MyMyService[inactive]) started with PID 0 error Error Domain=NEAgentErrorDomain Code=2 (null) These logs are present. Could they be rel
Replies
7
Boosts
0
Views
1.7k
Activity
Jan ’24