I need help in appium configuration for IOS setting Trying to follow module 11 in appium training | Appium Training|Appium tutorials

Appium Training Forum

I need help in appium configuration for IOS setting Trying to follow module 11 in appium training

M
Manju Bansal Post on 29/10/2018

HI Aditya 
I am following the appium module 11  Part 4(Passcode : 7895)  I am not getting the same result what you were getting I have copy as actual result what I am getting. Can you help me what can be the issue?
 
After running command 
 WebDriverAgent manjujain$ xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner  -destination id='31f179c168c9afe077baac2494b19b5cab147290' test
 
 
Actual result -
==============================================
note: Using new build system
note: Planning build
note: Constructing build description
CreateBuildDirectory /Users/manjujain/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products (in target: WebDriverAgentLib)
    cd /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
    builtin-create-build-directory /Users/manjujain/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products
 
CreateBuildDirectory /Users/manjujain/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Intermediates.noindex (in target: WebDriverAgentLib)
    cd /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
    builtin-create-build-directory /Users/manjujain/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Intermediates.noindex
 
ProcessInfoPlistFile /Users/manjujain/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphoneos/WebDriverAgentLib.framework/Info.plist /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentLib/Info.plist (in target: WebDriverAgentLib)
    cd /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
    builtin-infoPlistUtility /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentLib/Info.plist -expandbuildsettings -format binary -platform iphoneos -requiredArchitecture arm64 -o /Users/manjujain/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphoneos/WebDriverAgentLib.framework/Info.plist
 
ProcessProductPackaging "" /Users/manjujain/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Intermediates.noindex/WebDriverAgent.build/Debug-iphoneos/IntegrationApp.build/IntegrationApp.app.xcent (in target: IntegrationApp)
    cd /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent

    

 
Entitlements:
 
{
    "application-identifier" = "ZG54MN69VM.com.facebook.DemoIntegrationApp";
    "com.apple.developer.team-identifier" = ZG54MN69VM;
    "get-task-allow" = 1;
    "keychain-access-groups" =     (
        "ZG54MN69VM.com.facebook.DemoIntegrationApp"
    );
}
 
 
    builtin-productPackagingUtility -entitlements -format xml -o /Users/manjujain/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Intermediates.noindex/WebDriverAgent.build/Debug-iphoneos/IntegrationApp.build/IntegrationApp.app.xcent
 
ProcessProductPackaging "" /Users/manjujain/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Intermediates.noindex/WebDriverAgent.build/Debug-iphoneos/WebDriverAgentRunner.build/WebDriverAgentRunner.xctest.xcent (in target: WebDriverAgentRunner)
    cd /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent

    

 
Entitlements:
 
{
    "application-identifier" = "ZG54MN69VM.com.facebook.DemoWebDriverAgentRunner";
    "com.apple.developer.team-identifier" = ZG54MN69VM;
    "get-task-allow" = 1;
    "keychain-access-groups" =     (
        "ZG54MN69VM.com.facebook.DemoWebDriverAgentRunner"
    );
}
 
 
    builtin-productPackagingUtility -entitlements -format xml -o /Users/manjujain/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Intermediates.noindex/WebDriverAgent.build/Debug-iphoneos/WebDriverAgentRunner.build/WebDriverAgentRunner.xctest.xcent
 
ProcessInfoPlistFile /Users/manjujain/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphoneos/IntegrationApp.app/Info.plist /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentTests/IntegrationApp/Info.plist (in target: IntegrationApp)
    cd /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
    builtin-infoPlistUtility /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentTests/IntegrationApp/Info.plist -genpkginfo /Users/manjujain/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphoneos/IntegrationApp.app/PkgInfo -expandbuildsettings -format binary -platform iphoneos -additionalcontentfile /Users/manjujain/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Intermediates.noindex/WebDriverAgent.build/Debug-iphoneos/IntegrationApp.build/Base.lproj/Main-SBPartialInfo.plist -additionalcontentfile /Users/manjujain/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Intermediates.noindex/WebDriverAgent.build/Debug-iphoneos/IntegrationApp.build/assetcatalog_generated_info.plist -requiredArchitecture arm64 -o /Users/manjujain/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphoneos/IntegrationApp.app/Info.plist
 
CodeSign /Users/manjujain/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphoneos/IntegrationApp.app (in target: IntegrationApp)
    cd /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
    export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate

    

Signing Identity:     "iPhone Developer: manjujain@gmail.com (6DD4PJT963)"
Provisioning Profile: "iOS Team Provisioning Profile: com.facebook.DemoIntegrationApp"
                      (f8e666cb-182c-48a4-9e53-8e963ab2635a)
 
    /usr/bin/codesign --force --sign 6D5F42919E5D1EE23D7238FC002FD0BB01A15B45 --entitlements /Users/manjujain/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Intermediates.noindex/WebDriverAgent.build/Debug-iphoneos/IntegrationApp.build/IntegrationApp.app.xcent --timestamp=none /Users/manjujain/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphoneos/IntegrationApp.app
/Users/manjujain/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphoneos/IntegrationApp.app: replacing existing signature
/Users/manjujain/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphoneos/IntegrationApp.app: errSecInternalComponent
Command CodeSign failed with a nonzero exit code
 
2018-10-28 23:05:19.366 xcodebuild[48135:885195]  DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks_Fall2018/IDEFrameworks-14320.25/IDEFoundation/Logging/ActivityLog/IDEActivityLogSectionRecorder.m:1050
Details:  log recorder was sent -stopRecordingWithInfo:completionBlock: after it had already been asked to stop recording.
Object:   <IDEActivityLogSectionRecorder: 0x7fcd2f7f98e0>
Method:   -stopRecordingWithInfo:completionBlock:
Thread:   <NSThread: 0x7fcd2f7891b0>{number = 9, name = (null)}
Please file a bug at https://bugreport.apple.com with this warning message and any useful information you can provide.
 
Testing failed:
Command CodeSign failed with a nonzero exit code
Testing cancelled because the build failed.
** TEST FAILED **
 
 
The following build commands failed:
CodeSign /Users/manjujain/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphoneos/IntegrationApp.app
(1 failure)
Manjus-MacBook-Pro:WebDriverAgent manjujain$