Forum Xamarin Test Cloud (Read Only)


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Cannot UITest iOS app which also contains an app extension

Lewis_tLewis_t GBUniversity ✭✭

Is there any known problems running ui tests against an iOS application which also contain an app extension project or is there something else i need to do in order to get this to work?

If i remove the reference to my App extension project and remove it from the build configuration everything works correctly and i can run my uitests. However, If i leave the extension enabled i get the following error:

       app: /SRC/Dev/M/Client/Device/iOSUniversal/applicationName.IOS/bin/iPhoneSimulator/Debug/
  identity: #<CodesignIdentity: - : AdHoc>
/usr/bin/xcrun codesign -d --entitlements :- /SRC/Dev/M/Client/Device/iOSUniversal/applicationName.IOS/bin/iPhoneSimulator/Debug/
/usr/bin/xcrun codesign --verbose=4 --verify /SRC/Dev/M/Client/Device/iOSUniversal/applicationName.IOS/bin/iPhoneSimulator/Debug/

device UDID: 83BA8CEC-AE48-40B6-A5B2-35D8FDA84F23
Device UDID: 83BA8CEC-AE48-40B6-A5B2-35D8FDA84F23
ERROR: Error Domain=sh.calaba.iOSDeviceManger Code=5 "Code signing failed" UserInfo={NSLocalizedDescription=Code signing failed, NSLocalizedFailureReason=There was a problem code signing. Please check the logs.}
Path to bundle: /SRC/Dev/M/Client/Device/iOSUniversal/applicationName.IOS/bin/iPhoneSimulator/Debug/
Could not extract entitlements from app:
with command:
-a,--app-bundle <path/to/> Path .app bundle (for .ipas, unzip and look inside of 'Payload')
-c,--codesign-identity [OPTIONAL] Identity used to codesign app bundle [device only] DEFAULT=
-d,--device-id iOS Simulator GUID or 40-digit physical device ID
-u,--update-app [OPTIONAL] When true, will reinstall the app if the device contains an older version than the bundle specified DEFAULT=1
/SRC/Dev/M/Client/Device/iOSUniversal/applicationName.IOS/bin/iPhoneSimulator/Debug/ code object is not signed at all
/SRC/Dev/M/Client/Device/iOSUniversal/applicationName.IOS/bin/iPhoneSimulator/Debug/ code object is not signed at all
=== STDERR ===
=== STDERR ===
Could not find any Provisioning Profiles suitable for resigning
Could not resign app bundle at path:
Error resigning sim bundle


Sign In or Register to comment.