我們擁有由其他開發人員用其證書開發的IPA文件。重新簽署IPA文件
我們正在嘗試重新簽署使用其他開發人員證書構建和分發的IPA。如果您之前完成了此操作,或者對此有任何想法,請告訴我。
嘗試了以下鏈接中提到的一些解決方案,但是我們能夠生成IPA,但無法將其安裝到設備中。
我們正在用iOS 8試用它。Mac 10.10。
我們擁有由其他開發人員用其證書開發的IPA文件。重新簽署IPA文件
我們正在嘗試重新簽署使用其他開發人員證書構建和分發的IPA。如果您之前完成了此操作,或者對此有任何想法,請告訴我。
嘗試了以下鏈接中提到的一些解決方案,但是我們能夠生成IPA,但無法將其安裝到設備中。
我們正在用iOS 8試用它。Mac 10.10。
之間
重新簽名是一個多步驟的過程,每一步都會產生錯誤。所以請耐心等待,並嘗試瞭解每一步。
# Start with files:
# .ipa-file 'MyApp.ipa'
# New provisioning profile 'profile.mobileprovision'
# Unpack the .ipa-file
unzip MyApp.ipa
# Extract the old entitlements from the binary
codesign -d --entitlements :- Payload/MyApp.app > entitlements_old.plist
# Extract the new entitlements from the provisioning profile
security cms -D -i profile.mobileprovision > profile.plist
/usr/libexec/PlistBuddy -x -c 'Print :Entitlements' profile.plist > entitlements.plist
現在有編輯entitlements.plist
所以application-identifier
是正確的手動工序。請參考entitlements_old.plist
作爲參考,但請注意,值的開始處的團隊標識符應該不同。
# Then replace the embedded provisioning profile
cp profile.mobileprovision Payload/MyApp.app/embedded.mobileprovision
# Re-sign the binary and update entitlements
#
# Note: replace "Firstname Lastname (TEAMID123)"
# with your certificate name
#
codesign -f -s "Firstname Lastname (TEAMID123)" \
--entitlements entitlements.plist \
Payload/MyApp.app
# Create ipa
zip -r MyApp2.ipa Payload/
不幸的是,出現錯誤時的錯誤信息並沒有提供任何有關錯誤的特殊信息。但它可能是:
是對臨時輪廓添加 –