Not able to run UI Test on real iOS devices

/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets: Error: Tool exited with code: 1. Output: bin/iPhone/Debug/device-builds/iphone7.2-10.2.1/XXXXXXXX.app: a sealed resource is missing or invalid

file modified: /Users/mariogalvan/FishAngler/mobileapp/FishAngler.iOS/bin/iPhone/Debug/device-builds/iphone7.2-10.2.1/FishAngleriOS.app/Frameworks/libswiftCoreAudio.dylib
file modified: /Users/mariogalvan/FishAngler/mobileapp/FishAngler.iOS/bin/iPhone/Debug/device-builds/iphone7.2-10.2.1/FishAngleriOS.app/Frameworks/libswiftCoreData.dylib
file modified: /Users/mariogalvan/FishAngler/mobileapp/FishAngler.iOS/bin/iPhone/Debug/device-builds/iphone7.2-10.2.1/FishAngleriOS.app/Frameworks/libswiftCoreImage.dylib

...

And so... We have included Swift 3, Core, Core Audio, Core Data... to our iOS project, but while we try to run the UI test project using a real device we are getting this error, it seems odd because we are not having the same error using the simulator.

If we delete the bin and obj folders manually from the iOs project we are able to run the UI Test project only once and it does not install the app due to this error:

We have the latest Xamarin.iOS build (and all other updates) and we are using Xamarin UI Test version 2.0.7

Any thoughts on this?

Tagged:
Sign In or Register to comment.