I have signed it & all seems fine however when I tried to install the WebDriverAgent on the iphone (in the past it always went smoothly) then it fails (See the log below).
Recently I have upgraded the iPhone to iOS 10.3.3 (maybe it is related?)
Last login: Tue Aug 29 14:54:34 on ttys001
Menys-MacBook-Pro:~ menypeled$ cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
Menys-MacBook-Pro:WebDriverAgent menypeled$ xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination ‘id=51d8c712258a5b0ac63516aa5be9d10014b0c270’ test
2017-08-29 15:44:07.647 xcodebuild[7329:832806] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
/Users/menypeled/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/66E68FEB-D636-4BDB-88AE-EA9CAF6D6E7F/Session-WebDriverAgentRunner-2017-08-29_154407-SYnrQP.log
2017-08-29 15:44:07.647 xcodebuild[7329:832803] [MT] IDETestOperationsObserverDebug: (8C6F9D08-6F81-4CCA-BE37-171189F1690B) Beginning test session WebDriverAgentRunner-8C6F9D08-6F81-4CCA-BE37-171189F1690B at 2017-08-29 15:44:07.647 with Xcode 8E3004b on target <DVTiOSDevice: 0x7fe0eb21f8f0> {
deviceSerialNumber: DNRMV9JZFFG8
identifier: 51d8c712258a5b0ac63516aa5be9d10014b0c270
deviceClass: iPhone
deviceName: SG iPhone 5s
deviceIdentifier: 51d8c712258a5b0ac63516aa5be9d10014b0c270
productVersion: 10.3.3
buildVersion: 14G60
deviceSoftwareVersion: 10.3.3 (14G60)
deviceArchitecture: arm64
deviceTotalCapacity: 12386914304
deviceAvailableCapacity: 7574310912
deviceIsTransient: NO
ignored: NO
deviceIsBusy: NO
deviceIsActivated: YES
deviceActivationState: Activated
isPasscodeLocked: NO
deviceType: <DVTDeviceType:0x7fe0eae93470 Xcode.DeviceType.iPhone>
supportedDeviceFamilies: (
1
)
applications: (null)
provisioningProfiles: (null)
activityProgress: -2
activityTitle:
hasInternalSupport: NO
isSupportedOS: YES
developerDiskMountError: (null)
(null)
bootArgs:
} (10.3.3 (14G60))
=== BUILD TARGET WebDriverAgentLib OF PROJECT WebDriverAgent WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET WebDriverAgentRunner OF PROJECT WebDriverAgent WITH CONFIGURATION Debug ===
Check dependencies
MDMCreateDeltaDirectory:1920 calling MDMDirectoryDiff with:
state->old_bundle: /var/folders/mr/lbh2rfw568g5v74x7g7vgx440000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/bac936b78f540f1702001d6edfd4d8a8/51d8c712258a5b0ac63516aa5be9d10014b0c270/WebDriverAgentRunner-Runner.app
state->new_bundle: /Users/menypeled/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app
state->dst_bundle: /var/folders/mr/lbh2rfw568g5v74x7g7vgx440000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/WebDriverAgentRunner-Runner.app.QMwpul/WebDriverAgentRunner-Runner.app_sparse.ipa/Payload//WebDriverAgentRunner-Runner.app, binaryDiff flag: FALSE
dst_ipa: /var/folders/mr/lbh2rfw568g5v74x7g7vgx440000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/WebDriverAgentRunner-Runner.app.QMwpul/WebDriverAgentRunner-Runner.app_sparse.ipa
MDMDirectoryDiff_block_invoke:1473 calling writeDictToFile with: /var/folders/mr/lbh2rfw568g5v74x7g7vgx440000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/WebDriverAgentRunner-Runner.app.QMwpul/WebDriverAgentRunner-Runner.app_sparse.ipa/ManifestCache.plist
writeDictToFile:1278 ==== Successfully wrote Manifest cache to /var/folders/mr/lbh2rfw568g5v74x7g7vgx440000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/WebDriverAgentRunner-Runner.app.QMwpul/WebDriverAgentRunner-Runner.app_sparse.ipa/ManifestCache.plist
2017-08-29 15:44:15.102360+0300 XCTRunner[532:67653] Running tests…
2017-08-29 15:44:15.175752+0300 XCTRunner[532:67653] The bundle “WebDriverAgentRunner” couldn’t be loaded because it is damaged or missing necessary resources. Try reinstalling the bundle.
2017-08-29 15:44:15.175885+0300 XCTRunner[532:67653] (dlopen_preflight(/var/containers/Bundle/Application/78BFBDEA-0E35-45CD-A9DF-461F4E0FA348/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/WebDriverAgentRunner): Library not loaded: @rpath/RoutingHTTPServer.framework/RoutingHTTPServer
Referenced from: /private/var/containers/Bundle/Application/78BFBDEA-0E35-45CD-A9DF-461F4E0FA348/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/WebDriverAgentLib
Reason: no suitable image found. Did find:
/private/var/containers/Bundle/Application/78BFBDEA-0E35-45CD-A9DF-461F4E0FA348/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/RoutingHTTPServer.framework/RoutingHTTPServer: code signature invalid for ‘/private/var/containers/Bundle/Application/78BFBDEA-0E35-45CD-A9DF-461F4E0FA348/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/RoutingHTTPServer.framework/RoutingHTTPServer’
)
2017-08-29 15:44:15.164 xcodebuild[7329:832803] Error Domain=IDETestOperationsObserverErrorDomain Code=6 “Early unexpected exit, operation never finished bootstrapping - no restart will be attempted” UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}
Testing failed:
Test target WebDriverAgentRunner encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted)
** TEST FAILED **
[Meny]: I have tried to trust the app via the iPhone settings in order to avoid it however the error remains.