Unit tests bundle with bad code signature (Xc7b6)
Unit tests bundle with bad code signature (Xc7b6)
- Subject: Unit tests bundle with bad code signature (Xc7b6)
- From: Ben Kennedy <email@hidden>
- Date: Fri, 04 Sep 2015 17:24:54 -0700
Hey folks,
I'm trying to get my UT suite running on a physical device, and I'm hitting a wall with Xcode apparently producing an uninstallable test bundle.
Seems Xcode is putting some kind of .xctestconfiguration file into the .xctest bundle after code-signing it, thereby rendering it invalid; when I try to run tests on device, it never launches (alert saying "App installation failed. The application does not have a valid signature.").
This is confirmed using `codesign -v`:
> retinafey:Kashoo ben$ codesign -vv ./build/Kashoo/Build/Products/Development-iphoneos/KashooLogicTestsDev.xctest
> /Users/ben/Documents/Kashoo-iPad/Kashoo/build/Kashoo/Build/Products/Development-iphoneos/KashooLogicTestsDev.xctest: a sealed resource is missing or invalid
> file added: /Users/ben/Documents/Kashoo-iPad/Kashoo/build/Kashoo/Build/Products/Development-iphoneos/KashooLogicTestsDev.xctest/KashooLogicTestsDev-35241011-6B88-46C6-8617-DAC1C18B965E.xctestconfiguration
If I delete the .xctestconfiguration file, `codesign -v` then passes. Of course, it's too late at this point.
Any tips?
thanks,
b
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden