Here's the use case.  Everything is built from source.
Some iOS App
        myFramework.framework
                pjsip.a


Xcode 7.3.x.  iOS 8.x and 9.x

I just noticed that when I try build and run an app that includes my framework 
which includes the pjsip.a lib that is built from source, only when I try and 
build and run on an iOS 8.1 device, do I get an installation error at the end 
of the build and install process where Xcode reports: 

"App installation failed.  A signed resource has been added, modified, or 
deleted."

Signed resources have been added, removed, or modified.

Jun 17 17:12:07 Alex-Zs-iPhone-6 streaming_zip_conduit[184] <Error>: 
0x100384000 __MobileInstallationInstallForLaunchServices_block_invoke240: 
Returned error Error Domain=MIInstallerErrorDomain Code=13 "Failed to verify 
code signature of <MIExecutableBundle : path = 
/private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.MLgDIn/extracted/115
 FW.app/Frameworks/myFramework.framework identifier = com.mycompany.myFramework 
type = 8> : 0xe8008017 (Signed resources have been added, removed, or 
modified)" UserInfo=0x12ce13ae0 {LibMISErrorNumber=-402620393, 
LegacyErrorString=ApplicationVerificationFailed, SourceFileLine=186, 
FunctionName=-[MICodeSigningVerifier performValidationWithError:], 
NSLocalizedDescription=Failed to verify code signature of <MIExecutableBundle : 
path = 
/private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.MLgDIn/extracted/115
 FW.app/Frameworks/myFramework.framework identifier = com.mycompany.myFramework 
type = 8> : 0xe8008017 (Signed resources have been added, removed, or modified)}

** Names of the company and the framework have been changed to protect the 
innocent.

Oddly, this only happens on iOS 8.x, not on iOS 9.

Previously, this (installing an adhoc build or running the app from Xcode) on 
an iOS 8 device worked without a hitch.

One thing I did notice was that the PJSIP project settings were set for iOS 
8.3, but for the life of me, i could not find any target static lib settings 
for where to set the minimum supported version on the .a target lib.    I've 
set the pjSIP project's info deployment target to iOS 8.0, but is there also a 
location to make sure that the target static lib supports iOS 8.0?

With regards to the code signing issue, I'm signing it with a wildcard profile 
and the settings are set to automatic.  

As mentioned, this works fine running and installing ad-hoc to iOS 9.x, but 
reports the above error at the end of the install on iOS 8.1 and wen attempting 
to build to the 8.1 device.

Does this sound only like a code signing issue for the framework, or does it 
also sound like an issue with the minimum supported version of the pjsip static 
lib?


Thanks in advance.  It's going to be a loong weekend.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (Xcode-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to