I followed this thread here but I have already followed all the necessary steps including installing B4i bridge first, this was working before, the only change is that I updated Xcode to version 14.0.1.warning: Building targets in manual order is deprecated - check "Parallelize build for command-line builds" in the project editor, or set DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING in any of the targets in the current build to suppress this warning
/Users/walter.flores/Desktop/B4iBuildServer/UploadedProjects/<user id>/B4iProject.xcodeproj: error: "B4iProject" requires a provisioning profile. Select a provisioning profile in the Signing & Capabilities editor. (in target 'B4iProject' from project 'B4iProject')
Hi Erel, here's the logs I see on the server.Xcode 14 should be fine.
What do you see in the server logs?
In some cases a dialog appears on the Mac asking for a password (111111).
And I don't see any dialogs popping up on my mac unfortunately, I rebooted my Mac thinking maybe it had gotten in some weird state, but I am still seeing the same issue.walter.flores@C02V417FHTD7 B4iBuildServer % sudo java -jar B4iBuildServer.jar
Build server version: 8.10
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2023-01-17 17:36:03.222:INFO::main: Logging initialized @274ms to org.eclipse.jetty.util.log.StdErrLog
Loading default configuration file.
AppPath=/Users/walter.flores/Desktop/B4iBuildServer
Mac version: 10.16
Xcode path: /Applications/Xcode.app/Contents/Developer
Xcode version: 14
Creating key for: 192.168.202.80
2023-01-17 17:36:06.993:INFOejs.Server:main: jetty-9.4.z-SNAPSHOT; built: 2018-05-03T15:56:21.710Z; git: daa59876e6f384329b122929e70a80934569428c; jvm 11.0.10+8-LTS-162
2023-01-17 17:36:07.043:INFOejs.session:main: DefaultSessionIdManager workerName=node0
2023-01-17 17:36:07.043:INFOejs.session:main: No SessionScavenger set, using defaults
2023-01-17 17:36:07.046:INFOejs.session:main: node0 Scavenging every 660000ms
2023-01-17 17:36:07.054:INFOejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@175c2241{/,file:///Users/walter.flores/Desktop/B4iBuildServer/www,AVAILABLE}
2023-01-17 17:36:07.058:INFOejs.AbstractNCSARequestLog:main: Opened /Users/walter.flores/Desktop/B4iBuildServer/logs/b4j-2023_01_18.request.log
2023-01-17 17:36:07.077:INFOejs.AbstractConnector:main: Started ServerConnector@24313fcc{HTTP/1.1,[http/1.1]}{0.0.0.0:51041}
2023-01-17 17:36:07.355:INFOejus.SslContextFactory:main: x509=X509@15aab8c6(jetty,h=[192.168.202.80],w=[]) for SslContextFactory@33990a0c[provider=null,keyStore=file:///Users/walter.flores/Desktop/B4iBuildServer/key/key.jks,trustStore=null]
2023-01-17 17:36:07.356:INFOejus.SslContextFactory:main: x509=X509@4de4b452(rootca,h=[],w=[]) for SslContextFactory@33990a0c[provider=null,keyStore=file:///Users/walter.flores/Desktop/B4iBuildServer/key/key.jks,trustStore=null]
2023-01-17 17:36:07.492:INFOejs.AbstractConnector:main: Started ServerConnector@5d0bf09b{SSL,[ssl, http/1.1]}{0.0.0.0:51042}
2023-01-17 17:36:07.493:INFOejs.Server:main: Started @4551ms
Build server is ready
Build server version: 8.10
Adding user to keychain:
success: true, 65
17:37:03| Compilation time: 21599, ayg8hsp, queue: 0, success: false
uhmm, I really doubt it, I mean it's worked before, but I'll probably uninstall everything and re-install again and see if it makes a different.Might be a permission problem. I recommend that you start with the simulator on the local builder and use the hosted builder with the real device.
XCODE -> Preferences -> Accounts and add your developer account.Hi All, I seem to be having some issues with compiling my B4i apps using my local builder, I continue to get the following Error:
I followed this thread here but I have already followed all the necessary steps including installing B4i bridge first, this was working before, the only change is that I updated Xcode to version 14.0.1.
I am using version 8.1 of the local builder.
If I use the Hosted builder than I am able to compile the b4i app, but I will eventually be using custom libraries so I will need to start using my local builder.
Anyone has any idea if this is an issue with my Xcode version, or is it related to something else?
Walter
I'll check but didn't just install Xcode, it has worked for all previous versions of local builder, not sure what the difference would be now.XCODE -> Preferences -> Accounts and add your developer account.
You need to do this if you have just installed a fresh copy of XCODE or are installing on a new MAC computer.
Sending data to remote compiler. Error
Out: Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -configuration Release PRODUCT_NAME=result CONFIGURATION_BUILD_DIR=/Users/walter.flores/Documents/B4iBuildServer/UploadedProjects/<user id>/Payload "CODE_SIGN_IDENTITY=iPhone Distribution: Walter Flores (86ZHMV94BS)" "OTHER_CODE_SIGN_FLAGS=--keychain <user id>" PROVISIONING_PROFILE=3818c28f-0eda-4bf5-aba9-74d69f98e3e4 -arch arm64
User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
ARCHS = arm64
CODE_SIGN_IDENTITY = iPhone Distribution: Walter Flores (86ZHMV94BS)
CONFIGURATION_BUILD_DIR = /Users/walter.flores/Documents/B4iBuildServer/UploadedProjects/<user id>/Payload
OTHER_CODE_SIGN_FLAGS = --keychain <user id>
PRODUCT_NAME = result
PROVISIONING_PROFILE = 3818c28f-0eda-4bf5-aba9-74d69f98e3e4
note: Using codesigning identity override: iPhone Distribution: Walter Flores (86ZHMV94BS)
Computing target dependency graph and provisioning inputs
Create build description
Build description signature: 68442b236ce5098ce9dd5c853f07fb60
Build description path: /Users/walter.flores/Documents/B4iBuildServer/UploadedProjects/<user id>/build/XCBuildData/68442b236ce5098ce9dd5c853f07fb60-desc.xcbuild
warning: Building targets in manual order is deprecated - check "Parallelize build for command-line builds" in the project editor, or set DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING in any of the targets in the current build to suppress this warning
/Users/walter.flores/Documents/B4iBuildServer/UploadedProjects/<user id>/B4iProject.xcodeproj: error: "B4iProject" requires a provisioning profile. Select a provisioning profile in the Signing & Capabilities editor. (in target 'B4iProject' from project 'B4iProject')
Error: 2023-01-18 21:53:34.754 xcodebuild[52596:633861] DTDeviceKit: Failed to mount DDI from '<DVTFilePath:0x60000209ad10:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/16.0/DeveloperDiskImage.dmg'>', error=-402653066: Error Domain=com.apple.dtdevicekit Code=806 "Failed to prepare the device for development." UserInfo={AssociatedMobileDeviceFunction=AMDeviceMountImage, NSUnderlyingError=0x6000007a7c00 {Error Domain=com.apple.dt.MobileDeviceErrorDomain Code=-402653066 "Could not support development." UserInfo={MobileDeviceErrorCode=(0xE8000076), com.apple.dtdevicekit.stacktrace=(
0 DTDeviceKitBase 0x000000010dde1c90 DTDKCreateNSErrorFromAMDErrorCode + 235
1 DTDeviceKitBase 0x000000010de1bc3c -[DTDKMobileDeviceToken _mountDeveloperDiskImage:withError:] + 902
2 DTDeviceKitBase 0x000000010de1c71c __58-[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:]_block_invoke + 608
3 libdispatch.dylib 0x00007ff80d460a44 _dispatch_client_callout + 8
4 libdispatch.dylib 0x00007ff80d46e36b _dispatch_lane_barrier_sync_invoke_and_complete + 60
5 DTDeviceKitBase 0x000000010de1c45c -[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:] + 185
6 IDEiOSSupportCore 0x000000010d7903aa __37-[DVTiOSDevice(Connect) hasConnected]_block_invoke_2 + 138
7 DVTFoundation 0x0000000102c82769 __DVT_CALLING_CLIENT_BLOCK__ + 7
8 DVTFoundation 0x0000000102c83ce3 __DVTDispatchGroupAsync_block_invoke + 196
9 libdispatch.dylib 0x00007ff80d45f7fb _dispatch_call_block_and_release + 12
10 libdispatch.dylib 0x00007ff80d460a44 _dispatch_client_callout + 8
11 libdispatch.dylib 0x00007ff80d463578 _dispatch_continuation_pop + 583
12 libdispatch.dylib 0x00007ff80d462b8f _dispatch_async_redirect_invoke + 714
13 libdispatch.dylib 0x00007ff80d4706a2 _dispatch_root_queue_drain + 343
14 libdispatch.dylib 0x00007ff80d470e4d _dispatch_worker_thread2 + 160
15 libsystem_pthread.dylib 0x00007ff80d5dcc9d _pthread_wqthread + 256
16 libsystem_pthread.dylib 0x00007ff80d5dbc67 start_wqthread + 15
), DVTRadarComponentKey=261622, NSLocalizedDescription=Could not support development.}}, NSLocalizedRecoverySuggestion=This operation can fail if the version of the OS on the device is incompatible with the installed version of Xcode. You may also need to restart your Mac and device in order to correctly detect compatibility., NSLocalizedFailure=Could not support development., DVTRadarComponentKey=487927, NSLocalizedDescription=Failed to prepare the device for development.}
2023-01-18 21:53:34.754 xcodebuild[52596:633861] iPhoneConnect: ?<DVTiOSDevice (0x7fd346b1db60), svc-aw-library - G6VVLEMTJCLH, iPhone, 16.2 (20C65), 7d77c782a8bfa8d278b54b25af40a90173c41be4> unable to mount developer disk image, (Error Domain=com.apple.dtdevicekit Code=806 "Failed to prepare the device for development." UserInfo={AssociatedMobileDeviceFunction=AMDeviceMountImage, NSUnderlyingError=0x6000007a7c00 {Error Domain=com.apple.dt.MobileDeviceErrorDomain Code=-402653066 "Could not support development." UserInfo={MobileDeviceErrorCode=(0xE8000076), com.apple.dtdevicekit.stacktrace=(
0 DTDeviceKitBase 0x000000010dde1c90 DTDKCreateNSErrorFromAMDErrorCode + 235
1 DTDeviceKitBase 0x000000010de1bc3c -[DTDKMobileDeviceToken _mountDeveloperDiskImage:withError:] + 902
2 DTDeviceKitBase 0x000000010de1c71c __58-[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:]_block_invoke + 608
3 libdispatch.dylib 0x00007ff80d460a44 _dispatch_client_callout + 8
4 libdispatch.dylib 0x00007ff80d46e36b _dispatch_lane_barrier_sync_invoke_and_complete + 60
5 DTDeviceKitBase 0x000000010de1c45c -[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:] + 185
6 IDEiOSSupportCore 0x000000010d7903aa __37-[DVTiOSDevice(Connect) hasConnected]_block_invoke_2 + 138
7 DVTFoundation 0x0000000102c82769 __DVT_CALLING_CLIENT_BLOCK__ + 7
8 DVTFoundation 0x0000000102c83ce3 __DVTDispatchGroupAsync_block_invoke + 196
9 libdispatch.dylib 0x00007ff80d45f7fb _dispatch_call_block_and_release + 12
10 libdispatch.dylib 0x00007ff80d460a44 _dispatch_client_callout + 8
11 libdispatch.dylib 0x00007ff80d463578 _dispatch_continuation_pop + 583
12 libdispatch.dylib 0x00007ff80d462b8f _dispatch_async_redirect_invoke + 714
13 libdispatch.dylib 0x00007ff80d4706a2 _dispatch_root_queue_drain + 343
14 libdispatch.dylib 0x00007ff80d470e4d _dispatch_worker_thread2 + 160
15 libsystem_pthread.dylib 0x00007ff80d5dcc9d _pthread_wqthread + 256
16 libsystem_pthread.dylib 0x00007ff80d5dbc67 start_wqthread + 15
), DVTRadarComponentKey=261622, NSLocalizedDescription=Could not support development.}}, NSLocalizedRecoverySuggestion=This operation can fail if the version of the OS on the device is incompatible with the installed version of Xcode. You may also need to restart your Mac and device in order to correctly detect compatibility., NSLocalizedFailure=Could not support development., DVTRadarComponentKey=487927, NSLocalizedDescription=Failed to prepare the device for development.}) {
AssociatedMobileDeviceFunction = AMDeviceMountImage;
DVTRadarComponentKey = 487927;
NSLocalizedDescription = "Failed to prepare the device for development.";
NSLocalizedFailure = "Could not support development.";
NSLocalizedRecoverySuggestion = "This operation can fail if the version of the OS on the device is incompatible with the installed version of Xcode. You may also need to restart your Mac and device in order to correctly detect compatibility.";
NSUnderlyingError = "Error Domain=com.apple.dt.MobileDeviceErrorDomain Code=-402653066 \"Could not support development.\" UserInfo={MobileDeviceErrorCode=(0xE8000076), com.apple.dtdevicekit.stacktrace=(\n\t0 DTDeviceKitBase 0x000000010dde1c90 DTDKCreateNSErrorFromAMDErrorCode + 235\n\t1 DTDeviceKitBase 0x000000010de1bc3c -[DTDKMobileDeviceToken _mountDeveloperDiskImage:withError:] + 902\n\t2 DTDeviceKitBase 0x000000010de1c71c __58-[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:]_block_invoke + 608\n\t3 libdispatch.dylib 0x00007ff80d460a44 _dispatch_client_callout + 8\n\t4 libdispatch.dylib 0x00007ff80d46e36b _dispatch_lane_barrier_sync_invoke_and_complete + 60\n\t5 DTDeviceKitBase 0x000000010de1c45c -[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:] + 185\n\t6 IDEiOSSupportCore 0x000000010d7903aa __37-[DVTiOSDevice(Connect) hasConnected]_block_invoke_2 + 138\n\t7 DVTFoundation 0x0000000102c82769 __DVT_CALLING_CLIENT_BLOCK__ + 7\n\t8 DVTFoundation 0x0000000102c83ce3 __DVTDispatchGroupAsync_block_invoke + 196\n\t9 libdispatch.dylib 0x00007ff80d45f7fb _dispatch_call_block_and_release + 12\n\t10 libdispatch.dylib 0x00007ff80d460a44 _dispatch_client_callout + 8\n\t11 libdispatch.dylib 0x00007ff80d463578 _dispatch_continuation_pop + 583\n\t12 libdispatch.dylib 0x00007ff80d462b8f _dispatch_async_redirect_invoke + 714\n\t13 libdispatch.dylib 0x00007ff80d4706a2 _dispatch_root_queue_drain + 343\n\t14 libdispatch.dylib 0x00007ff80d470e4d _dispatch_worker_thread2 + 160\n\t15 libsystem_pthread.dylib 0x00007ff80d5dcc9d _pthread_wqthread + 256\n\t16 libsystem_pthread.dylib 0x00007ff80d5dbc67 start_wqthread + 15\n), DVTRadarComponentKey=261622, NSLocalizedDescription=Could not support development.}";
}
2023-01-18 21:53:34.755 xcodebuild[52596:633849] [MT] iPhoneConnect: ?<DVTiOSDevice (0x7fd346b1db60), svc-aw-library - G6VVLEMTJCLH, iPhone, 16.2 (20C65), 7d77c782a8bfa8d278b54b25af40a90173c41be4> -- An error occurred whilst preparing device for development -- Failed to prepare the device for development.
Domain: com.apple.dtdevicekit
Code: 806
Recovery Suggestion: This operation can fail if the version of the OS on the device is incompatible with the installed version of Xcode. You may also need to restart your Mac and device in order to correctly detect compatibility.
User Info: {
AssociatedMobileDeviceFunction = AMDeviceMountImage;
DVTRadarComponentKey = 487927;
NSLocalizedFailure = "Could not support development.";
}
--
Could not support development.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402653066
User Info: {
DVTRadarComponentKey = 261622;
MobileDeviceErrorCode = "(0xE8000076)";
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x000000010dde1c90 DTDKCreateNSErrorFromAMDErrorCode + 235
1 DTDeviceKitBase 0x000000010de1bc3c -[DTDKMobileDeviceToken _mountDeveloperDiskImage:withError:] + 902
2 DTDeviceKitBase 0x000000010de1c71c __58-[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:]_block_invoke + 608
3 libdispatch.dylib 0x00007ff80d460a44 _dispatch_client_callout + 8
4 libdispatch.dylib 0x00007ff80d46e36b _dispatch_lane_barrier_sync_invoke_and_complete + 60
5 DTDeviceKitBase 0x000000010de1c45c -[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:] + 185
6 IDEiOSSupportCore 0x000000010d7903aa __37-[DVTiOSDevice(Connect) hasConnected]_block_invoke_2 + 138
7 DVTFoundation 0x0000000102c82769 __DVT_CALLING_CLIENT_BLOCK__ + 7
8 DVTFoundation 0x0000000102c83ce3 __DVTDispatchGroupAsync_block_invoke + 196
9 libdispatch.dylib 0x00007ff80d45f7fb _dispatch_call_block_and_release + 12
10 libdispatch.dylib 0x00007ff80d460a44 _dispatch_client_callout + 8
11 libdispatch.dylib 0x00007ff80d463578 _dispatch_continuation_pop + 583
12 libdispatch.dylib 0x00007ff80d462b8f _dispatch_async_redirect_invoke + 714
13 libdispatch.dylib 0x00007ff80d4706a2 _dispatch_root_queue_drain + 343
14 libdispatch.dylib 0x00007ff80d470e4d _dispatch_worker_thread2 + 160
15 libsystem_pthread.dylib 0x00007ff80d5dcc9d _pthread_wqthread + 256
16 libsystem_pthread.dylib 0x00007ff80d5dbc67 start_wqthread + 15
);
}
--
2023-01-18 21:53:34.755 xcodebuild[52596:633849] [MT] iPhoneConnect: ?<DVTiOSDevice (0x7fd346b1db60), svc-aw-library - G6VVLEMTJCLH, iPhone, 16.2 (20C65), 7d77c782a8bfa8d278b54b25af40a90173c41be4> == Underlying device preparation errors ==
2023-01-18 21:53:34.755 xcodebuild[52596:633849] [MT] iPhoneConnect: Failed to prepare the device for development.
Domain: com.apple.dtdevicekit
Code: 806
Recovery Suggestion: This operation can fail if the version of the OS on the device is incompatible with the installed version of Xcode. You may also need to restart your Mac and device in order to correctly detect compatibility.
User Info: {
AssociatedMobileDeviceFunction = AMDeviceMountImage;
DVTRadarComponentKey = 487927;
NSLocalizedFailure = "Could not support development.";
}
--
Could not support development.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402653066
User Info: {
DVTRadarComponentKey = 261622;
MobileDeviceErrorCode = "(0xE8000076)";
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x000000010dde1c90 DTDKCreateNSErrorFromAMDErrorCode + 235
1 DTDeviceKitBase 0x000000010de1bc3c -[DTDKMobileDeviceToken _mountDeveloperDiskImage:withError:] + 902
2 DTDeviceKitBase 0x000000010de1c71c __58-[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:]_block_invoke + 608
3 libdispatch.dylib 0x00007ff80d460a44 _dispatch_client_callout + 8
4 libdispatch.dylib 0x00007ff80d46e36b _dispatch_lane_barrier_sync_invoke_and_complete + 60
5 DTDeviceKitBase 0x000000010de1c45c -[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:] + 185
6 IDEiOSSupportCore 0x000000010d7903aa __37-[DVTiOSDevice(Connect) hasConnected]_block_invoke_2 + 138
7 DVTFoundation 0x0000000102c82769 __DVT_CALLING_CLIENT_BLOCK__ + 7
8 DVTFoundation 0x0000000102c83ce3 __DVTDispatchGroupAsync_block_invoke + 196
9 libdispatch.dylib 0x00007ff80d45f7fb _dispatch_call_block_and_release + 12
10 libdispatch.dylib 0x00007ff80d460a44 _dispatch_client_callout + 8
11 libdispatch.dylib 0x00007ff80d463578 _dispatch_continuation_pop + 583
12 libdispatch.dylib 0x00007ff80d462b8f _dispatch_async_redirect_invoke + 714
13 libdispatch.dylib 0x00007ff80d4706a2 _dispatch_root_queue_drain + 343
14 libdispatch.dylib 0x00007ff80d470e4d _dispatch_worker_thread2 + 160
15 libsystem_pthread.dylib 0x00007ff80d5dcc9d _pthread_wqthread + 256
16 libsystem_pthread.dylib 0x00007ff80d5dbc67 start_wqthread + 15
);
}
--
2023-01-18 21:53:34.755 xcodebuild[52596:633849] [MT] iPhoneConnect: ?<DVTiOSDevice (0x7fd346b1db60), svc-aw-library - G6VVLEMTJCLH, iPhone, 16.2 (20C65), 7d77c782a8bfa8d278b54b25af40a90173c41be4> == END: Underlying device preparation errors ==
2023-01-18 21:53:35.393 xcodebuild[52596:633861] DTDeviceKit: Failed to mount DDI from '<DVTFilePath:0x60000209ad10:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/16.0/DeveloperDiskImage.dmg'>', error=-402653066: Error Domain=com.apple.dtdevicekit Code=806 "Failed to prepare the device for development." UserInfo={AssociatedMobileDeviceFunction=AMDeviceMountImage, NSUnderlyingError=0x6000007a5110 {Error Domain=com.apple.dt.MobileDeviceErrorDomain Code=-402653066 "Could not support development." UserInfo={MobileDeviceErrorCode=(0xE8000076), com.apple.dtdevicekit.stacktrace=(
0 DTDeviceKitBase 0x000000010dde1c90 DTDKCreateNSErrorFromAMDErrorCode + 235
1 DTDeviceKitBase 0x000000010de1bc3c -[DTDKMobileDeviceToken _mountDeveloperDiskImage:withError:] + 902
2 DTDeviceKitBase 0x000000010de1c71c __58-[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:]_block_invoke + 608
3 libdispatch.dylib 0x00007ff80d460a44 _dispatch_client_callout + 8
4 libdispatch.dylib 0x00007ff80d46e36b _dispatch_lane_barrier_sync_invoke_and_complete + 60
5 DTDeviceKitBase 0x000000010de1c45c -[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:] + 185
6 IDEiOSSupportCore 0x000000010d7903aa __37-[DVTiOSDevice(Connect) hasConnected]_block_invoke_2 + 138
7 DVTFoundation 0x0000000102c82769 __DVT_CALLING_CLIENT_BLOCK__ + 7
8 DVTFoundation 0x0000000102c83ce3 __DVTDispatchGroupAsync_block_invoke + 196
9 libdispatch.dylib 0x00007ff80d45f7fb _dispatch_call_block_and_release + 12
10 libdispatch.dylib 0x00007ff80d460a44 _dispatch_client_callout + 8
11 libdispatch.dylib 0x00007ff80d463578 _dispatch_continuation_pop + 583
12 libdispatch.dylib 0x00007ff80d462b8f _dispatch_async_redirect_invoke + 714
13 libdispatch.dylib 0x00007ff80d4706a2 _dispatch_root_queue_drain + 343
14 libdispatch.dylib 0x00007ff80d470e4d _dispatch_worker_thread2 + 160
15 libsystem_pthread.dylib 0x00007ff80d5dcc9d _pthread_wqthread + 256
16 libsystem_pthread.dylib 0x00007ff80d5dbc67 start_wqthread + 15
), DVTRadarComponentKey=261622, NSLocalizedDescription=Could not support development.}}, NSLocalizedRecoverySuggestion=This operation can fail if the version of the OS on the device is incompatible with the installed version of Xcode. You may also need to restart your Mac and device in order to correctly detect compatibility., NSLocalizedFailure=Could not support development., DVTRadarComponentKey=487927, NSLocalizedDescription=Failed to prepare the device for development.}
2023-01-18 21:53:35.393 xcodebuild[52596:633861] iPhoneConnect: ?<DVTiOSDevice (0x7fd346b1db60), svc-aw-library - G6VVLEMTJCLH, iPhone, 16.2 (20C65), 7d77c782a8bfa8d278b54b25af40a90173c41be4> unable to mount developer disk image, (Error Domain=com.apple.dtdevicekit Code=806 "Failed to prepare the device for development." UserInfo={AssociatedMobileDeviceFunction=AMDeviceMountImage, NSUnderlyingError=0x6000007a5110 {Error Domain=com.apple.dt.MobileDeviceErrorDomain Code=-402653066 "Could not support development." UserInfo={MobileDeviceErrorCode=(0xE8000076), com.apple.dtdevicekit.stacktrace=(
0 DTDeviceKitBase 0x000000010dde1c90 DTDKCreateNSErrorFromAMDErrorCode + 235
1 DTDeviceKitBase 0x000000010de1bc3c -[DTDKMobileDeviceToken _mountDeveloperDiskImage:withError:] + 902
2 DTDeviceKitBase 0x000000010de1c71c __58-[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:]_block_invoke + 608
3 libdispatch.dylib 0x00007ff80d460a44 _dispatch_client_callout + 8
4 libdispatch.dylib 0x00007ff80d46e36b _dispatch_lane_barrier_sync_invoke_and_complete + 60
5 DTDeviceKitBase 0x000000010de1c45c -[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:] + 185
6 IDEiOSSupportCore 0x000000010d7903aa __37-[DVTiOSDevice(Connect) hasConnected]_block_invoke_2 + 138
7 DVTFoundation 0x0000000102c82769 __DVT_CALLING_CLIENT_BLOCK__ + 7
8 DVTFoundation 0x0000000102c83ce3 __DVTDispatchGroupAsync_block_invoke + 196
9 libdispatch.dylib 0x00007ff80d45f7fb _dispatch_call_block_and_release + 12
10 libdispatch.dylib 0x00007ff80d460a44 _dispatch_client_callout + 8
11 libdispatch.dylib 0x00007ff80d463578 _dispatch_continuation_pop + 583
12 libdispatch.dylib 0x00007ff80d462b8f _dispatch_async_redirect_invoke + 714
13 libdispatch.dylib 0x00007ff80d4706a2 _dispatch_root_queue_drain + 343
14 libdispatch.dylib 0x00007ff80d470e4d _dispatch_worker_thread2 + 160
15 libsystem_pthread.dylib 0x00007ff80d5dcc9d _pthread_wqthread + 256
16 libsystem_pthread.dylib 0x00007ff80d5dbc67 start_wqthread + 15
), DVTRadarComponentKey=261622, NSLocalizedDescription=Could not support development.}}, NSLocalizedRecoverySuggestion=This operation can fail if the version of the OS on the device is incompatible with the installed version of Xcode. You may also need to restart your Mac and device in order to correctly detect compatibility., NSLocalizedFailure=Could not support development., DVTRadarComponentKey=487927, NSLocalizedDescription=Failed to prepare the device for development.}) {
AssociatedMobileDeviceFunction = AMDeviceMountImage;
DVTRadarComponentKey = 487927;
NSLocalizedDescription = "Failed to prepare the device for development.";
NSLocalizedFailure = "Could not support development.";
NSLocalizedRecoverySuggestion = "This operation can fail if the version of the OS on the device is incompatible with the installed version of Xcode. You may also need to restart your Mac and device in order to correctly detect compatibility.";
NSUnderlyingError = "Error Domain=com.apple.dt.MobileDeviceErrorDomain Code=-402653066 \"Could not support development.\" UserInfo={MobileDeviceErrorCode=(0xE8000076), com.apple.dtdevicekit.stacktrace=(\n\t0 DTDeviceKitBase 0x000000010dde1c90 DTDKCreateNSErrorFromAMDErrorCode + 235\n\t1 DTDeviceKitBase 0x000000010de1bc3c -[DTDKMobileDeviceToken _mountDeveloperDiskImage:withError:] + 902\n\t2 DTDeviceKitBase 0x000000010de1c71c __58-[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:]_block_invoke + 608\n\t3 libdispatch.dylib 0x00007ff80d460a44 _dispatch_client_callout + 8\n\t4 libdispatch.dylib 0x00007ff80d46e36b _dispatch_lane_barrier_sync_invoke_and_complete + 60\n\t5 DTDeviceKitBase 0x000000010de1c45c -[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:] + 185\n\t6 IDEiOSSupportCore 0x000000010d7903aa __37-[DVTiOSDevice(Connect) hasConnected]_block_invoke_2 + 138\n\t7 DVTFoundation 0x0000000102c82769 __DVT_CALLING_CLIENT_BLOCK__ + 7\n\t8 DVTFoundation 0x0000000102c83ce3 __DVTDispatchGroupAsync_block_invoke + 196\n\t9 libdispatch.dylib 0x00007ff80d45f7fb _dispatch_call_block_and_release + 12\n\t10 libdispatch.dylib 0x00007ff80d460a44 _dispatch_client_callout + 8\n\t11 libdispatch.dylib 0x00007ff80d463578 _dispatch_continuation_pop + 583\n\t12 libdispatch.dylib 0x00007ff80d462b8f _dispatch_async_redirect_invoke + 714\n\t13 libdispatch.dylib 0x00007ff80d4706a2 _dispatch_root_queue_drain + 343\n\t14 libdispatch.dylib 0x00007ff80d470e4d _dispatch_worker_thread2 + 160\n\t15 libsystem_pthread.dylib 0x00007ff80d5dcc9d _pthread_wqthread + 256\n\t16 libsystem_pthread.dylib 0x00007ff80d5dbc67 start_wqthread + 15\n), DVTRadarComponentKey=261622, NSLocalizedDescription=Could not support development.}";
}
2023-01-18 21:53:35.393 xcodebuild[52596:633849] [MT] iPhoneConnect: ?<DVTiOSDevice (0x7fd346b1db60), svc-aw-library - G6VVLEMTJCLH, iPhone, 16.2 (20C65), 7d77c782a8bfa8d278b54b25af40a90173c41be4> -- An error occurred whilst preparing device for development -- Failed to prepare the device for development.
Domain: com.apple.dtdevicekit
Code: 806
Recovery Suggestion: This operation can fail if the version of the OS on the device is incompatible with the installed version of Xcode. You may also need to restart your Mac and device in order to correctly detect compatibility.
User Info: {
AssociatedMobileDeviceFunction = AMDeviceMountImage;
DVTRadarComponentKey = 487927;
NSLocalizedFailure = "Could not support development.";
}
--
Could not support development.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402653066
User Info: {
DVTRadarComponentKey = 261622;
MobileDeviceErrorCode = "(0xE8000076)";
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x000000010dde1c90 DTDKCreateNSErrorFromAMDErrorCode + 235
1 DTDeviceKitBase 0x000000010de1bc3c -[DTDKMobileDeviceToken _mountDeveloperDiskImage:withError:] + 902
2 DTDeviceKitBase 0x000000010de1c71c __58-[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:]_block_invoke + 608
3 libdispatch.dylib 0x00007ff80d460a44 _dispatch_client_callout + 8
4 libdispatch.dylib 0x00007ff80d46e36b _dispatch_lane_barrier_sync_invoke_and_complete + 60
5 DTDeviceKitBase 0x000000010de1c45c -[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:] + 185
6 IDEiOSSupportCore 0x000000010d7903aa __37-[DVTiOSDevice(Connect) hasConnected]_block_invoke_2 + 138
7 DVTFoundation 0x0000000102c82769 __DVT_CALLING_CLIENT_BLOCK__ + 7
8 DVTFoundation 0x0000000102c83ce3 __DVTDispatchGroupAsync_block_invoke + 196
9 libdispatch.dylib 0x00007ff80d45f7fb _dispatch_call_block_and_release + 12
10 libdispatch.dylib 0x00007ff80d460a44 _dispatch_client_callout + 8
11 libdispatch.dylib 0x00007ff80d463578 _dispatch_continuation_pop + 583
12 libdispatch.dylib 0x00007ff80d462b8f _dispatch_async_redirect_invoke + 714
13 libdispatch.dylib 0x00007ff80d4706a2 _dispatch_root_queue_drain + 343
14 libdispatch.dylib 0x00007ff80d470e4d _dispatch_worker_thread2 + 160
15 libsystem_pthread.dylib 0x00007ff80d5dcc9d _pthread_wqthread + 256
16 libsystem_pthread.dylib 0x00007ff80d5dbc67 start_wqthread + 15
);
}
--
2023-01-18 21:53:35.393 xcodebuild[52596:633849] [MT] iPhoneConnect: ?<DVTiOSDevice (0x7fd346b1db60), svc-aw-library - G6VVLEMTJCLH, iPhone, 16.2 (20C65), 7d77c782a8bfa8d278b54b25af40a90173c41be4> == Underlying device preparation errors ==
2023-01-18 21:53:35.394 xcodebuild[52596:633849] [MT] iPhoneConnect: Failed to prepare the device for development.
Domain: com.apple.dtdevicekit
Code: 806
Recovery Suggestion: This operation can fail if the version of the OS on the device is incompatible with the installed version of Xcode. You may also need to restart your Mac and device in order to correctly detect compatibility.
User Info: {
AssociatedMobileDeviceFunction = AMDeviceMountImage;
DVTRadarComponentKey = 487927;
NSLocalizedFailure = "Could not support development.";
}
--
Could not support development.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402653066
User Info: {
DVTRadarComponentKey = 261622;
MobileDeviceErrorCode = "(0xE8000076)";
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x000000010dde1c90 DTDKCreateNSErrorFromAMDErrorCode + 235
1 DTDeviceKitBase 0x000000010de1bc3c -[DTDKMobileDeviceToken _mountDeveloperDiskImage:withError:] + 902
2 DTDeviceKitBase 0x000000010de1c71c __58-[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:]_block_invoke + 608
3 libdispatch.dylib 0x00007ff80d460a44 _dispatch_client_callout + 8
4 libdispatch.dylib 0x00007ff80d46e36b _dispatch_lane_barrier_sync_invoke_and_complete + 60
5 DTDeviceKitBase 0x000000010de1c45c -[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:] + 185
6 IDEiOSSupportCore 0x000000010d7903aa __37-[DVTiOSDevice(Connect) hasConnected]_block_invoke_2 + 138
7 DVTFoundation 0x0000000102c82769 __DVT_CALLING_CLIENT_BLOCK__ + 7
8 DVTFoundation 0x0000000102c83ce3 __DVTDispatchGroupAsync_block_invoke + 196
9 libdispatch.dylib 0x00007ff80d45f7fb _dispatch_call_block_and_release + 12
10 libdispatch.dylib 0x00007ff80d460a44 _dispatch_client_callout + 8
11 libdispatch.dylib 0x00007ff80d463578 _dispatch_continuation_pop + 583
12 libdispatch.dylib 0x00007ff80d462b8f _dispatch_async_redirect_invoke + 714
13 libdispatch.dylib 0x00007ff80d4706a2 _dispatch_root_queue_drain + 343
14 libdispatch.dylib 0x00007ff80d470e4d _dispatch_worker_thread2 + 160
15 libsystem_pthread.dylib 0x00007ff80d5dcc9d _pthread_wqthread + 256
16 libsystem_pthread.dylib 0x00007ff80d5dbc67 start_wqthread + 15
);
}
--
2023-01-18 21:53:35.394 xcodebuild[52596:633849] [MT] iPhoneConnect: ?<DVTiOSDevice (0x7fd346b1db60), svc-aw-library - G6VVLEMTJCLH, iPhone, 16.2 (20C65), 7d77c782a8bfa8d278b54b25af40a90173c41be4> == END: Underlying device preparation errors ==
** BUILD FAILED **
I changed the user id but I get the same error:It is still the same error: error: "B4iProject" requires a provisioning profile. Select a provisioning profile in the Signing & Capabilities editor. (in target 'B4iProject' from project 'B4iProject')
Make a test and change the user id in the IDE under builder settings. You can set it to any string you like.
Sending data to remote compiler. Error
Error: security: SecKeychainDelete: The specified keychain could not be found.
Out: Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -configuration Release PRODUCT_NAME=result CONFIGURATION_BUILD_DIR=/Users/walter.flores/Documents/B4iBuildServer/UploadedProjects/<user id>/Payload "CODE_SIGN_IDENTITY=iPhone Distribution: Walter Flores (86ZHMV94BS)" "OTHER_CODE_SIGN_FLAGS=--keychain <user id>" PROVISIONING_PROFILE=3818c28f-0eda-4bf5-aba9-74d69f98e3e4 -arch arm64
User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
ARCHS = arm64
CODE_SIGN_IDENTITY = iPhone Distribution: Walter Flores (86ZHMV94BS)
CONFIGURATION_BUILD_DIR = /Users/walter.flores/Documents/B4iBuildServer/UploadedProjects/<user id>/Payload
OTHER_CODE_SIGN_FLAGS = --keychain <user id>
PRODUCT_NAME = result
PROVISIONING_PROFILE = 3818c28f-0eda-4bf5-aba9-74d69f98e3e4
note: Using codesigning identity override: iPhone Distribution: Walter Flores (86ZHMV94BS)
Computing target dependency graph and provisioning inputs
Create build description
Build description signature: 52ee690219e8fd8f3d7b33c96e384d5f
Build description path: /Users/walter.flores/Documents/B4iBuildServer/UploadedProjects/<user id>/build/XCBuildData/52ee690219e8fd8f3d7b33c96e384d5f-desc.xcbuild
warning: Building targets in manual order is deprecated - check "Parallelize build for command-line builds" in the project editor, or set DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING in any of the targets in the current build to suppress this warning
/Users/walter.flores/Documents/B4iBuildServer/UploadedProjects/<user id>/B4iProject.xcodeproj: error: "B4iProject" requires a provisioning profile. Select a provisioning profile in the Signing & Capabilities editor. (in target 'B4iProject' from project 'B4iProject')
Error: ** BUILD FAILED **
I'm not sure that's accurate, I can see a new folder with the new username being created in the UploadedProjects folder, one thing I did noticed though is if I open the project with Xcode I continue getting pop up messages saying:For some reason the builder fails to add the key to the Mac keychain.
The file “B4iProject.xcodeproj” could not be unlocked.
As always you were right @Erel I went and looked at all the folders in the B4iBuildServer directory and for some reason every single folder and file were under different user group, also Xcode, I went ahead and assigned everything to be under my username, and Now I am able to compile my projects on my local builder.Looks like Xcode is running under a different user. Make sure not to run the builder with sudo.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?