iOS 重签名后出现 启动闪退现象:error: dyld: Library not loaded: @rpath/libswift_stdlib_core.dylib
开发者通过Xcode工具 用企业证书打包.ipa 包(swiftly),我通过shell脚本替换证书后,出现以上错误。
替换ipa包内容包括(开发证书、描述文件、BUNDLE_ID 、info.list 、.xcent(手工替换));重新打包后,安装到手机上,启动产生crash。
网上答案是:
1,Restart Xcode, then computer and iPhone
2,Go to project build settings and set Embedded Content Contains Swift Code flag to YES
3,Go to project build settings and add @executable_path/Frameworks to Runpath Search Paths option
4,If none of above works, this should. Apple seems to be ninja patched certificates as mentioned in AirSign's post
At InHouse certificates
Subject: UID=269J2W3P2L, CN=iPhone Distribution: Company Name, O=Company Name, C=FR
they added a new field named OU
Subject: UID=269J2W3P2L, CN=iPhone Distribution: Company Name, OU=269J2W3P2L, O=Company Name, C=FR
so you should just recreate certificate and provision
以上答案主要针对Xcode的设置
得知我不能更改企业证书,除非在企业名下。