Appium Doctor shows:
info AppiumDoctor ✔ Carthage was found at: /usr/local/bin/carthage
I also tried manually moving the Carthage folder to the WebDriverAgent folder. When I am in /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/, the ls output shows:
.npmignore
.travis.yml
CONTRIBUTING.md
Cartfile
Cartfile.resolved
Inspector/
LICENSE
PATENTS
PrivateHeaders/
README.md
Resources/
Scripts/
WebDriverAgent.xcodeproj/
WebDriverAgentLib/
WebDriverAgentRunner/
WebDriverAgentTests/
WebDriverAgentUSBClient/
carthage/
myconfig.xcconfig
My .xcconfig file looks identical to @chiwhitesox56's, substituting our DEVELOPMENT_TEAM's value.
I still see the error:
[Xcode] Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the project editor.
Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.2'
When I open the log file from the output, I see the following:
12:42:02.770 xcodebuild[17827:6437112] Beginning test session WebDriverAgentRunner-93092938-1E1E-428D-85A5-D43C2ACCBEE2 at 2017-01-11 12:42:02.768 with Xcode 8C38 on target <DVTiOSDevice: 0x7f8cbdaaf930> {
deviceSerialNumber: CCQJL6X4F4K4
identifier: <UDID>
deviceClass: iPod
deviceName: Appname ipod
deviceIdentifier: <UDID>
productVersion: 9.3.2
buildVersion: 13F69
deviceSoftwareVersion: 9.3.2 (13F69)
deviceArchitecture: armv7f
deviceTotalCapacity: 29255876608
deviceAvailableCapacity: 22654820352
deviceIsTransient: NO
ignored: NO
deviceIsBusy: NO
deviceIsActivated: YES
deviceActivationState: Activated
deviceType: <DVTDeviceType:0x7f8cbd4ee790 Xcode.DeviceType.iPhone>
supportedDeviceFamilies: (
1
)
applications: (null)
provisioningProfiles: (null)
activityProgress: -2
activityTitle:
hasInternalSupport: NO
isSupportedOS: YES
developerDiskMountError: (null)
(null)
} (9.3.2 (13F69))
12:42:02.771 xcodebuild[17827:6437112] /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
build
test
-project
/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj
-scheme
WebDriverAgentRunner
-destination
id=<UDID>
-configuration
Debug
12:42:02.771 xcodebuild[17827:6437112] Launching with Xcode.IDEFoundation.Launcher.PosixSpawn
12:42:02.772 xcodebuild[17827:6437112] Initializing test infrastructure.
12:42:03.011 xcodebuild[17827:6437112] Test operation failure: Test operation was canceled.
12:42:03.011 xcodebuild[17827:6437112] _finishWithError:Error Domain=IDETestOperationsObserverErrorDomain Code=3 "Test operation was canceled." UserInfo={NSLocalizedDescription=Test operation was canceled.} didCancel: 1
I do not understand why it says that the provisioning profile is null? I confirmed with a dev that the device is signed with a provisioning prfile, and also manually copied the list of Provisioning Profiles to ~/Library/MobileDevice/Provisioning Profiles